Function at 0x1000df50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1005e096
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x10071430]
xor eax, esp
mov dword [esp + 0x2c8], eax
push ebx
push esi
push edi
mov eax, dword [0x10071430]
xor eax, esp
push eax
lea eax, [esp + 0x2e0]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], ebx
cmp ebx, esi
je 0x1000e2f6
cmp dword [eax + 0x10], esi
je 0x1000dfd7
cmp dword [eax + 0xb8], esi
je 0x1000dfbf
mov eax, 0xe00e2002
jmp 0x1000e751
cmp dword [eax + 0xb4], esi
jne 0x1000e29a
cmp dword [eax + 0xb0], esi
jne 0x1000e29a
add eax, 0xfffffff8
mov edi, eax
mov dword [esp + 0x4c], eax
call fcn.1000ebd0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
push ebx
mov dword [esp + 0xcc], ebx
call ecx
mov dword [esp + 0x2e8], esi
or eax, 0xffffffff
mov dword [esp + 0x48], esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x14], esi
mov byte [esp + 0x2e8], 3
mov edx, dword [esp + 0x24]
cmp dword [edx + 0x10], esi
jne 0x1000e1ec
mov eax, dword [ebx]
mov edx, dword [eax + 0x10]
lea ecx, [esp + 0x48]
push ecx
push ebx
call edx
mov edi, eax
cmp edi, esi
je 0x1000e04d
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x1000e727
mov edx, dword [ebx]
mov ecx, dword [edx + 0x20]
lea eax, [esp + 0x2c]
push eax
push esi
push ebx
call ecx
mov edi, eax
cmp edi, esi
je 0x1000e094
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edx, dword [esp + 0x14]
push edx
call esi
mov eax, dword [esp + 0x18]
push eax
call esi
mov ecx, dword [esp + 0x1c]
push ecx
call esi
mov dword [esp + 0x2e8], 0xffffffff
mov edx, dword [ebx]
mov eax, dword [edx + 8]
push ebx
call eax
jmp 0x1000e74f
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x1c]
push eax
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x48]
mov dword [esp + 0x48], esi
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x14]
push edx
push ebx
call eax
mov edi, eax
cmp edi, esi
je 0x1000e0f2
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [esp + 0x14]
push ecx
call esi
mov edx, dword [esp + 0x18]
push edx
call esi
mov eax, dword [esp + 0x1c]
push eax
call esi
mov dword [esp + 0x2e8], 0xffffffff
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
push ebx
call edx
jmp 0x1000e74f
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov edx, ecx
and edx, eax
or edi, 0xffffffff
cmp edx, edi
je 0x1000e1ec
cmp eax, esi
ja 0x1000e14b
jb 0x1000e117
cmp ecx, 0x400
jae 0x1000e14b
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call esi
mov ecx, dword [esp + 0x18]
push ecx
call esi
mov edx, dword [esp + 0x1c]
push edx
call esi
mov dword [esp + 0x2e8], edi
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
mov eax, 0xe00e2003
jmp 0x1000e751
cmp dword [esp + 0x38], esi
je 0x1000e1ec
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000e198
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call esi
mov ecx, dword [esp + 0x18]
push ecx
call esi
mov edx, dword [esp + 0x1c]
push edx
call esi
mov dword [esp + 0x2e8], edi
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
mov eax, 0x80004005
jmp 0x1000e751
mov ecx, dword [esp + 0x14]
call fcn.100132d0
mov edx, dword [esp + 0x30]
add eax, 0x400
cmp edx, esi
ja 0x1000e1ec
jb 0x1000e1b8
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
jae 0x1000e1ec
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edx
call esi
mov eax, dword [esp + 0x18]
push eax
call esi
mov ecx, dword [esp + 0x1c]
push ecx
call esi
mov dword [esp + 0x2e8], edi
mov edx, dword [ebx]
mov eax, dword [edx + 8]
push ebx
call eax
mov eax, 0xe00e2003
jmp 0x1000e751
mov edx, dword [esp + 0x24]
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x1c]
add edx, 0x88
push edx
push ebx
call eax
mov edi, eax
cmp edi, esi
jne 0x1000e0bf
mov dword [esp + 0x20], esi
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x2ec], 4
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x30], esi
mov eax, dword [ebx]
mov edx, dword [eax + 0x2c]
push ecx
push ebx
call edx
mov edi, eax
cmp edi, esi
jne 0x1000e6da
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0xc]
cmp eax, esi
je 0x1000e254
mov ecx, 1
mov dword [esp + 0x28], ecx
jmp 0x1000e258
mov ecx, dword [esp + 0x28]
cmp dword [edi + 0x10], esi
je 0x1000e2a4
cmp eax, esi
jne 0x1000e2a4
cmp ecx, esi
je 0x1000e2a4
mov eax, dword [esp + 0x20]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call esi
mov ecx, dword [esp + 0x14]
push ecx
call esi
mov edx, dword [esp + 0x18]
push edx
call esi
mov eax, dword [esp + 0x1c]
push eax
call esi
mov dword [esp + 0x2e8], 0xffffffff
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
push ebx
call edx
mov eax, 0xe00e2001
jmp 0x1000e751
cmp dword [esp + 0x54], esi
jne 0x1000e2b2
cmp ecx, esi
je 0x1000e40b
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jne 0x1000e300
mov ecx, dword [esp + 0x20]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
call esi
mov eax, dword [esp + 0x18]
push eax
call esi
mov ecx, dword [esp + 0x1c]
push ecx
call esi
mov dword [esp + 0x2e8], 0xffffffff
mov edx, dword [ebx]
mov eax, dword [edx + 8]
push ebx
call eax
mov eax, 0x80070057
jmp 0x1000e751
push 0x24
call fcn.1004846c
add esp, 4
cmp eax, esi
je 0x1000e315
call fcn.100034b0
jmp 0x1000e317
xor eax, eax
sub edi, 0xffffff80
mov esi, eax
mov dword [esp + 0x38], edi
call fcn.10011a20
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
mov edx, dword [esp + 0x20]
mov edi, dword [edi]
push eax
push edx
push edi
call fcn.100188c0
xor esi, esi
cmp dword [esp + 0x28], esi
je 0x1000e40b
mov dword [esp + 0x5c], vtable.NKZ::CBuffer_unsigned_char_.0
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov byte [esp + 0x2e8], 5
mov ebx, dword [esp + 0x24]
mov ecx, dword [ebx + 0xc]
cmp ecx, esi
je 0x1000e378
lea eax, [esp + 0x5c]
call fcn.100133f0
jmp 0x1000e397
mov edi, 8
lea esi, [esp + 0x5c]
call fcn.100039d0
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
push eax
push ecx
call fcn.10018d30
xor esi, esi
push 0x20
call fcn.1004846c
mov edi, eax
add esp, 4
mov dword [esp + 0x24], edi
mov byte [esp + 0x2e8], 6
cmp edi, esi
je 0x1000e3be
push edi
call fcn.100034d0
mov dword [edi + 0x1c], esi
jmp 0x1000e3c0
xor edi, edi
add ebx, 0x84
mov byte [esp + 0x2e8], 5
call fcn.100038a0
mov edx, dword [esp + 0x38]
mov esi, dword [edx]
mov edi, dword [ebx]
call fcn.10018a50
mov eax, dword [esp + 0x60]
mov ebx, dword [ebx]
mov esi, dword [esp + 0x64]
push eax
mov ecx, esi
mov eax, ebx
call fcn.10018a80
push esi
mov byte [esp + 0x2ec], 4
call fcn.1004852e
mov ebx, dword [esp + 0x40]
add esp, 4
xor esi, esi
push 0x206
lea edx, [esp + 0xd2]
xor ecx, ecx
push esi
push edx
mov word [esp + 0xd8], cx
call fcn.1004c5f0
mov eax, dword [ebx]
mov edx, dword [eax + 0x54]
add esp, 0xc
push 0x104
lea ecx, [esp + 0xd0]
push ecx
push ebx
call edx
mov edi, eax
cmp edi, esi
jne 0x1000e6da
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], esi
mov eax, dword [ebx]
mov edx, dword [eax + 0x28]
push ecx
push ebx
call edx
mov edi, eax
cmp edi, esi
jne 0x1000e6da
mov eax, dword [ebx]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x58]
push ecx
push ebx
mov dword [esp + 0x60], esi
call edx
mov edi, eax
cmp edi, esi
jne 0x1000e6da
push 0x40
lea eax, [esp + 0x70]
push esi
push eax
call fcn.1004c5f0
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0xd8]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x64]
sub esp, 0x10
mov dword [esp + 0xb0], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xa8], eax
mov eax, 0x1006b710
mov ecx, esp
mov dword [esp + 0xbc], edx
mov dword [esp + 0x58], esp
call fcn.1000a170
push esi
lea edi, [esp + 0xa8]
mov ecx, ebx
call fcn.1000ddc0
mov edi, eax
add esp, 0x20
cmp edi, esi
jne 0x1000e64f
mov dword [esp + 0x24], esi
mov byte [esp + 0x2e8], 7
mov eax, dword [esp + 0x88]
cmp eax, esi
jne 0x1000e560
mov dword [esp + 0x84], esi
jmp 0x1000e5f6
push 0x100732c0
push eax
call fcn.10048539
mov edi, eax
add esp, 8
mov dword [esp + 0x24], edi
cmp edi, esi
jne 0x1000e5c0
lea esi, [esp + 0x24]
call fcn.10005cc0
mov ecx, dword [esp + 0x20]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
call esi
mov eax, dword [esp + 0x18]
push eax
call esi
mov ecx, dword [esp + 0x1c]
push ecx
call esi
mov dword [esp + 0x2e8], 0xffffffff
mov edx, dword [ebx]
mov eax, dword [edx + 8]
push ebx
call eax
mov eax, 0x8007000e
jmp 0x1000e751
sub esp, 0x1c
mov eax, 0x1006b710
mov ecx, esp
mov dword [esp + 0x58], esp
call fcn.1000a170
push edi
lea edi, [esp + 0xa8]
mov ecx, ebx
call fcn.1000ddc0
mov edi, eax
add esp, 0x20
cmp edi, esi
jne 0x1000e646
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x84], ecx
lea ecx, [esp + 0xac]
call fcn.10011a80
mov byte [esp + 0x2e8], 8
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x3c]
push edx
mov edx, dword [esp + 0x54]
lea eax, [esp + 0xb0]
push eax
mov eax, dword [esp + 0x54]
push ecx
push ebx
push edx
push eax
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
call fcn.1000e780
mov edi, eax
cmp edi, esi
je 0x1000e661
lea ecx, [esp + 0xac]
call fcn.10011af0
lea esi, [esp + 0x24]
call fcn.10005cc0
mov ecx, dword [esp + 0x20]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ecx
call esi
jmp 0x1000e067
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], ecx
cmp dword [esp + 0x48], esi
je 0x1000e68a
lea edx, [esp + 0xac]
push edx
call fcn.10011b10
mov ecx, dword [esp + 0x40]
mov eax, dword [ebx]
mov edx, dword [eax + 0x38]
push ecx
push edi
push ebx
call edx
mov edi, eax
cmp edi, esi
jne 0x1000e6c5
mov eax, dword [esp + 0x2c]
and eax, dword [esp + 0x30]
cmp eax, 0xffffffff
jne 0x1000e6ec
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0xac]
push ecx
push edx
mov ecx, ebx
lea edx, [esp + 0x74]
call fcn.1000f250
mov edi, eax
lea ecx, [esp + 0xac]
call fcn.10011af0
lea esi, [esp + 0x24]
call fcn.10005cc0
mov eax, dword [esp + 0x20]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call esi
jmp 0x1000e0c5
mov ecx, dword [esp + 0x4c]
push ebx
lea eax, [esp + 0xb0]
push eax
push ecx
lea ecx, [esp + 0x78]
call fcn.10010750
lea ecx, [esp + 0xac]
mov edi, eax
call fcn.10011af0
lea esi, [esp + 0x24]
call fcn.10005cc0
mov edx, dword [esp + 0x20]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edx
call esi
mov eax, dword [esp + 0x14]
push eax
call esi
mov ecx, dword [esp + 0x18]
push ecx
call esi
mov edx, dword [esp + 0x1c]
push edx
call esi
mov dword [esp + 0x2e8], 0xffffffff
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
mov eax, edi
mov ecx, dword [esp + 0x2e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c8]
xor ecx, esp
call fcn.10047eba
mov esp, ebp
pop ebp
ret 8