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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2e28
mov eax, dword fs:[0]
push eax
sub esp, 0x4cc
mov eax, dword [0x521284]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x4bc], esi
xor eax, eax
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 7
mov word [ebp - 0x440], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x478]
push 1
mov dword [ebp - 0x478], eax
push 0x50cd8c
mov dword [ebp - 0x468], eax
mov dword [ebp - 0x464], 7
mov word [ebp - 0x478], ax
call fcn.00402a90
mov byte [ebp - 4], 1
lea edx, [ebp - 0x478]
cmp dword [ebp - 0x464], 8
lea edi, [esi + 0x4c]
cmovae edx, dword [ebp - 0x478]
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426060
sub ecx, esi
mov eax, edi
sar ecx, 1
cmp dword [edi + 0x14], 8
jb 0x426079
mov eax, dword [edi]
push dword [ebp - 0x4b4]
mov esi, dword [edi + 0x10]
push ecx
push edx
push ecx
mov edx, esi
mov ecx, eax
call fcn.0041ea30
add esp, 0x10
mov dword [ebp - 0x428], 0
cmp esi, eax
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 7
mov ecx, edi
cmovb eax, esi
cmp dword [edi + 0x14], 8
jb 0x4260be
mov ecx, dword [edi]
push eax
push ecx
lea ecx, [ebp - 0x428]
call fcn.00402a90
lea ecx, [ebp - 0x440]
call fcn.00402a30
movups xmm0, xmmword [ebp - 0x428]
xor eax, eax
lea ecx, [ebp - 0x428]
mov word [ebp - 0x428], ax
movups xmmword [ebp - 0x440], xmm0
movq xmm0, qword [ebp - 0x418]
movq qword [ebp - 0x430], xmm0
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 7
call fcn.00402a30
mov edx, dword [ebp - 0x430]
mov eax, SysReAllocString
mov esi, dword [ebp - 0x468]
sub eax, edx
cmp eax, esi
jb 0x426687
cmp dword [ebp - 0x42c], 8
lea ecx, [ebp - 0x440]
push esi
cmovae ecx, dword [ebp - 0x440]
lea eax, [ebp - 0x478]
cmp dword [ebp - 0x464], 8
cmovae eax, dword [ebp - 0x478]
push eax
push edx
push ecx
push ecx
push dword [ebp - 0x4b4]
lea ecx, [ebp - 0x4d8]
call fcn.00402c40
push 9
push str.asu.trace
lea ecx, [ebp - 0x4d8]
mov byte [ebp - 4], 2
call fcn.00403260
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x420], xmm0
movups xmmword [ebp - 0x490], xmm0
movq xmm0, qword [eax + 0x10]
mov word [eax], cx
lea ecx, [ebp - 0x440]
movq qword [ebp - 0x460], xmm0
movq qword [ebp - 0x480], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
call fcn.00402a30
movups xmm0, xmmword [ebp - 0x420]
xor eax, eax
mov dword [ebp - 0x480], 0
lea ecx, [ebp - 0x490]
mov dword [ebp - 0x47c], 7
movups xmmword [ebp - 0x440], xmm0
mov word [ebp - 0x490], ax
movq xmm0, qword [ebp - 0x460]
movq qword [ebp - 0x430], xmm0
call fcn.00402a30
lea ecx, [ebp - 0x4d8]
mov byte [ebp - 4], 1
call fcn.00402a30
mov eax, dword [ebp - 0x4bc]
mov eax, dword [eax + 0x64]
cmp eax, 0xa
je 0x42624f
cmp eax, 0x14
je 0x426243
mov dword [ebp - 0x4b8], 0xa00000
jmp 0x426259
mov dword [ebp - 0x4b8], 0x1400000
jmp 0x426259
mov dword [ebp - 0x4b8], 0x3200000
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.004ce0b0
cmp dword [ebp - 0x42c], 8
lea eax, [ebp - 0x440]
push 0x50f520
cmovae eax, dword [ebp - 0x440]
push eax
lea eax, [ebp - 0x4ac]
mov dword [ebp - 0x4ac], 0
push eax
call fcn.004d3c5a
mov eax, dword [ebp - 0x4ac]
add esp, 0x18
test eax, eax
je 0x4262c8
push eax
push 9
lea eax, [ebp - 0x410]
push 1
push eax
call fcn.004d9e5e
push dword [ebp - 0x4ac]
call fcn.004d3d18
add esp, 0x14
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4262d2
mov eax, dword [edi]
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x4c0], esi
cmp esi, 0xffffffff
je 0x426647
lea eax, [ebp - 0x460]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x426640
mov eax, dword [ebp - 0x460]
push dword [ebp - 0x4c0]
mov esi, dword [ebp - 0x45c]
mov dword [ebp - 0x4b4], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x4ad], 1
test esi, esi
jl 0x42664e
jg 0x426353
mov eax, dword [ebp - 0x4b4]
cmp eax, dword [ebp - 0x4b8]
jb 0x42664e
mov eax, dword [ebp - 0x4bc]
lea esi, [eax + 0x68]
mov byte [eax + 0xd0], 1
mov eax, dword [esi]
test eax, eax
je 0x426370
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea ecx, [ebp - 0x4a8]
call fcn.00402eb0
lea eax, [ebp - 0x4a8]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x458]
call fcn.00402eb0
lea ecx, [ebp - 0x458]
mov byte [ebp - 4], 4
call fcn.00425b70
xor eax, eax
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 7
mov word [ebp - 0x428], ax
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 5
call fcn.004259d0
mov ecx, dword [ebp - 0x418]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x42668c
cmp dword [ebp - 0x414], 8
lea eax, [ebp - 0x428]
push ecx
cmovae eax, dword [ebp - 0x428]
push eax
push 1
push 0x50cda0
push ecx
push dword [ebp - 0x4b4]
lea ecx, [ebp - 0x4d8]
call fcn.00402c40
mov byte [ebp - 4], 6
lea eax, [ebp - 0x4d8]
cmp dword [ebp - 0x4c4], 8
lea ecx, [ebp - 0x458]
push dword [ebp - 0x4c8]
cmovae eax, dword [ebp - 0x4d8]
push eax
call fcn.00403260
lea ecx, [ebp - 0x4d8]
call fcn.00402a30
xor eax, eax
mov dword [ebp - 0x490], 0
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x47c], 7
mov word [ebp - 0x490], ax
lea edx, [ebp - 0x490]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x4a8]
call fcn.00425dc0
lea edx, [ebp - 0x490]
lea ecx, [ebp - 0x458]
call fcn.00425bf0
cmp dword [ebp - 0x444], 8
lea eax, [ebp - 0x458]
push dword [ebp - 0x448]
cmovae eax, dword [ebp - 0x458]
lea ecx, [ebp - 0x4a8]
push eax
call fcn.00402a90
lea ecx, [ebp - 0x490]
call fcn.00402a30
lea ecx, [ebp - 0x428]
call fcn.00402a30
lea ecx, [ebp - 0x458]
mov byte [ebp - 4], 3
call fcn.00402a30
push ecx
lea edx, [ebp - 0x4a8]
mov ecx, edi
call fcn.00425e70
add esp, 4
test al, al
je 0x426558
push 1
mov ecx, edi
call fcn.00420cb0
add esp, 4
test eax, eax
je 0x426524
cmp eax, 1
jne 0x426558
push ecx
mov dl, al
mov ecx, edi
call fcn.00416380
add esp, 4
test al, al
je 0x426558
cmp dword [edi + 0x14], 8
jb 0x42652c
mov edi, dword [edi]
push 0
push 0x200080
push 5
push 0
push 3
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi], eax
test eax, eax
je 0x426558
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
mov edi, dword [ebp - 0x4bc]
push esi
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4f4350]
mov ecx, edi
call esi
push 8
mov dword [ebp - 0x458], 0
lea ecx, [ebp - 0x458]
push str.keeplogs
mov byte [ebp - 0x4ad], al
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0xf
mov byte [ebp - 0x458], 0
call fcn.004033f0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x458]
cmp dword [ebp - 0x444], 0x10
lea ecx, [ebp - 0x410]
mov esi, dword [ebp - 0x458]
cmovae eax, esi
nop dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4265f0
test dl, dl
je 0x4265ec
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4265f0
add ecx, 2
add eax, 2
test dl, dl
jne 0x4265d0
xor eax, eax
jmp 0x4265f5
sbb eax, eax
or eax, 1
test eax, eax
je 0x426601
push ecx
mov ecx, edi
call fcn.0041d350
mov eax, dword [ebp - 0x444]
cmp eax, 0x10
jb 0x426633
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x426629
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426691
push ecx
push esi
call fcn.004cc5cc
add esp, 8
lea ecx, [ebp - 0x4a8]
call fcn.00402a30
jmp 0x42664e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x4ad], 0
lea ecx, [ebp - 0x478]
call fcn.00402a30
lea ecx, [ebp - 0x440]
call fcn.00402a30
mov al, byte [ebp - 0x4ad]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cc21a
mov esp, ebp
pop ebp
ret 4
call fcn.004020e0
call fcn.004020e0
call fcn.004d0d0a
int3