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

Disassembly:
push 0xf4
mov eax, 0x5a3771
call fcn.0043a209
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 0x5a6864
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], esi
mov word [ebp - 0x28], ax
call fcn.004020c0
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 1
call fcn.004407a8
call fcn.0043d792
test al, al
je 0x4268ce
lea esp, gs:[esi]
outsd dx, dword [esi]
xchg cl, dh
sbb dl, ch
mov byte [0xf42aac3a], al
fdiv st(6)
xchg dword [ebx], esi
test byte [ebx - 0x72f7df83], 0x45
or al, 0xf
inc ebx
inc ebp
or al, 0x50
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 0x426b59
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 accept
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0xe8], ebx
cmp ebx, 0xffffffff
jne 0x426928
push 0x5a6864
mov ecx, edi
call fcn.00403820
jmp 0x426b64
call fcn.0043d15f
test al, al
je 0x426949
invalid
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.00439cc8
mov dword [ebp - 0xf0], eax
pop ecx
test eax, eax
je 0x426917
call fcn.0043d5f4
test al, al
je 0x426995
cmp ah, byte [ecx - 0x57b843c1]
sub al, 0xb9
fsub st(6)
inc esp
xchg dword [edi + edx], edi
stosb byte es:[edi], al
dec ebp
sbb byte [edi], 0xd6
int 0x65
push edx
cmp byte [0xdd14cddd], al
int 0x14
fucomp st(0)
outsb dx, byte [esi]
insd dword es:[edi], dx
add dword [eax], eax
call fcn.0043d708
test al, al
je 0x4269bc
add cl, byte [0xb9d8e0f7]
bnd jnp 0x4269e5
cmp dword [ecx + ebp*4 + 0x4c10ccfd], eax
loopne 0x426992
call 0x5c666a08
cmp dword [eax], 0xffffff91
or byte [ebx], bl
and byte [ecx - 0xf74a01], 0xff
dec dword [ebx - 0xef4b]
jmp [edx]
push dword [ebp - 0xf8]
mov esi, dword [ebp - 0xf0]
push 0
push esi
call fcn.00446360
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.0043d56a
test al, al
je 0x426a0f
sbb bh, bh
invalid
adc eax, 0x93481c42
dec ecx
jnp 0x426a63
xchg esp, eax
les edi, [esi + 0x900e56c]
lea dx, [edi + 0x45c1820b]
call fcn.0043d2fd
test al, al
je 0x426a30
xor edx, dword [edi - 0x44]
jl 0x426a8f
push esi
inc ebp
sub ah, byte [eax]
adc byte [ebx], 0x8f
mov eax, dword [0x9352586e]
dec ebp
push ecx
in eax, dx
aam 0x8d
fnstcw word [edx + 0x16952e8]
add byte [eax + eax*8 - 0x7565e78c], al
imul edx, dword [edx], 0x4f401873
call fcn.0043d387
test al, al
je 0x426a51
lcall 0x4018, 0x7312698a
dec edi
and edx, dword [esi + 0x72]
enter 0xffffffffffff97ed, 0x50
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.00441176
push ebx
call fcn.00439cd1
pop ecx
call fcn.0043d525
test al, al
je 0x426a97
ret
arpl word [eax - 0x46369cd2], bx
imul edi, dword [edi - 0x73], 0x45
test al, 0x50
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0xe4]
call fcn.004409c1
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
call fcn.0043210d
pop ecx
pop ecx
rol dh, 0x45
cld
add dl, byte [eax - 0x18]
pop ecx
mov dh, 0
add byte [ecx + 0x59], bl
push 0
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.0040c1a0
call fcn.0043d4e0
test al, al
je 0x426ae3
into
pushal
inc ebx
invalid
call fcn.0043d2fd
test al, al
je 0x426b0a
jae 0x426ad2
xor eax, 0x6ec43af9
jo 0x426b66
push ss
xor eax, 0xa9ba6398
cld
xchg edi, eax
xor dword [ebx + 0x17d47c65], ebp
out 0x30, al
mov byte [0x48ee9676], al
call fcn.0043d3cc
test al, al
je 0x426b32
inc ebp
xor esi, eax
js 0x426aa9
leave
movsd dword es:[edi], dword [esi]
cmpsb byte [esi], byte es:[edi]
mov byte [0x834f1802], al
mov bh, 0x4a
wait
invalid
xor esi, esi
cmp dword [ebp - 0x30], esi
jbe 0x426b48
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401fa0
push esi
push 1
lea ecx, [ebp - 0x40]
call fcn.004253f2
mov edi, dword [ebp - 0xf4]
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.00425c2a
push esi
push 1
lea ecx, [ebp - 0x28]
call fcn.004253f2
push esi
push 1
lea ecx, [ebp + 0xc]
call fcn.004253f2
mov eax, edi
add dword [ebp - 0x7c1727b3], ecx
call 0x6a996b70
add dword [ebp + 0x78e80c4d], ecx
call 0xc7ce6b7b
call fcn.0043a1c4
ret