Function at 0x428570
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf5d1
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x4fb068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
push ecx
mov edx, dword [edi + 4]
mov ecx, dword [edi]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0xcc], ebx
call fcn.00429bc0
mov eax, dword [edi]
push 0x80
push 3
push ecx
mov dword [edi + 4], eax
mov ecx, esi
push 0
mov byte [ebx], 0
call fcn.00401de0
mov edx, 0x80000000
mov ecx, eax
call fcn.0041aa20
mov esi, eax
add esp, 0x14
cmp esi, 0xffffffff
je 0x428765
test esi, esi
je 0x428765
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x30], xmm0
call fcn.004114c2
mov dword [ebp - 4], 0
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0xe4]
movlpd qword [ebp - 0xd4], xmm0
push eax
lea eax, [ebp - 0xd4]
movlpd qword [ebp - 0xe4], xmm0
push eax
push dword [ebp - 0x18]
movlpd qword [ebp - 0xdc], xmm0
call fcn.00428d20
test al, al
je 0x4286ea
mov ebx, dword [ebp - 0xd4]
mov ecx, ebx
mov eax, dword [ebp - 0xd0]
add ecx, 0xffffffff
adc eax, 0xffffffff
test eax, eax
ja 0x4286e4
jb 0x428680
cmp ecx, 0x4ffffe
ja 0x4286e4
lea eax, [ebp - 0xc5]
mov byte [ebp - 0xc5], 0
push eax
lea ecx, [ebp - 0x30]
push ecx
push ebx
call fcn.00411bcc
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], 0
call fcn.00401e50
push 0
lea ecx, [ebp - 0x18]
push ecx
mov eax, dword [eax]
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x18]
xor ecx, ecx
cmp ecx, dword [ebp - 0xd0]
ja 0x4286e4
jb 0x4286cb
cmp eax, ebx
jae 0x4286e4
mov byte [ebp - 0xc5], cl
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0xc5]
push ecx
push edx
push eax
mov ecx, edx
call fcn.00411bcc
mov ebx, dword [ebp - 0xcc]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x30]
call fcn.004075b0
test al, al
jne 0x428756
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x3c]
movq qword [ebp - 0x3c], xmm0
call fcn.004114c2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc4]
call fcn.00430890
lea ecx, [ebp - 0x30]
call fcn.00401e50
mov edx, dword [eax]
lea eax, [ebp - 0x3c]
push eax
call fcn.0041148d
push eax
push edx
lea ecx, [ebp - 0xc4]
call fcn.00430ac0
test al, al
jne 0x428785
mov byte [ebx], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004114bd
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004114bd
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00496c8f
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [ebp - 0x3c]
call fcn.0041148d
xor edx, edx
mov ecx, 0x3e8
div ecx
test edx, edx
jne 0x428747
lea ecx, [ebp - 0x3c]
call fcn.0041148d
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
mov esi, edx
shr esi, 6
mov dword [ebp - 0xd0], esi
test esi, esi
je 0x428b49
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x24]
push eax
push esi
mov ecx, eax
call fcn.004295f0
lea ecx, [ebp - 0x3c]
call fcn.00401e50
mov ecx, dword [eax]
imul eax, esi, 0x3e8
push eax
push ecx
push dword [ebp - 0x24]
call fcn.00498960
mov ebx, dword [ebp - 0x24]
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov eax, 0x10624dd3
mov ecx, dword [ebp - 0x20]
add esp, 0xc
sub ecx, ebx
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x428885
xor esi, esi
cmp dword [ebx + esi], 0x23ab45db
jne 0x4288d4
inc dword [ebp - 0x18]
xor eax, eax
mov word [ebx + esi + 0x282], ax
mov word [ebx + esi + 0x382], ax
mov word [ebx + esi + 0x3ca], ax
mov eax, 0x10624dd3
mov ecx, dword [ebp - 0x20]
add esi, 0x3e8
mov ebx, dword [ebp - 0x24]
sub ecx, ebx
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x18], eax
jb 0x428831
mov esi, dword [ebp - 0xd0]
mov ecx, dword [edi + 8]
mov eax, 0x4ec4ec4f
sub ecx, dword [edi]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jbe 0x428952
mov dword [ebp - 0x18], 0x2762762
call fcn.00401b90
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.00402100
add esp, 8
mov eax, dword [eax]
cmp esi, eax
ja 0x428b6b
jmp 0x42894a
mov ecx, dword [ebp - 0xcc]
mov byte [ecx], 1
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x42874a
mov ecx, dword [ebp - 0x1c]
mov eax, 0x10624dd3
sub ecx, esi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x3e8
mov eax, esi
cmp ecx, 0x1000
jb 0x428926
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428b70
push ecx
push esi
call fcn.00497076
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
jmp 0x42874a
push esi
mov ecx, edi
call fcn.00429320
lea ecx, [ebp - 0xa4]
call fcn.00426a30
mov byte [ebp - 4], 3
mov eax, 0x10624dd3
mov ecx, dword [ebp - 0x20]
xor ebx, ebx
mov esi, dword [ebp - 0x24]
sub ecx, esi
imul ecx
mov dword [ebp - 0x18], esi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x428ab6
xor eax, eax
mov dword [ebp - 0xd0], eax
nop dword [eax]
add eax, 4
add esi, eax
push esi
call fcn.004020d0
add esp, 4
lea ecx, [ebp - 0xa4]
push eax
push esi
call fcn.00401ed0
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0xd0]
add ecx, 0x284
add esi, ecx
push esi
call fcn.004020d0
add esp, 4
lea ecx, [ebp - 0x8c]
push eax
push esi
call fcn.00401ed0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0xd0]
mov eax, dword [ecx + edx + 0x3cc]
lea esi, [edx + 0x384]
mov dword [ebp - 0x5c], eax
add esi, ecx
mov eax, dword [ecx + edx + 0x3d0]
mov dword [ebp - 0x58], eax
mov eax, dword [ecx + edx + 0x3d4]
mov dword [ebp - 0x54], eax
mov eax, dword [ecx + edx + 0x3d8]
mov dword [ebp - 0x50], eax
mov eax, dword [ecx + edx + 0x3dc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ecx + edx + 0x3e0]
push esi
mov dword [ebp - 0x48], eax
call fcn.004020d0
add esp, 4
lea ecx, [ebp - 0x74]
push eax
push esi
call fcn.00401ed0
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0xd0]
mov eax, dword [ecx + esi + 0x3e4]
mov dword [ebp - 0x44], eax
mov eax, dword [edi + 4]
mov byte [ebp - 0x40], 0
cmp dword [edi + 8], eax
je 0x428a70
push eax
push 0x68
call fcn.00401b80
add esp, 8
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, eax
call fcn.00427520
add dword [edi + 4], 0x68
jmp 0x428a7f
lea ecx, [ebp - 0xa4]
push ecx
push eax
mov ecx, edi
call fcn.004299c0
mov ecx, dword [ebp - 0x20]
add esi, 0x3e8
mov dword [ebp - 0xd0], esi
mov eax, 0x10624dd3
mov esi, dword [ebp - 0x24]
inc ebx
sub ecx, esi
mov dword [ebp - 0x18], esi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
mov eax, dword [ebp - 0xd0]
jb 0x428990
mov ecx, dword [ebp - 0xcc]
mov byte [ecx], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x74]
call fcn.00401df0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8c]
call fcn.00401df0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa4]
call fcn.00401df0
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x428b49
mov ecx, dword [ebp - 0x1c]
mov eax, 0x10624dd3
sub ecx, esi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x3e8
mov eax, esi
cmp ecx, 0x1000
jb 0x428b2a
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428b75
push ecx
push esi
call fcn.00497076
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004114bd
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004114bd
mov al, 1
jmp 0x428767
call fcn.00402360
call fcn.0049c1ce
call fcn.0049c1ce
int3