Function at 0x45413c
Capabilities:
Check if file exists
Get file size

Disassembly:
push 0xf4
mov eax, 0x5e1ecd
call fcn.0046dcba
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0xf4], edi
mov dword [ebp - 0xfc], esi
push esi
xor eax, eax
mov dword [ebp - 4], esi
push 0x5e6948
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], esi
mov word [ebp - 0x28], ax
call fcn.00402ac0
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 1
call fcn.0047c2b0
call fcn.00452596
test al, al
je 0x4541a7
push ds
mov bl, 0xb8
popal
jns 0x45414b
or ecx, edi
inc ecx
sub al, 0x64
adc byte [ecx], 0xc8
or edx, ebp
xor esi, esi
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x454432
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
push esi
cmovae eax, dword [ebp + 0xc]
push 0x80
push 4
push esi
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0xe8], ebx
cmp ebx, 0xffffffff
jne 0x454201
push 0x5e6948
mov ecx, edi
call fcn.00404060
jmp 0x45443d
call fcn.00451f63
test al, al
je 0x454222
mov edx, 0x4288afd
fdivp st(5)
push es
mov ebp, 0x5fce5114
scasb al, byte es:[edi]
fimul dword [ebx - 0xf343]
push dword [ebx]
not byte [esi + 0x53]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xec], eax
inc eax
push eax
mov dword [ebp - 0xf8], eax
call fcn.0046d813
mov dword [ebp - 0xf0], eax
pop ecx
test eax, eax
je 0x4541f0
call fcn.004523f8
test al, al
je 0x45426e
adc dword es:[esi + 0x6c], edx
sub al, 0xb6
mov es, word [ecx]
push ecx
push eax
lcall 0x815, 0x8c6fe941
push ss
out dx, eax
xor al, 6
salc
mov al, 0x19
sub dword [ebx], 0x22
div byte [ebx - 0x1d6618]
inc dword [eax + eax*8 + 0x6cec1e74]
call fcn.0045250c
test al, al
je 0x454295
in al, dx
insb byte es:[edi], dx
shl dword [edx - 0x15], 0xf
cmp eax, 0x3e778552
and al, 0x5f
retf
push dword [ebp - 0xf8]
mov esi, dword [ebp - 0xf0]
push 0
push esi
call fcn.00480620
add esp, 0xc
lea eax, [ebp - 0x100]
push 0
push eax
push dword [ebp - 0xec]
push esi
push dword [ebp - 0xe8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
call fcn.0045236e
test al, al
je 0x4542e8
invalid
mov ch, 0xb7
retf 0x2601
call fcn.00452101
test al, al
je 0x454309
iretd
call fcn.0045218b
test al, al
je 0x45432a
mov bl, 0x5e
cwde
xchg dword cs:[ecx], eax
out 0xac, al
mov ch, 0xf0
jl 0x4542b8
lodsb al, byte [esi]
xor cl, bl
adc esp, dword [edx + 0x58d08a7]
mov al, byte [0xb5ff6c18]
sbb bh, bh
invalid
push dword [ebp - 0xe8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xec]
mov ebx, dword [ebp - 0xf0]
lea ecx, [ebp - 0xe4]
push ebx
call fcn.0047cc7e
push ebx
call fcn.0046d81c
pop ecx
call fcn.00452329
test al, al
je 0x454370
pop es
mov edx, edx
pop esi
popal
lahf
iretd
push edx
or dword [eax - 0x72b9c530], eax
inc ebp
test al, 0x50
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0xe4]
call fcn.0047c4c9
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
call fcn.00457902
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.0040c8d0
call fcn.004522e4
test al, al
je 0x4543bc
movsb byte es:[edi], byte [esi]
push es
mov bl, 0xb4
sbb dword [ebx + 0x24], edx
jle 0x454429
mul dword [ebp - 0x75]
mov ebp, 0x21c12ba4
jb 0x4543c8
call fcn.00452101
test al, al
je 0x4543e3
and eax, 0x444a7c53
dec edx
inc esp
jle 0x45436a
inc edx
cmp ebp, edx
retf 0xc170
jg 0x454454
jge 0x454370
push eax
mov al, 0xe8
call 0x854543c6
sal byte [edi + ebx + 0x6e], 0x47
call fcn.004521d0
test al, al
je 0x45440b
outsb dx, byte [esi]
inc edi
push edx
and eax, 0x731c26e1
aas
pop edi
mov ecx, 0xb2dcee28
fnstsw word fs:[ecx + 0x25888967]
xchg ebp, eax
cwde
leave
push esi
push eax
jl 0x4543dc
cmp eax, 0x7539f633
sal byte [esi + 0xf], 1
xor esi, esi
cmp dword [ebp - 0x30], esi
jbe 0x454421
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.004029a0
push esi
push 1
lea ecx, [ebp - 0x40]
call fcn.0041ece0
mov edi, dword [ebp - 0xf4]
test al, 0xfc
dec dword [ebx - 0xf343]
dec dword [ebp - 0x307427bb]
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.00452e8f
push esi
push 1
lea ecx, [ebp - 0x28]
call fcn.0041ece0
push esi
push 1
lea ecx, [ebp + 0xc]
call fcn.0041ece0
mov eax, edi
call fcn.0046dc64
ret
invalid