Function at 0x426f68
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
mov eax, 0x686118
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
call fcn.006658cc
mov word [ebp - 0x40], 0xc
lea eax, [ebp - 4]
call fcn.00404fd8
inc dword [ebp - 0x34]
xor edx, edx
mov word [ebp - 0x40], 0x18
mov word [ebp - 0x40], 0x24
mov word [ebp - 0x40], 0x30
lea eax, [ebp - 8]
call fcn.0040509c
inc dword [ebp - 0x34]
lea edx, [ebp - 8]
mov eax, ebx
call fcn.006736e4
push eax
dec dword [ebp - 0x34]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00673604
pop ecx
test cl, cl
je 0x42723e
push 0
push 0x80
push 3
push 0
push 3
push 0
cmp dword [ebx], 0
je 0x426fea
mov eax, dword [ebx]
jmp 0x426fef
mov eax, 0x68461e
push eax
call sub.KERNEL32.DLL_CreateFileW
mov ebx, eax
mov word [ebp - 0x40], 0x24
cmp ebx, 0xffffffff
je 0x42723e
lea edx, [ebp - 0x58]
push edx
push ebx
call sub.KERNEL32.DLL_GetFileSizeEx
test eax, eax
je 0x427236
mov esi, dword [ebp - 0x58]
cmp esi, 0x100000
jbe 0x4270c1
mov dword [ebp - 0x68], esi
xor eax, eax
mov dword [ebp - 0x64], eax
fild qword [ebp - 0x68]
fmul dword [0x427298]
fmul dword [0x42729c]
call fcn.0066cbf8
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fmul dword [0x4272a0]
fstp dword [ebp - 0x5c]
lea edx, [ebp - 4]
push edx
push 1
push dword [ebp - 0x5c]
call fcn.004272a8
add esp, 0xc
mov word [ebp - 0x40], 0x3c
lea eax, [ebp - 0x10]
call fcn.00404fd8
push eax
inc dword [ebp - 0x34]
mov edx, 0x684620
lea eax, [ebp - 0xc]
call fcn.00673474
inc dword [ebp - 0x34]
lea edx, [ebp - 0xc]
lea eax, [ebp - 4]
pop ecx
call fcn.00673654
lea edx, [ebp - 0x10]
lea eax, [ebp - 4]
call fcn.0067362c
dec dword [ebp - 0x34]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00673604
dec dword [ebp - 0x34]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00673604
jmp 0x4271dd
mov esi, dword [ebp - 0x58]
cmp esi, 0x400
jbe 0x427167
mov dword [ebp - 0x74], esi
xor eax, eax
mov dword [ebp - 0x70], eax
fild qword [ebp - 0x74]
fmul dword [0x4272a4]
fmul dword [0x42729c]
call fcn.0066cbf8
mov dword [ebp - 0x78], eax
fild dword [ebp - 0x78]
fmul dword [0x4272a0]
fstp dword [ebp - 0x60]
lea edx, [ebp - 4]
push edx
push 1
push dword [ebp - 0x60]
call fcn.004272a8
add esp, 0xc
mov word [ebp - 0x40], 0x48
lea eax, [ebp - 0x18]
call fcn.00404fd8
push eax
inc dword [ebp - 0x34]
mov edx, 0x684624
lea eax, [ebp - 0x14]
call fcn.00673474
inc dword [ebp - 0x34]
lea edx, [ebp - 0x14]
lea eax, [ebp - 4]
pop ecx
call fcn.00673654
lea edx, [ebp - 0x18]
lea eax, [ebp - 4]
call fcn.0067362c
dec dword [ebp - 0x34]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00673604
dec dword [ebp - 0x34]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00673604
jmp 0x4271dd
mov word [ebp - 0x40], 0x54
lea eax, [ebp - 0x24]
call fcn.00404fd8
push eax
inc dword [ebp - 0x34]
mov edx, str._byte
lea eax, [ebp - 0x20]
call fcn.00673474
inc dword [ebp - 0x34]
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x58]
call fcn.0041dc2c
inc dword [ebp - 0x34]
pop edx
pop ecx
call fcn.00673654
lea edx, [ebp - 0x24]
lea eax, [ebp - 4]
call fcn.0067362c
dec dword [ebp - 0x34]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00673604
dec dword [ebp - 0x34]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00673604
dec dword [ebp - 0x34]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00673604
mov word [ebp - 0x40], 0x60
lea eax, [ebp - 0x2c]
call fcn.00404fd8
push eax
inc dword [ebp - 0x34]
mov edx, 0x68462e
lea eax, [ebp - 0x28]
call fcn.00673474
inc dword [ebp - 0x34]
lea edx, [ebp - 0x28]
lea eax, [ebp - 4]
pop ecx
call fcn.00673654
lea edx, [ebp - 0x2c]
lea eax, [ebp - 4]
call fcn.0067362c
dec dword [ebp - 0x34]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00673604
dec dword [ebp - 0x34]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00673604
push ebx
call sub.KERNEL32.DLL_CloseHandle
test eax, eax
mov word [ebp - 0x40], 0x18
jmp 0x427251
mov word [ebp - 0x40], 0x78
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
call fcn.0067362c
mov eax, dword [ebp + 8]
mov edx, 2
mov word [ebp - 0x40], 0x84
push eax
lea eax, [ebp - 4]
dec dword [ebp - 0x34]
call fcn.00673604
pop eax
mov word [ebp - 0x40], 0x78
inc dword [ebp - 0x34]
mov edx, dword [ebp - 0x50]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret