Function at 0x4249a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x4e9154]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp + 8]
push esi
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x50], eax
je 0x424e8a
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp - 0x58]
push edi
mov edi, dword [ebp - 0x5c]
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], edx
nop
mov eax, dword [ecx + 0x10]
xorps xmm0, xmm0
mov ecx, dword [ecx + 0x14]
movlpd qword [ebp - 0x40], xmm0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
cmp esi, ecx
jb 0x424c31
ja 0x424a06
cmp edx, eax
jb 0x424c31
mov eax, dword [ebp - 0x60]
cmp esi, dword [eax + 0x1c]
ja 0x424c31
jb 0x424a1d
cmp edx, dword [eax + 0x18]
ja 0x424c31
movzx esi, word [eax + 0x20]
add esi, eax
mov dword [ebp - 0x2c], esi
mov dl, byte [esi]
mov byte [ebp - 0x2d], dl
test dl, dl
je 0x424c31
mov ecx, dword [ebp - 0x3c]
mov al, dl
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x40]
mov byte [ebp - 0x21], al
mov dword [ebp - 0x28], ecx
mov bl, al
mov bh, al
shr bl, 4
and bh, 0xf
test bl, bl
jne 0x424a56
xor eax, eax
jmp 0x424a62
movzx eax, bh
movzx ecx, bl
add ecx, eax
movsx eax, byte [ecx + esi]
cdq
movzx ecx, bl
mov esi, eax
movzx eax, bh
dec ecx
add ecx, eax
mov dword [ebp - 0x54], eax
mov edi, edx
cmp ecx, eax
jle 0x424a9d
mov ebx, dword [ebp - 0x2c]
nop word [eax + eax]
movzx eax, byte [ecx + ebx]
shld edi, esi, 8
cdq
shl esi, 8
add eax, esi
mov esi, eax
adc edi, edx
dec ecx
cmp ecx, dword [ebp - 0x54]
jg 0x424a80
mov al, byte [ebp - 0x2d]
jmp 0x424aa0
mov al, byte [ebp - 0x21]
add dword [ebp - 0x28], esi
xorps xmm0, xmm0
movzx edx, al
adc dword [ebp - 0x20], edi
mov eax, edx
movlpd qword [ebp - 0x5c], xmm0
and eax, 0xf
mov ebx, dword [ebp - 0x58]
mov ecx, eax
mov edi, dword [ebp - 0x5c]
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x3c], eax
jbe 0x424ae8
mov esi, dword [ebp - 0x2c]
nop dword [eax]
movzx eax, byte [ecx + esi]
shld ebx, edi, 8
cdq
shl edi, 8
add edi, eax
adc ebx, edx
sub ecx, 1
jne 0x424ad0
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
add eax, edi
mov esi, dword [ebp - 0x4c]
adc ecx, ebx
cmp dword [ebp - 0x34], esi
mov esi, dword [ebp - 0x2c]
ja 0x424b1e
jb 0x424b0a
mov esi, dword [ebp - 0x48]
cmp dword [ebp - 0x38], esi
mov esi, dword [ebp - 0x2c]
ja 0x424b1e
cmp dword [ebp - 0x4c], ecx
jb 0x424bde
ja 0x424b1e
cmp dword [ebp - 0x48], eax
jb 0x424bde
shr edx, 4
inc esi
add edx, dword [ebp - 0x3c]
add esi, edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x2c], esi
mov dl, byte [esi]
mov byte [ebp - 0x2d], dl
mov al, dl
mov byte [ebp - 0x21], al
test dl, dl
jne 0x424a44
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x44]
mov esi, dword [edx + 0x30]
test esi, esi
je 0x424b81
cmp eax, dword [edx + 0x24]
jb 0x424b81
ja 0x424b5e
cmp ecx, dword [edx + 0x20]
jb 0x424b81
mov eax, dword [edx + 0x28]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [edx + 0x2c]
adc eax, dword [edx + 0x24]
cmp dword [ebp - 0x20], eax
jb 0x424d29
ja 0x424b81
cmp ecx, dword [ebp - 0x3c]
jb 0x424d29
cmp byte [ebp + 0x1c], 0
je 0x424d29
mov eax, dword [ebp - 0x20]
cmp eax, dword [edx + 0x24]
jb 0x424d29
ja 0x424ba2
cmp ecx, dword [edx + 0x20]
jb 0x424d29
test esi, esi
je 0x424bb9
push esi
call fcn.0043e836
mov edx, dword [ebp - 0x44]
add esp, 4
mov dword [edx + 0x30], 0
mov esi, dword [edx + 0x38]
mov eax, esi
mov ecx, dword [edx + 0x3c]
or eax, ecx
jne 0x424c62
test ebx, ebx
ja 0x424c42
jb 0x424bd7
cmp edi, 0xfa0
ja 0x424c42
mov esi, edi
mov dword [ebp - 0x2c], ebx
jmp 0x424c4e
push esi
call fcn.004258b0
add esp, 4
or eax, edx
jne 0x424c0f
xorps xmm0, xmm0
movlpd qword [ebp - 0x40], xmm0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x38]
sub edi, eax
sbb ebx, 0
jmp 0x424b42
mov ecx, dword [ebp - 0x48]
sub ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x4c]
sbb eax, dword [ebp - 0x34]
add dword [ebp - 0x28], ecx
adc dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x38]
sub edi, eax
sbb ebx, 0
jmp 0x424b42
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], ecx
jmp 0x424b48
mov esi, 0xfa0
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
mov dword [edx + 0x38], ecx
mov dword [edx + 0x3c], eax
mov dword [edx + 0x40], edi
mov dword [edx + 0x44], ebx
jmp 0x424cd9
add esi, dword [edx + 0x40]
mov eax, dword [ebp - 0x28]
adc ecx, dword [edx + 0x44]
cmp dword [ebp - 0x20], ecx
jb 0x424cb7
ja 0x424c76
cmp eax, esi
jbe 0x424cb7
test ebx, ebx
ja 0x424c9a
jb 0x424c84
cmp edi, 0xfa0
ja 0x424c9a
mov dword [edx + 0x38], eax
mov esi, edi
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], ebx
mov dword [edx + 0x3c], eax
mov dword [edx + 0x40], edi
mov dword [edx + 0x44], ebx
jmp 0x424cd9
mov dword [edx + 0x38], eax
mov esi, 0xfa0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], 0
mov dword [edx + 0x3c], eax
mov dword [edx + 0x40], edi
mov dword [edx + 0x44], ebx
jmp 0x424cd9
sub esi, eax
sbb ecx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], ecx
test ecx, ecx
ja 0x424ccd
jb 0x424cd9
cmp esi, 0xfa0
jbe 0x424cd9
mov esi, 0xfa0
mov dword [ebp - 0x2c], 0
mov eax, dword [edx + 0x48]
push 0x4ef8e0
movzx ecx, byte [eax + 0xd]
movzx eax, word [eax + 0xb]
imul ecx, eax
imul ecx, esi
push ecx
call fcn.0043f076
add esp, 8
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x424d29
mov edx, dword [ebp - 0x44]
push dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x28]
push esi
push dword [ebp - 0x20]
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 0x20]
mov dword [edx + 0x20], ecx
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 0x2c]
push ecx
mov ecx, edx
mov dword [edx + 0x28], esi
mov dword [edx + 0x2c], eax
call fcn.00424fc0
mov eax, dword [ebp + 0x14]
sub esp, 8
mov edx, ebx
mov ecx, edi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4bf960]
movsd qword [esp], xmm0
call fcn.0043eb90
sub esp, 8
movsd qword [esp], xmm0
call fcn.004896e9
add esp, 0x10
fstp qword [ebp - 0x5c]
movsd xmm0, qword [ebp - 0x5c]
call fcn.0043ea61
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x54], eax
mov ecx, dword [edx + 0x48]
mov dl, byte [ecx + 0xd]
movzx ecx, word [ecx + 0xb]
movzx esi, dl
mov dword [ebp - 0x38], esi
movzx esi, cx
imul esi, dword [ebp - 0x38]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 0x21], dl
mov edx, dword [ebp - 0x44]
imul esi, eax
mov eax, ecx
or eax, dword [ebp - 0x20]
mov dword [ebp - 0x34], esi
jne 0x424db7
push esi
push 0
push dword [ebp - 0x50]
call fcn.00481c80
add esp, 0xc
jmp 0x424e67
cmp dword [edx + 0x30], 0
je 0x424e10
mov esi, dword [edx + 0x24]
mov eax, dword [edx + 0x20]
cmp dword [ebp - 0x20], esi
jb 0x424e10
ja 0x424dce
cmp ecx, eax
jb 0x424e10
mov esi, dword [edx + 0x28]
add esi, eax
mov eax, dword [edx + 0x2c]
mov dword [ebp - 0x3c], esi
adc eax, dword [edx + 0x24]
mov esi, dword [ebp - 0x34]
cmp dword [ebp - 0x20], eax
ja 0x424e10
jb 0x424deb
cmp ecx, dword [ebp - 0x3c]
jae 0x424e10
sub ecx, dword [edx + 0x20]
push esi
mov esi, dword [ebp - 0x2c]
movzx eax, si
imul ecx, eax
imul ecx, dword [ebp - 0x38]
add ecx, dword [edx + 0x30]
push ecx
push dword [ebp - 0x50]
call fcn.00481180
mov esi, dword [ebp - 0x34]
add esp, 0xc
jmp 0x424e67
mov eax, dword [ebp - 0x2c]
xorps xmm0, xmm0
movzx eax, ax
cdq
mov esi, eax
movlpd qword [ebp - 0x1c], xmm0
movzx eax, byte [ebp - 0x21]
mov ecx, edx
cdq
push edx
push eax
push ecx
push esi
mov dword [ebp - 0xc], 0
call fcn.0043eed0
push dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
push ecx
push edx
push eax
call fcn.0043eed0
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x44]
push eax
push esi
push dword [ebp - 0x50]
push dword [edx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x54]
add edx, eax
mov ecx, dword [ebp - 0x60]
adc dword [ebp - 0x4c], 0
add dword [ebp - 0x50], esi
sub dword [ebp + 0x14], eax
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x48], edx
jne 0x4249e0
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0043e83b
mov esp, ebp
pop ebp
ret 0x18