Function at 0x428a10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x4b206c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x210]
mov dword [ebp - 0x214], 0
mov ebx, ecx
mov dword [ebp - 0x22c], 0
push 0
push eax
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x228], 0
call fcn.00463e50
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
add esp, 0xc
xorps xmm0, xmm0
movlpd qword [ebp - 0x220], xmm0
push 2
push 0
push 0xffffffffffffff96
push dword [ebx + 8]
call esi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x214]
push 0
push eax
push 0x6a
lea eax, [ebp - 0x210]
push eax
push dword [ebx + 8]
call edi
cmp dword [ebp - 0x214], 0x6a
jne 0x428cc2
mov ecx, str.546865576F726C64_86C36F73_2C25_4a7d_91EA_F5581018A42D
lea eax, [ebp - 0x210]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x428ad9
test dx, dx
je 0x428ad5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x428ad9
add eax, 4
add ecx, 4
test dx, dx
jne 0x428ab3
xor eax, eax
jmp 0x428ade
sbb eax, eax
or eax, 1
test eax, eax
jne 0x428cc2
push 1
push eax
push 0xffffffffffffff92
push dword [ebx + 8]
call esi
push 0
lea eax, [ebp - 0x214]
push eax
push 4
lea eax, [ebp - 0x22c]
push eax
push dword [ebx + 8]
call edi
mov eax, dword [ebp - 0x22c]
add eax, dword [ebp - 0x214]
push 1
push 0
neg eax
push eax
push dword [ebx + 8]
call esi
push 0
lea eax, [ebp - 0x214]
push eax
push 4
lea eax, [ebp - 0x228]
push eax
push dword [ebx + 8]
call edi
cmp dword [ebp - 0x228], 0
mov dword [ebp - 0x234], 0
jbe 0x428c70
mov eax, dword [ebp - 0x21c]
lea esi, [ebx + 0x26e4]
mov dword [ebp - 0x218], eax
lea edi, [ebx + 0x5cfb8]
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x21c], eax
push 0
lea eax, [ebp - 0x214]
push eax
push 0x20
push edi
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [edi + 0x18]
add dword [edi + 8], eax
mov eax, dword [edi + 0x1c]
adc dword [edi + 0xc], eax
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 8]
mov eax, dword [edi + 0x14]
sbb eax, dword [edi + 0xc]
add ecx, 1
mov edx, dword [ebp - 0x218]
adc eax, 0
mov dword [edi], 0
add dword [ebp - 0x21c], ecx
mov dword [edi + 4], 0
adc edx, eax
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
lea eax, [ebp - 0x224]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x218], edx
mov dword [ebp - 0x224], edi
cmp eax, ecx
jae 0x428c2c
mov eax, dword [esi]
lea ebx, [ebp - 0x224]
cmp eax, ebx
mov ebx, dword [ebp - 0x230]
ja 0x428c2c
lea ebx, [ebp - 0x224]
sub ebx, eax
sar ebx, 2
cmp ecx, dword [esi + 8]
jne 0x428c16
push ecx
mov ecx, esi
call fcn.00429ed0
mov edx, dword [ebp - 0x218]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x428c24
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
mov dword [ecx], eax
mov ebx, dword [ebp - 0x230]
jmp 0x428c48
cmp ecx, dword [esi + 8]
jne 0x428c3f
push ecx
mov ecx, esi
call fcn.00429ed0
mov edx, dword [ebp - 0x218]
mov eax, dword [esi + 4]
test eax, eax
je 0x428c48
mov dword [eax], edi
mov eax, dword [ebp - 0x234]
add edi, 0x20
add dword [esi + 4], 4
inc eax
mov dword [ebp - 0x234], eax
cmp eax, dword [ebp - 0x228]
jb 0x428b71
mov eax, dword [ebp - 0x21c]
jmp 0x428c7c
mov edx, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebx + 0x5d100]
sub ecx, eax
mov eax, dword [ebx + 0x5d104]
mov dword [ebx + 0x5d118], ecx
sbb eax, edx
mov dword [ebx + 0x5d11c], eax
mov eax, ecx
mov dword [ebx + 0x5d110], eax
mov eax, dword [ebx + 0x5d11c]
mov dword [ebx + 0x5d114], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460c27
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00460c27
mov esp, ebp
pop ebp
ret