Function at 0x440730
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494406
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf0
lea eax, [ebp - 0xb4]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
call fcn.0041e210
lea ecx, [ebp - 0xb4]
call fcn.00423200
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xb4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004420f0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x440799
mov dword [ebp - 0x28], 1
jmp 0x4407a0
mov dword [ebp - 0x28], 0
mov cl, byte [ebp - 0x28]
mov byte [ebp - 0xd], cl
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x4407cf
mov dword [ebp - 0x58], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.004230d0
mov eax, dword [ebp - 0x58]
jmp 0x440a63
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jne 0x4407e7
mov dword [ebp - 0x2c], 1
jmp 0x4407ee
mov dword [ebp - 0x2c], 0
mov cl, byte [ebp - 0x2c]
mov byte [ebp - 0xe], cl
movzx edx, byte [ebp - 0xe]
test edx, edx
jne 0x440a41
lea eax, [ebp - 0xcc]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
call fcn.0041e210
lea ecx, [ebp - 0xcc]
call fcn.00423200
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xcc]
push ecx
call fcn.00427a00
add esp, 4
lea edx, [ebp - 0xcc]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x14], 8
jb 0x440850
mov dword [ebp - 0x30], 1
jmp 0x440857
mov dword [ebp - 0x30], 0
mov dl, byte [ebp - 0x30]
mov byte [ebp - 0xf], dl
movzx eax, byte [ebp - 0xf]
test eax, eax
je 0x440873
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x6c]
push eax
lea ecx, [ebp - 0xe4]
call fcn.0040db90
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe4]
push ecx
lea edx, [ebp - 0xb4]
push edx
lea eax, [ebp - 0xfc]
push eax
call fcn.0041f5f0
add esp, 0xc
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00403df0
lea ecx, [ebp - 0xfc]
call fcn.004230d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe4]
call fcn.004230d0
mov edx, dword [ebp + 0xc]
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 0x4408f6
mov dword [ebp - 0x38], 1
jmp 0x4408fd
mov dword [ebp - 0x38], 0
mov dl, byte [ebp - 0x38]
mov byte [ebp - 0x10], dl
movzx eax, byte [ebp - 0x10]
test eax, eax
je 0x440919
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x7c], edx
cmp dword [ebp - 0x7c], 0
je 0x4409ff
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0x14], 8
jb 0x44094d
mov dword [ebp - 0x40], 1
jmp 0x440954
mov dword [ebp - 0x40], 0
mov al, byte [ebp - 0x40]
mov byte [ebp - 0x11], al
movzx ecx, byte [ebp - 0x11]
test ecx, ecx
je 0x440970
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x84], edx
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
movzx edx, word [ecx]
test edx, edx
je 0x4409ff
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x14], 8
jb 0x4409b0
mov dword [ebp - 0x48], 1
jmp 0x4409b7
mov dword [ebp - 0x48], 0
mov al, byte [ebp - 0x48]
mov byte [ebp - 0x12], al
movzx ecx, byte [ebp - 0x12]
test ecx, ecx
je 0x4409d9
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x440a0e
cmp dword [ebp + 0x10], 0
je 0x440a0e
mov edx, dword [ebp + 0xc]
push edx
call fcn.00443360
mov dword [ebp - 0x98], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xcc]
call fcn.004230d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.004230d0
mov eax, dword [ebp - 0x98]
jmp 0x440a63
mov dword [ebp - 0x9c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.004230d0
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret