Function at 0x43a130
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493fdb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1e4
movzx eax, byte [ebp - 0x45]
push eax
lea ecx, [ebp - 0x38]
call fcn.0041d0a0
lea ecx, [ebp - 0x38]
call fcn.00423200
mov dword [ebp - 4], 0
movzx ecx, byte [ebp - 0x39]
push ecx
lea ecx, [ebp - 0x60]
call fcn.0041d0a0
lea ecx, [ebp - 0x60]
call fcn.00423200
mov byte [ebp - 4], 1
movzx edx, byte [ebp - 0x3a]
push edx
lea ecx, [ebp - 0xd4]
call fcn.0041d0a0
lea ecx, [ebp - 0xd4]
call fcn.00423200
mov byte [ebp - 4], 2
movzx eax, byte [ebp - 0x3b]
push eax
lea ecx, [ebp - 0xbc]
call fcn.0041d0a0
lea ecx, [ebp - 0xbc]
call fcn.00423200
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0x10]
and ecx, 0xff
cmp ecx, 2
jne 0x43a1db
mov dword [ebp - 0xa0], 1
jmp 0x43a1e5
mov dword [ebp - 0xa0], 0
cmp dword [ebp - 0xa0], 0
je 0x43a20e
lea edx, [ebp - 0xd4]
push edx
call fcn.00427b20
add esp, 4
lea eax, [ebp - 0xbc]
push eax
call fcn.00426dd0
add esp, 4
jmp 0x43a259
mov ecx, dword [ebp + 0x10]
and ecx, 0xff
cmp ecx, 1
jne 0x43a228
mov dword [ebp - 0xa4], 1
jmp 0x43a232
mov dword [ebp - 0xa4], 0
cmp dword [ebp - 0xa4], 0
je 0x43a259
lea edx, [ebp - 0xd4]
push edx
call fcn.00427fa0
add esp, 4
lea eax, [ebp - 0xbc]
push eax
call fcn.00427410
add esp, 4
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0x154], ecx
cmp dword [ebp - 0x154], 0
jne 0x43a277
mov dword [ebp - 0x64], 1
jmp 0x43a27e
mov dword [ebp - 0x64], 0
mov dl, byte [ebp - 0x64]
mov byte [ebp - 0xd], dl
movzx eax, byte [ebp - 0xd]
test eax, eax
jne 0x43a2bf
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0x158], ecx
cmp dword [ebp - 0x158], 0
jne 0x43a2aa
mov dword [ebp - 0x68], 1
jmp 0x43a2b1
mov dword [ebp - 0x68], 0
mov dl, byte [ebp - 0x68]
mov byte [ebp - 0xe], dl
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x43a30d
mov dword [ebp - 0x15c], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xbc]
call fcn.004230d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd4]
call fcn.004230d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.004230d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.004230d0
mov eax, dword [ebp - 0x15c]
jmp 0x43aa29
lea ecx, [ebp - 0x38]
push ecx
call fcn.0042c8c0
add esp, 4
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x160], edx
cmp dword [ebp - 0x160], 0
jne 0x43a334
mov dword [ebp - 0x6c], 1
jmp 0x43a33b
mov dword [ebp - 0x6c], 0
mov al, byte [ebp - 0x6c]
mov byte [ebp - 0xf], al
movzx ecx, byte [ebp - 0xf]
test ecx, ecx
jne 0x43a4f6
lea edx, [ebp - 0xd4]
push edx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x178]
push ecx
call fcn.0041f5f0
add esp, 0xc
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0xd8], edx
lea eax, [ebp - 0x60]
cmp eax, dword [ebp - 0xd8]
je 0x43a394
xor ecx, ecx
mov byte [ebp - 0x10], cl
movzx edx, byte [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x70]
push eax
lea ecx, [ebp - 0x60]
call fcn.00422c90
lea ecx, [ebp - 0x178]
call fcn.004230d0
lea ecx, [ebp - 0xbc]
push ecx
lea edx, [ebp - 0x60]
push edx
lea eax, [ebp - 0x190]
push eax
call fcn.0041f5f0
add esp, 0xc
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0xdc], ecx
lea edx, [ebp - 0x38]
cmp edx, dword [ebp - 0xdc]
je 0x43a3e6
xor eax, eax
mov byte [ebp - 0x11], al
movzx ecx, byte [ebp - 0x11]
push ecx
mov edx, dword [ebp - 0x74]
push edx
lea ecx, [ebp - 0x38]
call fcn.00422c90
lea ecx, [ebp - 0x190]
call fcn.004230d0
lea ecx, [ebp - 0x38]
call fcn.00422d20
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0
je 0x43a4f6
lea ecx, [ebp - 0x38]
call fcn.00422d20
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
movzx ecx, word [eax]
test ecx, ecx
je 0x43a4f6
lea ecx, [ebp - 0x38]
call fcn.00422d20
mov dword [ebp - 0xe8], eax
mov edx, dword [ebp - 0xe8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43a4f6
lea eax, [ebp - 0x38]
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebp - 0xec]
je 0x43a478
xor edx, edx
mov byte [ebp - 0x12], dl
movzx eax, byte [ebp - 0x12]
push eax
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00422a50
cmp dword [ebp + 0xc], 0
je 0x43a4a8
lea edx, [ebp - 0x60]
mov dword [ebp - 0xf0], edx
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0xf0]
je 0x43a4a8
xor ecx, ecx
mov byte [ebp - 0x13], cl
movzx edx, byte [ebp - 0x13]
push edx
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00422a50
mov dword [ebp - 0xf4], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xbc]
call fcn.004230d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd4]
call fcn.004230d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.004230d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.004230d0
mov eax, dword [ebp - 0xf4]
jmp 0x43aa29
mov byte [ebp - 4], 4
push 0
lea ecx, [ebp - 0x38]
call fcn.00422b50
mov byte [ebp - 4], 5
push 0
lea ecx, [ebp - 0x60]
call fcn.00422b50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
push ecx
call fcn.0042ca50
add esp, 4
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0xf8], edx
cmp dword [ebp - 0xf8], 0
jne 0x43a53d
mov dword [ebp - 0x78], 1
jmp 0x43a544
mov dword [ebp - 0x78], 0
mov al, byte [ebp - 0x78]
mov byte [ebp - 0x14], al
movzx ecx, byte [ebp - 0x14]
test ecx, ecx
jne 0x43a6ff
lea edx, [ebp - 0xd4]
push edx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x1a8]
push ecx
call fcn.0041f5f0
add esp, 0xc
mov dword [ebp - 0x7c], eax
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0xfc], edx
lea eax, [ebp - 0x60]
cmp eax, dword [ebp - 0xfc]
je 0x43a59d
xor ecx, ecx
mov byte [ebp - 0x15], cl
movzx edx, byte [ebp - 0x15]
push edx
mov eax, dword [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x60]
call fcn.00422c90
lea ecx, [ebp - 0x1a8]
call fcn.004230d0
lea ecx, [ebp - 0xbc]
push ecx
lea edx, [ebp - 0x60]
push edx
lea eax, [ebp - 0x1c0]
push eax
call fcn.0041f5f0
add esp, 0xc
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x100], ecx
lea edx, [ebp - 0x38]
cmp edx, dword [ebp - 0x100]
je 0x43a5ef
xor eax, eax
mov byte [ebp - 0x16], al
movzx ecx, byte [ebp - 0x16]
push ecx
mov edx, dword [ebp - 0x80]
push edx
lea ecx, [ebp - 0x38]
call fcn.00422c90
lea ecx, [ebp - 0x1c0]
call fcn.004230d0
lea ecx, [ebp - 0x38]
call fcn.00422d20
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0
je 0x43a6ff
lea ecx, [ebp - 0x38]
call fcn.00422d20
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
movzx ecx, word [eax]
test ecx, ecx
je 0x43a6ff
lea ecx, [ebp - 0x38]
call fcn.00422d20
mov dword [ebp - 0x10c], eax
mov edx, dword [ebp - 0x10c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43a6ff
lea eax, [ebp - 0x38]
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebp - 0x110]
je 0x43a681
xor edx, edx
mov byte [ebp - 0x17], dl
movzx eax, byte [ebp - 0x17]
push eax
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00422a50
cmp dword [ebp + 0xc], 0
je 0x43a6b1
lea edx, [ebp - 0x60]
mov dword [ebp - 0x114], edx
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x114]
je 0x43a6b1
xor ecx, ecx
mov byte [ebp - 0x18], cl
movzx edx, byte [ebp - 0x18]
push edx
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00422a50
mov dword [ebp - 0x118], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xbc]
call fcn.004230d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd4]
call fcn.004230d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.004230d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.004230d0
mov eax, dword [ebp - 0x118]
jmp 0x43aa29
mov byte [ebp - 4], 6
push 0
lea ecx, [ebp - 0x38]
call fcn.00422b50
mov byte [ebp - 4], 7
push 0
lea ecx, [ebp - 0x60]
call fcn.00422b50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
push ecx
call fcn.0042c380
add esp, 4
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x11c], edx
cmp dword [ebp - 0x11c], 0
jne 0x43a749
mov dword [ebp - 0x84], 1
jmp 0x43a753
mov dword [ebp - 0x84], 0
mov al, byte [ebp - 0x84]
mov byte [ebp - 0x19], al
movzx ecx, byte [ebp - 0x19]
test ecx, ecx
jne 0x43a9e0
lea edx, [ebp - 0xd4]
push edx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x1d8]
push ecx
call fcn.0041f5f0
add esp, 0xc
mov dword [ebp - 0x88], eax
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0x120], edx
lea eax, [ebp - 0x60]
cmp eax, dword [ebp - 0x120]
je 0x43a7b8
xor ecx, ecx
mov byte [ebp - 0x1a], cl
movzx edx, byte [ebp - 0x1a]
push edx
mov eax, dword [ebp - 0x88]
push eax
lea ecx, [ebp - 0x60]
call fcn.00422c90
lea ecx, [ebp - 0x1d8]
call fcn.004230d0
lea ecx, [ebp - 0xbc]
push ecx
lea edx, [ebp - 0x60]
push edx
lea eax, [ebp - 0x1f0]
push eax
call fcn.0041f5f0
add esp, 0xc
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x124], ecx
lea edx, [ebp - 0x38]
cmp edx, dword [ebp - 0x124]
je 0x43a813
xor eax, eax
mov byte [ebp - 0x1b], al
movzx ecx, byte [ebp - 0x1b]
push ecx
mov edx, dword [ebp - 0x8c]
push edx
lea ecx, [ebp - 0x38]
call fcn.00422c90
lea ecx, [ebp - 0x1f0]
call fcn.004230d0
lea ecx, [ebp - 0x38]
call fcn.00422d20
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
je 0x43a9e0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp - 0x40]
cmp dword [edx + 0x14], 8
jb 0x43a85d
mov dword [ebp - 0x90], 1
jmp 0x43a867
mov dword [ebp - 0x90], 0
mov al, byte [ebp - 0x90]
mov byte [ebp - 0x1c], al
movzx ecx, byte [ebp - 0x1c]
test ecx, ecx
je 0x43a88f
mov edx, dword [ebp - 0x40]
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]
movzx edx, word [ecx]
test edx, edx
je 0x43a9e0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0x44]
cmp dword [edx + 0x14], 8
jb 0x43a8dc
mov dword [ebp - 0x98], 1
jmp 0x43a8e6
mov dword [ebp - 0x98], 0
mov al, byte [ebp - 0x98]
mov byte [ebp - 0x1d], al
movzx ecx, byte [ebp - 0x1d]
test ecx, ecx
je 0x43a90e
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
mov dword [ebp - 0x138], eax
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0x13c], edx
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x140], eax
mov ecx, dword [ebp - 0x140]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43a9e0
lea edx, [ebp - 0x38]
mov dword [ebp - 0x144], edx
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x144]
je 0x43a965
xor ecx, ecx
mov byte [ebp - 0x1e], cl
movzx edx, byte [ebp - 0x1e]
push edx
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp + 8]
call fcn.00422a50
cmp dword [ebp + 0xc], 0
je 0x43a995
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x148], ecx
mov edx, dword [ebp + 0xc]
cmp edx, dword [ebp - 0x148]
je 0x43a995
xor eax, eax
mov byte [ebp - 0x1f], al
movzx ecx, byte [ebp - 0x1f]
push ecx
lea edx, [ebp - 0x60]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00422a50
mov dword [ebp - 0x14c], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xbc]
call fcn.004230d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd4]
call fcn.004230d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.004230d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.004230d0
mov eax, dword [ebp - 0x14c]
jmp 0x43aa29
mov dword [ebp - 0x150], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xbc]
call fcn.004230d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd4]
call fcn.004230d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.004230d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.004230d0
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret