Function at 0x434aa0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494540
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x4ae480]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov eax, dword [0x4b3fb4]
test eax, eax
je 0x434aeb
test byte [eax + 0x40], 1
je 0x434aeb
mov eax, 0x4c7
jmp 0x434e58
push 0x104
lea edx, [ebp - 0x118]
mov ecx, esi
call fcn.00424470
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
add esp, 4
test dword [edi + 0x23c], 0x2000
je 0x434bd9
lea eax, [ebp - 0x320]
mov dword [ebp - 0x324], 0
mov dword [ebp - 0x328], eax
xor eax, eax
push eax
push eax
push 0xffffffffffffffff
mov word [ebp - 0x320], ax
lea eax, [ebp - 0x118]
push eax
push 0
push 0xfde9
call ebx
mov dword [ebp - 0x324], eax
test eax, eax
je 0x434ba3
lea ecx, [eax + 1]
cmp ecx, 0x80
jbe 0x434b88
mov eax, ecx
mov ecx, 2
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.0047c4da
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x324]
mov dword [ebp - 0x328], ecx
jmp 0x434b8e
mov ecx, dword [ebp - 0x328]
inc eax
push eax
push ecx
push 0xffffffffffffffff
lea eax, [ebp - 0x118]
push eax
push 0
push 0xfde9
call ebx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x328]
call fcn.00415f60
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x328]
test eax, eax
je 0x434bd9
lea ecx, [ebp - 0x320]
cmp eax, ecx
je 0x434bd9
push eax
call fcn.004568b0
add esp, 4
mov eax, dword [edi + 0x244]
cmp eax, 0x10f
ja 0x434cc4
je 0x434cac
sub eax, 0x98
je 0x434c35
sub eax, 0x17
je 0x434c1d
sub eax, 0x10
jne 0x434cd2
lea eax, [ebp - 0x118]
mov edx, esi
push eax
mov ecx, edi
call fcn.004345d0
add esp, 4
jmp 0x434e58
lea eax, [ebp - 0x118]
mov edx, esi
push eax
mov ecx, edi
call fcn.00433dc0
add esp, 4
jmp 0x434e58
push dword [esi + 0x34]
call fcn.00436270
push 0xf
lea eax, [ebp - 0x118]
push eax
push dword [esi + 0x10]
call fcn.00448070
mov ebx, eax
test ebx, 0x2ab
je 0x434c5d
or word [esi + 0x30], 2
push 0x104
lea edx, [ebp - 0x220]
mov ecx, esi
call fcn.00424540
add esp, 4
lea eax, [ebp - 0x220]
push eax
push ebx
push 0x140c
push dword [edi + 0x220]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0x238]
xor edx, edx
inc eax
push 0
push eax
mov dword [edi + 0x238], eax
call fcn.00415fa0
add esp, 8
xor eax, eax
jmp 0x434e58
lea eax, [ebp - 0x118]
mov edx, esi
push eax
mov ecx, edi
call fcn.00434820
add esp, 4
jmp 0x434e58
cmp eax, 0x173
je 0x434cef
cmp eax, 0x1f5
je 0x434cdc
mov eax, 0x32
jmp 0x434e58
or word [esi + 0x30], 0x40
xor eax, eax
mov dword [esi + 0x10], 0
jmp 0x434e58
push dword [esi + 0x34]
call fcn.00436270
lea eax, [ebp - 0x118]
push eax
push dword [esi + 0x10]
call fcn.00448710
test al, al
jne 0x434e3a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 2
jne 0x434d6b
lea eax, [ebp - 0x118]
push str._listfile_
push eax
call fcn.00484384
add esp, 8
test eax, eax
je 0x434e3a
lea eax, [ebp - 0x118]
push 0x4a4898
push eax
call fcn.00484384
add esp, 8
test eax, eax
je 0x434e3a
lea eax, [ebp - 0x118]
push 0x4a4888
push eax
call fcn.00484384
add esp, 8
test eax, eax
jmp 0x434d6d
test esi, esi
je 0x434e3a
lea eax, [ebp - 0x428]
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x430], eax
xor eax, eax
push eax
push eax
push 0xffffffffffffffff
mov word [ebp - 0x428], ax
lea eax, [ebp - 0x118]
push eax
push 0
push 0xfde9
call ebx
mov dword [ebp - 0x42c], eax
test eax, eax
je 0x434e00
lea ecx, [eax + 1]
cmp ecx, 0x80
jbe 0x434de5
mov eax, ecx
mov ecx, 2
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.0047c4da
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x42c]
mov dword [ebp - 0x430], ecx
jmp 0x434deb
mov ecx, dword [ebp - 0x430]
inc eax
push eax
push ecx
push 0xffffffffffffffff
lea eax, [ebp - 0x118]
push eax
push 0
push 0xfde9
call ebx
push dword [ebp - 0x430]
push 0
push 0x170
push dword [edi + 0x220]
call fcn.00416080
mov eax, dword [ebp - 0x430]
add esp, 0x10
test eax, eax
je 0x434e56
lea ecx, [ebp - 0x428]
cmp eax, ecx
je 0x434e56
push eax
call fcn.004568b0
add esp, 4
jmp 0x434e56
mov eax, dword [edi + 0x238]
xor edx, edx
inc eax
push 0
push eax
mov dword [edi + 0x238], eax
call fcn.00415fa0
add esp, 8
xor esi, esi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047c26b
mov esp, ebp
pop ebp
ret