Function at 0x438990
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3e92
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x4c9860]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0xb4], edi
mov dword [ebp - 0xac], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
xor eax, eax
mov word [ebp - 0x2c], ax
push 0xb
push 0x4b401c
lea ecx, [ebp - 0x2c]
call fcn.0040c0d0
mov dword [ebp - 4], 1
mov dword [ebp - 0xb0], VariantCopy
lea ecx, [ebp - 0x74]
call fcn.00436270
mov esi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call fcn.00430c60
mov byte [ebp - 4], 3
push esi
mov edx, eax
lea ecx, [ebp - 0x5c]
call fcn.00421140
add esp, 4
mov esi, eax
mov byte [ebp - 4], 4
call fcn.0041e610
push 0
lea eax, [ebp - 0x2c]
push eax
push esi
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0044f320
mov byte [ebp - 4], 6
cmp dword [ebp - 0x48], 8
jb 0x438a77
push dword [ebp - 0x5c]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
xor eax, eax
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], 7
cmp dword [ebp - 0x78], 8
jb 0x438aa3
push dword [ebp - 0x8c]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x78], 7
mov dword [ebp - 0x7c], 0
xor eax, eax
mov word [ebp - 0x8c], ax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x60], 8
jb 0x438acf
push dword [ebp - 0x74]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], 0
xor eax, eax
mov word [ebp - 0x74], ax
mov byte [ebp - 4], 9
cmp dword [ebp - 0x18], 8
jb 0x438af8
push dword [ebp - 0x2c]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
xor eax, eax
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], eax
jne 0x438eee
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], ax
push 0xb
push 0x4b401c
lea ecx, [ebp - 0x2c]
call fcn.0040c0d0
mov byte [ebp - 4], 0xa
mov dword [ebp - 0xb0], reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0xa4]
call fcn.00436270
mov esi, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x5c]
call fcn.00430c60
mov byte [ebp - 4], 0xc
push esi
mov edx, eax
lea ecx, [ebp - 0x8c]
call fcn.00421140
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0xd
call fcn.0041e610
push 0
lea eax, [ebp - 0x2c]
push eax
push esi
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.0044f320
mov esi, eax
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x44]
cmp eax, esi
je 0x438c1b
cmp dword [ebp - 0x30], 8
jb 0x438bb4
push dword [ebp - 0x44]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
xor eax, eax
mov word [ebp - 0x44], ax
cmp dword [esi + 0x14], 8
jae 0x438be6
mov eax, dword [esi + 0x10]
inc eax
je 0x438bfc
add eax, eax
push eax
push esi
lea eax, [ebp - 0x44]
push eax
call fcn.0047d010
add esp, 0xc
jmp 0x438bfc
push esi
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0xa5]
call fcn.0040bb50
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x30], eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
xor eax, eax
mov word [esi], ax
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x60], 8
jb 0x438c30
push dword [ebp - 0x74]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], 0
xor eax, eax
mov word [ebp - 0x74], ax
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x78], 8
jb 0x438c5c
push dword [ebp - 0x8c]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x78], 7
mov dword [ebp - 0x7c], 0
xor eax, eax
mov word [ebp - 0x8c], ax
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x48], 8
jb 0x438c88
push dword [ebp - 0x5c]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
xor eax, eax
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x90], 8
jb 0x438cb7
push dword [ebp - 0xa4]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x90], 7
mov dword [ebp - 0x94], 0
xor eax, eax
mov word [ebp - 0xa4], ax
mov byte [ebp - 4], 9
cmp dword [ebp - 0x18], 8
jb 0x438ce9
push dword [ebp - 0x2c]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
xor eax, eax
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], eax
jne 0x438eee
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], ax
push 0xb
push 0x4b401c
lea ecx, [ebp - 0x2c]
call fcn.0040c0d0
mov byte [ebp - 4], 0xf
mov dword [ebp - 0xb0], reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x5c]
call fcn.00436270
mov esi, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x8c]
call fcn.00430f80
mov byte [ebp - 4], 0x11
push esi
mov edx, eax
lea ecx, [ebp - 0x74]
call fcn.00421140
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0x12
call fcn.0041e610
push 0
lea eax, [ebp - 0x2c]
push eax
push esi
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.0044f320
mov esi, eax
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x44]
cmp eax, esi
je 0x438e0c
cmp dword [ebp - 0x30], 8
jb 0x438da5
push dword [ebp - 0x44]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
xor eax, eax
mov word [ebp - 0x44], ax
cmp dword [esi + 0x14], 8
jae 0x438dd7
mov eax, dword [esi + 0x10]
inc eax
je 0x438ded
add eax, eax
push eax
push esi
lea eax, [ebp - 0x44]
push eax
call fcn.0047d010
add esp, 0xc
jmp 0x438ded
push esi
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0xa5]
call fcn.0040bb50
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x30], eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
xor eax, eax
mov word [esi], ax
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x90], 8
jb 0x438e27
push dword [ebp - 0xa4]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x90], 7
mov dword [ebp - 0x94], 0
xor eax, eax
mov word [ebp - 0xa4], ax
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x60], 8
jb 0x438e59
push dword [ebp - 0x74]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], 0
xor eax, eax
mov word [ebp - 0x74], ax
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x78], 8
jb 0x438e85
push dword [ebp - 0x8c]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x78], 7
mov dword [ebp - 0x7c], 0
xor eax, eax
mov word [ebp - 0x8c], ax
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x48], 8
jb 0x438eb1
push dword [ebp - 0x5c]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
xor eax, eax
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], 9
cmp dword [ebp - 0x18], 8
jb 0x438eda
push dword [ebp - 0x2c]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
xor eax, eax
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 0x14
push 1
push ecx
push 0x4b3f78
lea ecx, [ebp - 0x44]
call fcn.0041efb0
cmp eax, 0xffffffff
je 0x438f35
push eax
push 0
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x44]
call fcn.0041ce70
mov byte [ebp - 4], 0x15
push eax
lea ecx, [ebp - 0x44]
call fcn.00402a20
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xa4]
call fcn.0040c340
mov dword [ebp - 4], 9
jmp 0x438f5e
cmp dword [ebp - 0x34], 0
je 0x438fbf
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
je 0x438fbf
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
xor eax, eax
mov word [ebp - 0x5c], ax
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040bd60
lea esi, [ebp - 0x5c]
mov byte [ebp - 4], 0x17
mov ebx, 1
jmp 0x438ffe
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
xor eax, eax
mov word [ebp - 0x2c], ax
push eax
push 0x4b33dc
lea ecx, [ebp - 0x2c]
call fcn.0040c0d0
lea esi, [ebp - 0x2c]
mov dword [ebp - 4], 0x18
mov ebx, 2
mov dword [ebp - 0xac], ebx
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
xor eax, eax
mov word [edi], ax
cmp dword [esi + 0x14], 8
jae 0x439032
mov eax, dword [esi + 0x10]
inc eax
je 0x439045
add eax, eax
push eax
push esi
push edi
call fcn.0047d010
add esp, 0xc
jmp 0x439045
push esi
push edi
lea ecx, [ebp - 0xa5]
call fcn.0040bb50
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
xor eax, eax
mov word [esi], ax
or ebx, 4
mov dword [ebp - 0xac], ebx
mov dword [ebp - 4], 0x17
test bl, 2
je 0x4390a7
and ebx, 0xfffffffd
mov dword [ebp - 0xac], ebx
cmp dword [ebp - 0x18], 8
jb 0x439093
push dword [ebp - 0x2c]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
xor eax, eax
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], 9
test bl, 1
je 0x4390e1
and ebx, 0xfffffffe
mov dword [ebp - 0xac], ebx
cmp dword [ebp - 0x48], 8
jb 0x4390cd
push dword [ebp - 0x5c]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
xor eax, eax
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], 0
cmp dword [ebp - 0x30], 8
jb 0x4390f6
push dword [ebp - 0x44]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
xor eax, eax
mov word [ebp - 0x44], ax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047cf45
mov esp, ebp
pop ebp
ret