Function at 0x438160
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3d05
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x4c9860]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xa8], 0
push 0xb
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x4b401c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.0040c0d0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x70]
mov dword [ebp - 0xac], VariantCopy
call fcn.004360e0
mov esi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
call fcn.00430c60
mov byte [ebp - 4], 3
push esi
mov edx, eax
lea ecx, [ebp - 0x58]
call fcn.00421140
add esp, 4
mov esi, eax
mov byte [ebp - 4], 4
call fcn.0041e610
push 0
lea eax, [ebp - 0x28]
push eax
push esi
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0044f320
mov byte [ebp - 4], 6
cmp dword [ebp - 0x44], 8
jb 0x438244
push dword [ebp - 0x58]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 7
cmp dword [ebp - 0x74], 8
jb 0x438270
push dword [ebp - 0x88]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x5c], 8
jb 0x43829c
push dword [ebp - 0x70]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 9
cmp dword [ebp - 0x14], 8
jb 0x4382c5
push dword [ebp - 0x28]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp dword [ebp - 0x30], eax
jne 0x4386bb
push 0xb
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
push 0x4b401c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
call fcn.0040c0d0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xac], reloc.OLEAUT32.dll_SysReAllocString
call fcn.004360e0
mov esi, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x58]
call fcn.00430c60
mov byte [ebp - 4], 0xc
push esi
mov edx, eax
lea ecx, [ebp - 0x88]
call fcn.00421140
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0xd
call fcn.0041e610
push 0
lea eax, [ebp - 0x28]
push eax
push esi
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0044f320
mov esi, eax
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x4383e8
cmp dword [ebp - 0x2c], 8
jb 0x438381
push dword [ebp - 0x40]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp dword [esi + 0x14], 8
jae 0x4383b3
mov eax, dword [esi + 0x10]
inc eax
je 0x4383c9
add eax, eax
push eax
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.0047d010
add esp, 0xc
jmp 0x4383c9
push esi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xa1]
call fcn.0040bb50
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x5c], 8
jb 0x4383fd
push dword [ebp - 0x70]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x74], 8
jb 0x438429
push dword [ebp - 0x88]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x44], 8
jb 0x438455
push dword [ebp - 0x58]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x8c], 8
jb 0x438484
push dword [ebp - 0xa0]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
mov byte [ebp - 4], 9
cmp dword [ebp - 0x14], 8
jb 0x4384b6
push dword [ebp - 0x28]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp dword [ebp - 0x30], eax
jne 0x4386bb
push 0xb
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
push 0x4b401c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
call fcn.0040c0d0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x58]
mov dword [ebp - 0xac], reloc.OLEAUT32.dll_SysReAllocString
call fcn.004360e0
mov esi, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x88]
call fcn.00430f80
mov byte [ebp - 4], 0x11
push esi
mov edx, eax
lea ecx, [ebp - 0x70]
call fcn.00421140
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0x12
call fcn.0041e610
push 0
lea eax, [ebp - 0x28]
push eax
push esi
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.0044f320
mov esi, eax
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x4385d9
cmp dword [ebp - 0x2c], 8
jb 0x438572
push dword [ebp - 0x40]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp dword [esi + 0x14], 8
jae 0x4385a4
mov eax, dword [esi + 0x10]
inc eax
je 0x4385ba
add eax, eax
push eax
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.0047d010
add esp, 0xc
jmp 0x4385ba
push esi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xa1]
call fcn.0040bb50
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x8c], 8
jb 0x4385f4
push dword [ebp - 0xa0]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x5c], 8
jb 0x438626
push dword [ebp - 0x70]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x74], 8
jb 0x438652
push dword [ebp - 0x88]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x44], 8
jb 0x43867e
push dword [ebp - 0x58]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 9
cmp dword [ebp - 0x14], 8
jb 0x4386a7
push dword [ebp - 0x28]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x88]
call fcn.00434160
mov byte [ebp - 4], 0x14
push eax
mov edx, 0x4b3f78
lea ecx, [ebp - 0x70]
call fcn.00422440
add esp, 4
mov byte [ebp - 4], 0x15
push eax
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0xa0]
call fcn.0042cd90
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x43872c
cmp dword [ebp - 0x2c], 8
jb 0x43870f
push dword [ebp - 0x40]
call fcn.0047cf40
add esp, 4
xor eax, eax
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.0040c240
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x8c], 8
jb 0x438747
push dword [ebp - 0xa0]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x5c], 8
jb 0x438779
push dword [ebp - 0x70]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 9
cmp dword [ebp - 0x74], 8
jb 0x4387a5
push dword [ebp - 0x88]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
cmp dword [ebp - 0x30], eax
je 0x43881c
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
je 0x43881c
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
call fcn.0040bd60
lea esi, [ebp - 0x58]
mov byte [ebp - 4], 0x17
mov ebx, 1
jmp 0x43885b
xor eax, eax
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x4b33dc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.0040c0d0
lea esi, [ebp - 0x28]
mov dword [ebp - 4], 0x18
mov ebx, 2
mov dword [ebp - 0xa8], ebx
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [esi + 0x14], 8
jae 0x43888f
mov eax, dword [esi + 0x10]
inc eax
je 0x4388a2
add eax, eax
push eax
push esi
push edi
call fcn.0047d010
add esp, 0xc
jmp 0x4388a2
push esi
push edi
lea ecx, [ebp - 0xa1]
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
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
or ebx, 4
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 4], 0x17
test bl, 2
je 0x438904
and ebx, 0xfffffffd
mov dword [ebp - 0xa8], ebx
cmp dword [ebp - 0x14], 8
jb 0x4388f0
push dword [ebp - 0x28]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 9
test bl, 1
je 0x43893e
and ebx, 0xfffffffe
mov dword [ebp - 0xa8], ebx
cmp dword [ebp - 0x44], 8
jb 0x43892a
push dword [ebp - 0x58]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 0
cmp dword [ebp - 0x2c], 8
jb 0x438953
push dword [ebp - 0x40]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], 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 - 0x10]
xor ecx, ebp
call fcn.0047cf45
mov esp, ebp
pop ebp
ret