Function at 0x43de16
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x586b50
call fcn.00510ecc
sub esp, 0x38
push esi
push edi
push dword [ebp + 8]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, ecx
call edi
test eax, eax
jne 0x43de3e
push 0xfffffffffffffffe
pop eax
jmp 0x43e045
push dword [ebp + 0xc]
call edi
test eax, eax
je 0x43de64
push dword [esi + 8]
push dword [ebp + 0xc]
push dword [esi + 4]
call fcn.00449244
add esp, 0xc
test eax, eax
jge 0x43de64
or eax, 0xffffffff
jmp 0x43e045
push ebx
mov ebx, 0x59e2ec
xor edi, edi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], edi
push 0x8000000
push 3
push 1
push SysReAllocString
push dword [ebp + 8]
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.0042b3cc
test eax, eax
je 0x43dea4
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], 1
or esi, 0xffffffff
jmp 0x43e03a
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], edi
push 0x80
push 2
push 2
push 0x40000000
push dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0042b3cc
test eax, eax
je 0x43deed
mov dword [ebp - 0x1c], ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.0042b46d
mov dword [ebp - 0x1c], 0x59e2c0
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], 4
jmp 0x43de9c
lea ecx, [ebp - 0x24]
call fcn.0042b49c
mov ecx, dword [esi + 0xc]
push edi
mov dword [ecx + 0x128], eax
mov dword [ecx + 0x12c], edx
mov eax, dword [esi + 0xc]
mov ecx, esi
mov dword [eax + 0x130], edi
mov dword [eax + 0x134], edi
call fcn.0043e77b
push 0x400008
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], 0x59d474
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
call fcn.00411068
mov byte [ebp - 4], 5
xor ebx, ebx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov eax, dword [esi + 8]
cmp dword [eax], edi
jne 0x43dfbc
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x24]
push eax
push 0x400000
push dword [ebp - 0x3c]
mov dword [ebp - 0x10], edi
call fcn.0042b5af
cmp eax, 0xffffffff
je 0x43dfc1
cmp eax, 1
je 0x43dfc6
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push eax
mov dword [ebp - 0x14], edi
push dword [ebp - 0x10]
push dword [ebp - 0x3c]
call fcn.0042b5e9
mov eax, dword [ebp - 0x10]
push edi
add dword [ebp - 0x2c], eax
mov eax, dword [esi + 0xc]
adc dword [ebp - 0x28], edi
add ebx, dword [ebp - 0x14]
adc dword [ebp - 0x30], edi
mov dword [eax + 0x130], ebx
mov ecx, dword [ebp - 0x30]
mov dword [eax + 0x134], ecx
mov ecx, esi
call fcn.0043e77b
cmp dword [ebp - 0x10], 0x400000
jb 0x43dfc6
jmp 0x43df4b
push 1
pop ebx
jmp 0x43dfc8
or ebx, 0xffffffff
jmp 0x43dfc8
xor ebx, ebx
lea ecx, [ebp - 0x1c]
call fcn.0042b46d
lea ecx, [ebp - 0x24]
call fcn.0042b46d
mov eax, dword [esi + 0xc]
push edi
mov ecx, dword [eax + 0x128]
mov dword [eax + 0x130], ecx
mov ecx, dword [eax + 0x12c]
mov dword [eax + 0x134], ecx
mov ecx, esi
call fcn.0043e77b
cmp dword [ebp - 0x40], edi
mov byte [ebp - 4], 2
mov dword [ebp - 0x44], 0x59d474
je 0x43e013
lea ecx, [ebp - 0x44]
call fcn.00443b92
mov esi, 0x59e2ec
mov dword [ebp - 0x1c], esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.0042b46d
mov dword [ebp - 0x1c], 0x59e2c0
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 7
mov esi, ebx
lea ecx, [ebp - 0x24]
call fcn.0042b46d
mov eax, esi
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 8