Function at 0x430990
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493640
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1d4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0xfc], ecx
cmp dword [ebp - 0xfc], 0
jne 0x4309cc
mov dword [ebp - 0x6c], 1
jmp 0x4309d3
mov dword [ebp - 0x6c], 0
mov dl, byte [ebp - 0x6c]
mov byte [ebp - 0xd], dl
movzx eax, byte [ebp - 0xd]
test eax, eax
jne 0x430a47
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x100], edx
cmp dword [ebp - 0x100], 0
jne 0x4309ff
mov dword [ebp - 0x70], 1
jmp 0x430a06
mov dword [ebp - 0x70], 0
mov al, byte [ebp - 0x70]
mov byte [ebp - 0xe], al
movzx ecx, byte [ebp - 0xe]
test ecx, ecx
jne 0x430a47
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0
jne 0x430a32
mov dword [ebp - 0x74], 1
jmp 0x430a39
mov dword [ebp - 0x74], 0
mov cl, byte [ebp - 0x74]
mov byte [ebp - 0xf], cl
movzx edx, byte [ebp - 0xf]
test edx, edx
je 0x430a4e
xor eax, eax
jmp 0x431308
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x28]
cmp dword [edx + 0x14], 8
jb 0x430a6c
mov dword [ebp - 0x78], 1
jmp 0x430a73
mov dword [ebp - 0x78], 0
mov al, byte [ebp - 0x78]
mov byte [ebp - 0x10], al
movzx ecx, byte [ebp - 0x10]
test ecx, ecx
je 0x430a95
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov dword [ebp - 0x108], eax
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x10c], edx
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
je 0x430ba8
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x84], edx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x14], 8
jb 0x430ad8
mov dword [ebp - 0x80], 1
jmp 0x430adf
mov dword [ebp - 0x80], 0
mov cl, byte [ebp - 0x80]
mov byte [ebp - 0x11], cl
movzx edx, byte [ebp - 0x11]
test edx, edx
je 0x430b04
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov dword [ebp - 0x114], ecx
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0x84], edx
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x11c], ecx
mov edx, dword [ebp - 0x11c]
movzx eax, word [edx]
test eax, eax
je 0x430ba8
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x14], 8
jb 0x430b4d
mov dword [ebp - 0x88], 1
jmp 0x430b57
mov dword [ebp - 0x88], 0
mov cl, byte [ebp - 0x88]
mov byte [ebp - 0x12], cl
movzx edx, byte [ebp - 0x12]
test edx, edx
je 0x430b7f
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov dword [ebp - 0x120], ecx
mov edx, dword [ebp - 0x120]
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x128], ecx
mov edx, dword [ebp - 0x128]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x430baf
xor eax, eax
jmp 0x431308
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x68], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp - 0x34]
cmp dword [edx + 0x14], 8
jb 0x430be1
mov dword [ebp - 0x90], 1
jmp 0x430beb
mov dword [ebp - 0x90], 0
mov al, byte [ebp - 0x90]
mov byte [ebp - 0x13], al
movzx ecx, byte [ebp - 0x13]
test ecx, ecx
je 0x430c13
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x130], edx
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
push ecx
lea ecx, [ebp - 0x1e0]
call fcn.0040db90
mov dword [ebp - 4], 0
lea edx, [ebp - 0x1e0]
push edx
call fcn.00431b80
mov dword [ebp - 0x138], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.004230d0
cmp dword [ebp - 0x138], 0
je 0x430c7b
mov eax, 1
jmp 0x431308
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00431da0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x68], eax
mov edx, dword [ebp + 8]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x38]
cmp dword [ecx + 0x14], 8
jb 0x430cb5
mov dword [ebp - 0x98], 1
jmp 0x430cbf
mov dword [ebp - 0x98], 0
mov dl, byte [ebp - 0x98]
mov byte [ebp - 0x14], dl
movzx eax, byte [ebp - 0x14]
test eax, eax
je 0x430ce7
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx]
mov dword [ebp - 0x13c], edx
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0x140], ecx
mov edx, dword [ebp - 0x140]
mov dword [ebp - 0x144], edx
cmp dword [ebp - 0x144], 0
je 0x430e0e
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0x3c]
cmp dword [edx + 0x14], 8
jb 0x430d30
mov dword [ebp - 0xa0], 1
jmp 0x430d3a
mov dword [ebp - 0xa0], 0
mov al, byte [ebp - 0xa0]
mov byte [ebp - 0x15], al
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x430d62
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx]
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp - 0x148]
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0x14c], edx
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x150], eax
mov ecx, dword [ebp - 0x150]
movzx edx, word [ecx]
test edx, edx
je 0x430e0e
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp - 0x40]
cmp dword [edx + 0x14], 8
jb 0x430daf
mov dword [ebp - 0xa8], 1
jmp 0x430db9
mov dword [ebp - 0xa8], 0
mov al, byte [ebp - 0xa8]
mov byte [ebp - 0x16], al
movzx ecx, byte [ebp - 0x16]
test ecx, ecx
je 0x430de1
mov edx, dword [ebp - 0x40]
mov eax, dword [edx]
mov dword [ebp - 0x154], eax
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0x158], edx
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp - 0x15c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4312dd
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0x44]
cmp dword [ecx + 0x14], 8
jb 0x430e32
mov dword [ebp - 0xb0], 1
jmp 0x430e3c
mov dword [ebp - 0xb0], 0
mov dl, byte [ebp - 0xb0]
mov byte [ebp - 0x17], dl
movzx eax, byte [ebp - 0x17]
test eax, eax
je 0x430e64
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx]
mov dword [ebp - 0x160], edx
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0x164], ecx
mov edx, dword [ebp - 0x164]
mov dword [ebp - 0x168], edx
cmp dword [ebp - 0x168], 0
je 0x4312dd
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0xbc], ecx
mov edx, dword [ebp - 0x48]
cmp dword [edx + 0x14], 8
jb 0x430ead
mov dword [ebp - 0xb8], 1
jmp 0x430eb7
mov dword [ebp - 0xb8], 0
mov al, byte [ebp - 0xb8]
mov byte [ebp - 0x18], al
movzx ecx, byte [ebp - 0x18]
test ecx, ecx
je 0x430edf
mov edx, dword [ebp - 0x48]
mov eax, dword [edx]
mov dword [ebp - 0x16c], eax
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0xbc], ecx
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0x170], edx
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x174], eax
mov ecx, dword [ebp - 0x174]
movzx edx, word [ecx]
test edx, edx
je 0x4312dd
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0xc4], ecx
mov edx, dword [ebp - 0x4c]
cmp dword [edx + 0x14], 8
jb 0x430f2c
mov dword [ebp - 0xc0], 1
jmp 0x430f36
mov dword [ebp - 0xc0], 0
mov al, byte [ebp - 0xc0]
mov byte [ebp - 0x19], al
movzx ecx, byte [ebp - 0x19]
test ecx, ecx
je 0x430f5e
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
mov dword [ebp - 0x178], eax
mov ecx, dword [ebp - 0x178]
mov dword [ebp - 0xc4], ecx
mov edx, dword [ebp - 0xc4]
mov dword [ebp - 0x17c], edx
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x180], eax
mov ecx, dword [ebp - 0x180]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4312dd
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00431c80
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0xcc], edx
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x14], 8
jb 0x430fc5
mov dword [ebp - 0xc8], 1
jmp 0x430fcf
mov dword [ebp - 0xc8], 0
mov cl, byte [ebp - 0xc8]
mov byte [ebp - 0x1a], cl
movzx edx, byte [ebp - 0x1a]
test edx, edx
je 0x430ff7
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
mov dword [ebp - 0x184], ecx
mov edx, dword [ebp - 0x184]
mov dword [ebp - 0xcc], edx
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x188], eax
mov ecx, dword [ebp - 0x188]
mov dword [ebp - 0x18c], ecx
cmp dword [ebp - 0x18c], 0
je 0x4312c5
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0x54]
cmp dword [ecx + 0x14], 8
jb 0x431040
mov dword [ebp - 0xd0], 1
jmp 0x43104a
mov dword [ebp - 0xd0], 0
mov dl, byte [ebp - 0xd0]
mov byte [ebp - 0x1b], dl
movzx eax, byte [ebp - 0x1b]
test eax, eax
je 0x431072
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx]
mov dword [ebp - 0x190], edx
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0x194], ecx
mov edx, dword [ebp - 0x194]
mov dword [ebp - 0x198], edx
mov eax, dword [ebp - 0x198]
movzx ecx, word [eax]
test ecx, ecx
je 0x4312c5
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0x58]
cmp dword [ecx + 0x14], 8
jb 0x4310bf
mov dword [ebp - 0xd8], 1
jmp 0x4310c9
mov dword [ebp - 0xd8], 0
mov dl, byte [ebp - 0xd8]
mov byte [ebp - 0x1c], dl
movzx eax, byte [ebp - 0x1c]
test eax, eax
je 0x4310f1
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx]
mov dword [ebp - 0x19c], edx
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0x1a0], ecx
mov edx, dword [ebp - 0x1a0]
mov dword [ebp - 0x1a4], edx
mov eax, dword [ebp - 0x1a4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4312c5
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0xe4], edx
mov eax, dword [ebp - 0x5c]
cmp dword [eax + 0x14], 8
jb 0x431142
mov dword [ebp - 0xe0], 1
jmp 0x43114c
mov dword [ebp - 0xe0], 0
mov cl, byte [ebp - 0xe0]
mov byte [ebp - 0x1d], cl
movzx edx, byte [ebp - 0x1d]
test edx, edx
je 0x431174
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
mov dword [ebp - 0x1a8], ecx
mov edx, dword [ebp - 0x1a8]
mov dword [ebp - 0xe4], edx
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x1ac], eax
mov ecx, dword [ebp - 0x1ac]
mov dword [ebp - 0x1b0], ecx
cmp dword [ebp - 0x1b0], 0
je 0x431293
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0x60]
cmp dword [ecx + 0x14], 8
jb 0x4311bd
mov dword [ebp - 0xe8], 1
jmp 0x4311c7
mov dword [ebp - 0xe8], 0
mov dl, byte [ebp - 0xe8]
mov byte [ebp - 0x1e], dl
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x4311ef
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx]
mov dword [ebp - 0x1b4], edx
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0x1b8], ecx
mov edx, dword [ebp - 0x1b8]
mov dword [ebp - 0x1bc], edx
mov eax, dword [ebp - 0x1bc]
movzx ecx, word [eax]
test ecx, ecx
je 0x431293
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp - 0x64]
cmp dword [ecx + 0x14], 8
jb 0x431238
mov dword [ebp - 0xf0], 1
jmp 0x431242
mov dword [ebp - 0xf0], 0
mov dl, byte [ebp - 0xf0]
mov byte [ebp - 0x1f], dl
movzx eax, byte [ebp - 0x1f]
test eax, eax
je 0x43126a
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx]
mov dword [ebp - 0x1c0], edx
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp - 0xf4]
mov dword [ebp - 0x1c4], ecx
mov edx, dword [ebp - 0x1c4]
mov dword [ebp - 0x1c8], edx
mov eax, dword [ebp - 0x1c8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4312c5
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00431450
test eax, eax
jne 0x4312c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00431c80
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
jmp 0x4312db
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00431c80
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
jmp 0x4312e6
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4312f8
mov dword [ebp - 0xf8], 1
jmp 0x431302
mov dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc