Function at 0x436370
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48df4e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x148
movzx eax, byte [ebp - 0x15]
push eax
lea ecx, [ebp - 0x70]
call fcn.0041eb90
lea ecx, [ebp - 0x70]
call fcn.00424cf0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x70]
push ecx
call fcn.00439280
add esp, 4
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0xac], edx
cmp dword [ebp - 0xac], 0
jne 0x4363d1
mov dword [ebp - 0x2c], 1
jmp 0x4363d8
mov dword [ebp - 0x2c], 0
mov al, byte [ebp - 0x2c]
mov byte [ebp - 0xd], al
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
je 0x436404
mov dword [ebp - 0x74], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00424bc0
mov eax, dword [ebp - 0x74]
jmp 0x4367c1
movzx edx, byte [ebp - 0x16]
push edx
lea ecx, [ebp - 0xdc]
call fcn.0041eb90
lea ecx, [ebp - 0xdc]
call fcn.00424cf0
mov byte [ebp - 4], 1
lea eax, [ebp - 0xdc]
push eax
call fcn.0042a220
add esp, 4
push eax
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 0x124]
push edx
call fcn.004210e0
add esp, 0xc
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x78], eax
lea ecx, [ebp - 0x70]
cmp ecx, dword [ebp - 0x78]
je 0x43646d
xor edx, edx
mov byte [ebp - 0xe], dl
movzx eax, byte [ebp - 0xe]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x70]
call fcn.00424780
lea ecx, [ebp - 0x124]
call fcn.00424bc0
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x7c], edx
cmp dword [ebp - 0x7c], 0
jne 0x43648d
mov dword [ebp - 0x34], 1
jmp 0x436494
mov dword [ebp - 0x34], 0
mov al, byte [ebp - 0x34]
mov byte [ebp - 0xf], al
movzx ecx, byte [ebp - 0xf]
test ecx, ecx
jne 0x436793
mov byte [ebp - 4], 2
push 0
lea ecx, [ebp - 0xdc]
call fcn.00424640
mov byte [ebp - 4], 1
lea edx, [ebp - 0xdc]
push edx
call fcn.00429840
add esp, 4
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x13c]
push ecx
call fcn.004210e0
add esp, 0xc
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x80]
push edx
lea ecx, [ebp - 0x70]
call fcn.004047b0
lea ecx, [ebp - 0x13c]
call fcn.00424bc0
lea eax, [ebp - 0xf4]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
call fcn.0041fd00
lea ecx, [ebp - 0xf4]
call fcn.00424cf0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xf4]
push ecx
call fcn.00429460
add esp, 4
lea edx, [ebp - 0xf4]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 0x14], 8
jb 0x43654e
mov dword [ebp - 0x38], 1
jmp 0x436555
mov dword [ebp - 0x38], 0
mov dl, byte [ebp - 0x38]
mov byte [ebp - 0x10], dl
movzx eax, byte [ebp - 0x10]
test eax, eax
je 0x436577
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x90]
push eax
lea ecx, [ebp - 0x10c]
call fcn.0040f5c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10c]
push ecx
lea edx, [ebp - 0x70]
push edx
lea eax, [ebp - 0x154]
push eax
call fcn.004210e0
add esp, 0xc
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp + 8]
cmp edx, dword [ebp - 0x94]
je 0x4365e9
xor eax, eax
mov byte [ebp - 0x11], al
movzx ecx, byte [ebp - 0x11]
push ecx
mov edx, dword [ebp - 0x40]
push edx
mov ecx, dword [ebp + 8]
call fcn.00424780
lea ecx, [ebp - 0x154]
call fcn.00424bc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10c]
call fcn.00424bc0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0x14], 8
jb 0x436621
mov dword [ebp - 0x44], 1
jmp 0x436628
mov dword [ebp - 0x44], 0
mov al, byte [ebp - 0x44]
mov byte [ebp - 0x12], al
movzx ecx, byte [ebp - 0x12]
test ecx, ecx
je 0x43664a
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0
je 0x436742
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x14], 8
jb 0x43668a
mov dword [ebp - 0x4c], 1
jmp 0x436691
mov dword [ebp - 0x4c], 0
mov cl, byte [ebp - 0x4c]
mov byte [ebp - 0x13], cl
movzx edx, byte [ebp - 0x13]
test edx, edx
je 0x4366b3
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0xc4], ecx
mov edx, dword [ebp - 0xc4]
movzx eax, word [edx]
test eax, eax
je 0x436742
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x14], 8
jb 0x4366f3
mov dword [ebp - 0x54], 1
jmp 0x4366fa
mov dword [ebp - 0x54], 0
mov cl, byte [ebp - 0x54]
mov byte [ebp - 0x14], cl
movzx edx, byte [ebp - 0x14]
test edx, edx
je 0x43671c
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov dword [ebp - 0xb0], ecx
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], ecx
mov edx, dword [ebp - 0xb8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x436754
cmp dword [ebp + 0xc], 0
je 0x436754
mov eax, dword [ebp + 8]
push eax
call fcn.00437cc0
add esp, 4
mov dword [ebp - 0xbc], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf4]
call fcn.00424bc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xdc]
call fcn.00424bc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00424bc0
mov eax, dword [ebp - 0xbc]
jmp 0x4367c1
mov dword [ebp - 0xc0], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xdc]
call fcn.00424bc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00424bc0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8