Function at 0x426d20
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485903
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x4ae070]
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 edi, ecx
xor eax, eax
mov dword [ebp - 0x414], 7
mov dword [ebp - 0x418], 0
mov word [ebp - 0x428], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x478]
push 1
push 0x49586c
mov dword [ebp - 0x464], 7
mov dword [ebp - 0x468], eax
mov word [ebp - 0x478], ax
call fcn.00401830
mov byte [ebp - 4], 1
lea edx, [ebp - 0x478]
cmp dword [ebp - 0x464], 8
cmovae edx, dword [ebp - 0x478]
cmp word [edx], 0
jne 0x426dbb
xor ecx, ecx
jmp 0x426dcf
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426dc0
sub ecx, esi
sar ecx, 1
push ecx
push ecx
lea esi, [edi + 0x4c]
push edx
mov ecx, esi
call fcn.004222d0
push eax
push 0
lea eax, [ebp - 0x440]
mov ecx, esi
push eax
call fcn.00409e00
mov ebx, eax
lea eax, [ebp - 0x428]
cmp eax, ebx
je 0x426e40
mov eax, dword [ebp - 0x414]
cmp eax, 8
jb 0x426e17
inc eax
lea ecx, [ebp - 0x428]
push eax
push dword [ebp - 0x428]
call fcn.00401e60
xor eax, eax
mov dword [ebp - 0x414], 7
push ebx
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x418], 0
mov word [ebp - 0x428], ax
call fcn.00401a60
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x42c]
cmp eax, 8
jb 0x426e62
inc eax
lea ecx, [ebp - 0x440]
push eax
push dword [ebp - 0x440]
call fcn.00401e60
lea eax, [ebp - 0x478]
push eax
lea edx, [ebp - 0x428]
lea ecx, [ebp - 0x458]
call fcn.00428440
push str.asu.trace
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x440]
call fcn.004027f0
add esp, 8
mov ebx, eax
lea eax, [ebp - 0x428]
cmp eax, ebx
je 0x426ee6
mov eax, dword [ebp - 0x414]
cmp eax, 8
jb 0x426ebd
inc eax
lea ecx, [ebp - 0x428]
push eax
push dword [ebp - 0x428]
call fcn.00401e60
xor eax, eax
mov dword [ebp - 0x414], 7
push ebx
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x418], 0
mov word [ebp - 0x428], ax
call fcn.00401a60
mov eax, dword [ebp - 0x42c]
cmp eax, 8
jb 0x426f04
inc eax
lea ecx, [ebp - 0x440]
push eax
push dword [ebp - 0x440]
call fcn.00401e60
xor eax, eax
mov byte [ebp - 4], 1
mov word [ebp - 0x440], ax
mov eax, dword [ebp - 0x444]
mov dword [ebp - 0x42c], 7
mov dword [ebp - 0x430], 0
cmp eax, 8
jb 0x426f43
inc eax
lea ecx, [ebp - 0x458]
push eax
push dword [ebp - 0x458]
call fcn.00401e60
mov eax, dword [edi + 0x64]
cmp eax, 0xa
je 0x426f68
cmp eax, 0x14
je 0x426f5c
mov dword [ebp - 0x480], 0xa00000
jmp 0x426f72
mov dword [ebp - 0x480], 0x1400000
jmp 0x426f72
mov dword [ebp - 0x480], 0x3200000
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.0045c4b0
cmp dword [ebp - 0x414], 8
lea eax, [ebp - 0x428]
push 0x49e83c
cmovae eax, dword [ebp - 0x428]
push eax
lea eax, [ebp - 0x47c]
mov dword [ebp - 0x47c], 0
push eax
call fcn.0046c64f
mov eax, dword [ebp - 0x47c]
add esp, 0x18
test eax, eax
je 0x426fe1
push eax
push 9
lea eax, [ebp - 0x410]
push 1
push eax
call fcn.0046dbf6
push dword [ebp - 0x47c]
call fcn.00466ff3
add esp, 0x14
xor bl, bl
cmp dword [esi + 0x14], 8
jb 0x426fed
mov eax, dword [esi]
jmp 0x426fef
mov eax, esi
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x48c], eax
cmp eax, 0xffffffff
jne 0x42701a
xor bl, bl
jmp 0x4271e2
lea ecx, [ebp - 0x460]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x427048
mov eax, dword [ebp - 0x460]
mov bl, 1
mov dword [ebp - 0x488], eax
mov eax, dword [ebp - 0x45c]
mov dword [ebp - 0x484], eax
jmp 0x427060
mov eax, dword [ebp - 0x45c]
mov dword [ebp - 0x484], eax
mov eax, dword [ebp - 0x460]
mov dword [ebp - 0x488], eax
push dword [ebp - 0x48c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x4271e2
cmp dword [ebp - 0x484], 0
jl 0x4271e2
jg 0x427095
mov eax, dword [ebp - 0x488]
cmp eax, dword [ebp - 0x480]
jb 0x4271e2
mov eax, dword [edi + 0x68]
lea ebx, [edi + 0x68]
mov byte [edi + 0xd0], 1
test eax, eax
je 0x4270ad
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [ebp - 0x42c], 7
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x430], 0
mov word [ebp - 0x440], ax
call fcn.00401fa0
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 5
call fcn.00429270
lea edx, [ebp - 0x440]
mov ecx, esi
call fcn.00426b60
test al, al
je 0x427100
mov ecx, edi
call fcn.00421bc0
mov eax, dword [edi]
mov ecx, edi
push ebx
mov eax, dword [eax]
call eax
push 8
push str.keeplogs
lea ecx, [ebp - 0x458]
mov dword [ebp - 0x444], 0xf
mov bl, al
mov dword [ebp - 0x448], 0
mov byte [ebp - 0x458], 0
call fcn.00401b30
mov byte [ebp - 4], 6
lea eax, [ebp - 0x458]
mov esi, dword [ebp - 0x444]
lea ecx, [ebp - 0x410]
cmp esi, 0x10
cmovae eax, dword [ebp - 0x458]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x427178
test dl, dl
je 0x427174
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x427178
add ecx, 2
add eax, 2
test dl, dl
jne 0x427158
xor eax, eax
jmp 0x42717d
sbb eax, eax
or eax, 1
test eax, eax
je 0x42718f
push ecx
mov ecx, edi
call fcn.00420c40
mov esi, dword [ebp - 0x444]
cmp esi, 0x10
jb 0x4271a9
lea eax, [esi + 1]
push eax
push dword [ebp - 0x458]
lea ecx, [ebp - 0x458]
call fcn.00401ec0
mov eax, dword [ebp - 0x42c]
mov dword [ebp - 0x444], 0xf
mov dword [ebp - 0x448], 0
mov byte [ebp - 0x458], 0
cmp eax, 8
jb 0x4271e2
inc eax
lea ecx, [ebp - 0x440]
push eax
push dword [ebp - 0x440]
call fcn.00401e60
mov eax, dword [ebp - 0x464]
cmp eax, 8
jb 0x427200
inc eax
lea ecx, [ebp - 0x478]
push eax
push dword [ebp - 0x478]
call fcn.00401e60
xor eax, eax
mov dword [ebp - 0x464], 7
mov word [ebp - 0x478], ax
mov eax, dword [ebp - 0x414]
mov dword [ebp - 0x468], 0
cmp eax, 8
jb 0x42723b
inc eax
lea ecx, [ebp - 0x428]
push eax
push dword [ebp - 0x428]
call fcn.00401e60
mov al, bl
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.00459202
mov esp, ebp
pop ebp
ret 4