Function at 0x43d060
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494369
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
movzx eax, byte [ebp - 0x12]
push eax
lea ecx, [ebp - 0x48]
call fcn.0041d0a0
lea ecx, [ebp - 0x48]
call fcn.00423200
mov dword [ebp - 4], 0
movzx ecx, byte [ebp - 0x13]
push ecx
lea ecx, [ebp - 0x98]
call fcn.0041d0a0
lea ecx, [ebp - 0x98]
call fcn.00423200
mov byte [ebp - 4], 1
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00441fa0
lea ecx, [ebp - 0x48]
call fcn.00422d20
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
je 0x43d105
lea ecx, [ebp - 0x48]
call fcn.00422d20
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
movzx edx, word [ecx]
test edx, edx
je 0x43d105
lea ecx, [ebp - 0x48]
call fcn.00422d20
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43d132
mov dword [ebp - 0x54], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x98]
call fcn.004230d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.004230d0
mov eax, dword [ebp - 0x54]
jmp 0x43d478
movzx ecx, byte [ebp - 0x14]
push ecx
lea ecx, [ebp - 0xc8]
call fcn.0041d0a0
lea ecx, [ebp - 0xc8]
call fcn.00423200
mov byte [ebp - 4], 2
push 0
push 0
push 0
lea edx, [ebp - 0xc8]
push edx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xcc], esp
lea eax, [ebp - 0x48]
push eax
call fcn.00401840
call fcn.0041fbc0
add esp, 0x28
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0x58], ecx
cmp dword [ebp - 0x58], 0
jne 0x43d192
mov dword [ebp - 0x1c], 1
jmp 0x43d199
mov dword [ebp - 0x1c], 0
mov dl, byte [ebp - 0x1c]
mov byte [ebp - 0xd], dl
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x43d1e3
mov dword [ebp - 0x5c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc8]
call fcn.004230d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x98]
call fcn.004230d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.004230d0
mov eax, dword [ebp - 0x5c]
jmp 0x43d478
mov dword [ebp - 0x30], str.flddefch
mov ecx, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0xe4]
call fcn.0040db90
mov byte [ebp - 4], 3
lea edx, [ebp - 0xe4]
push edx
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0xfc]
push ecx
call fcn.0041f5f0
add esp, 0xc
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x60], edx
lea eax, [ebp - 0x98]
cmp eax, dword [ebp - 0x60]
je 0x43d247
xor ecx, ecx
mov byte [ebp - 0xe], cl
movzx edx, byte [ebp - 0xe]
push edx
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x98]
call fcn.00422c90
lea ecx, [ebp - 0xfc]
call fcn.004230d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe4]
call fcn.004230d0
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x64], 0
jne 0x43d279
mov dword [ebp - 0x24], 1
jmp 0x43d280
mov dword [ebp - 0x24], 0
mov dl, byte [ebp - 0x24]
mov byte [ebp - 0xf], dl
movzx eax, byte [ebp - 0xf]
test eax, eax
je 0x43d2ca
mov dword [ebp - 0x68], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc8]
call fcn.004230d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x98]
call fcn.004230d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.004230d0
mov eax, dword [ebp - 0x68]
jmp 0x43d478
movzx ecx, byte [ebp - 0x15]
push ecx
lea ecx, [ebp - 0xb0]
call fcn.0041d0a0
lea ecx, [ebp - 0xb0]
call fcn.00423200
mov byte [ebp - 4], 4
cmp dword [ebp + 8], 0
je 0x43d335
lea edx, [ebp - 0x114]
push edx
call fcn.0042d020
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x6c], eax
lea ecx, [ebp - 0xb0]
cmp ecx, dword [ebp - 0x6c]
je 0x43d328
xor edx, edx
mov byte [ebp - 0x10], dl
movzx eax, byte [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0xb0]
call fcn.00422c90
lea ecx, [ebp - 0x114]
call fcn.004230d0
jmp 0x43d344
lea edx, [ebp - 0xb0]
push edx
call fcn.0042c380
add esp, 4
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jne 0x43d35c
mov dword [ebp - 0x2c], 1
jmp 0x43d363
mov dword [ebp - 0x2c], 0
mov cl, byte [ebp - 0x2c]
mov byte [ebp - 0x11], cl
movzx edx, byte [ebp - 0x11]
test edx, edx
je 0x43d3bc
mov dword [ebp - 0x74], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb0]
call fcn.004230d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc8]
call fcn.004230d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x98]
call fcn.004230d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.004230d0
mov eax, dword [ebp - 0x74]
jmp 0x43d478
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0xb0]
push ecx
call fcn.0041f730
add esp, 8
lea edx, [ebp - 0xb0]
push edx
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.00430990
test eax, eax
jne 0x43d432
mov dword [ebp - 0x78], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb0]
call fcn.004230d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc8]
call fcn.004230d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x98]
call fcn.004230d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.004230d0
mov eax, dword [ebp - 0x78]
jmp 0x43d478
mov dword [ebp - 0x7c], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb0]
call fcn.004230d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc8]
call fcn.004230d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x98]
call fcn.004230d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.004230d0
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4