Function at 0x4257c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [0x4c4024]
xor eax, esp
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
xor esi, esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
test edi, edi
jne 0x425804
lea eax, [ecx - 0x66]
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0042ca6a
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi]
mov edx, dword [edi + 0x14]
add edx, dword [edi + 0xc]
cmp byte [ecx], 0
je 0x42582c
cmp byte [ecx + 1], 0
je 0x42583e
mov eax, dword [ecx + 0xc]
push 0
push 0
add eax, edx
push eax
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x42582f
mov dword [ecx + 0x1c], edx
mov ecx, dword [edi]
lea edx, [esp + 0xc]
call fcn.004252c0
test eax, eax
je 0x425843
or esi, 0xffffffff
jmp 0x425853
cmp dword [esp + 0xc], 0x2014b50
mov eax, 0xffffff99
cmovne esi, eax
mov eax, dword [edi]
lea edx, [esp + 8]
mov ecx, eax
mov dword [esp + 0xc], eax
call fcn.00425200
mov ecx, dword [esp + 8]
mov dword [esp + 0x78], ecx
test eax, eax
jne 0x425892
mov ecx, dword [esp + 0xc]
lea edx, [esp + 8]
call fcn.00425200
test eax, eax
jne 0x425892
mov eax, dword [esp + 8]
shl eax, 8
add eax, dword [esp + 0x78]
mov dword [esp + 0x20], eax
jmp 0x42589d
mov dword [esp + 0x20], 0
or esi, 0xffffffff
mov eax, dword [edi]
lea edx, [esp + 8]
mov ecx, eax
mov dword [esp + 0x78], eax
call fcn.00425200
mov ecx, dword [esp + 8]
mov dword [esp + 0xc], ecx
test eax, eax
jne 0x4258dc
mov ecx, dword [esp + 0x78]
lea edx, [esp + 8]
call fcn.00425200
test eax, eax
jne 0x4258dc
mov eax, dword [esp + 8]
shl eax, 8
add eax, dword [esp + 0xc]
mov dword [esp + 0x24], eax
jmp 0x4258e7
mov dword [esp + 0x24], 0
or esi, 0xffffffff
mov eax, dword [edi]
lea edx, [esp + 8]
mov ecx, eax
mov dword [esp + 0x78], eax
call fcn.00425200
mov ecx, dword [esp + 8]
mov dword [esp + 0xc], ecx
test eax, eax
jne 0x425926
mov ecx, dword [esp + 0x78]
lea edx, [esp + 8]
call fcn.00425200
test eax, eax
jne 0x425926
mov eax, dword [esp + 8]
shl eax, 8
add eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
jmp 0x425931
mov dword [esp + 0x28], 0
or esi, 0xffffffff
mov eax, dword [edi]
lea edx, [esp + 8]
mov ecx, eax
mov dword [esp + 0x78], eax
call fcn.00425200
mov ecx, dword [esp + 8]
mov dword [esp + 0xc], ecx
test eax, eax
jne 0x425970
mov ecx, dword [esp + 0x78]
lea edx, [esp + 8]
call fcn.00425200
test eax, eax
jne 0x425970
mov eax, dword [esp + 8]
shl eax, 8
add eax, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
jmp 0x42597b
mov dword [esp + 0x2c], 0
or esi, 0xffffffff
mov ecx, dword [edi]
lea edx, [esp + 0x30]
call fcn.004252c0
mov edx, dword [esp + 0x30]
or ecx, 0xffffffff
test eax, eax
cmovne esi, ecx
mov ecx, edx
shr ecx, 0x10
mov eax, ecx
and eax, 0x1f
mov dword [esp + 0x64], eax
mov eax, ecx
shr eax, 5
and eax, 0xf
shr ecx, 9
dec eax
add ecx, 0x7bc
mov dword [esp + 0x68], eax
mov eax, edx
shr eax, 0xb
and eax, 0x1f
mov dword [esp + 0x6c], ecx
mov ecx, dword [edi]
mov dword [esp + 0x60], eax
mov eax, edx
and edx, 0x1f
shr eax, 5
add edx, edx
and eax, 0x3f
mov dword [esp + 0x58], edx
lea edx, [esp + 0x34]
mov dword [esp + 0x5c], eax
call fcn.004252c0
test eax, eax
lea edx, [esp + 0x38]
mov ecx, 0xffffffff
cmovne esi, ecx
mov ecx, dword [edi]
call fcn.004252c0
mov ecx, dword [edi]
lea edx, [esp + 0x3c]
test eax, eax
mov eax, 0xffffffff
cmovne esi, eax
call fcn.004252c0
test eax, eax
lea edx, [esp + 8]
mov eax, 0xffffffff
cmovne esi, eax
mov eax, dword [edi]
mov ecx, eax
mov dword [esp + 0x78], eax
call fcn.00425200
mov ecx, dword [esp + 8]
mov dword [esp + 0xc], ecx
test eax, eax
jne 0x425a59
mov ecx, dword [esp + 0x78]
lea edx, [esp + 8]
call fcn.00425200
test eax, eax
jne 0x425a59
mov eax, dword [esp + 8]
shl eax, 8
add eax, dword [esp + 0xc]
mov dword [esp + 0x40], eax
jmp 0x425a64
mov dword [esp + 0x40], 0
or esi, 0xffffffff
mov eax, dword [edi]
lea edx, [esp + 8]
mov ecx, eax
mov dword [esp + 0x78], eax
call fcn.00425200
mov ecx, dword [esp + 8]
mov dword [esp + 0xc], ecx
test eax, eax
jne 0x425aa3
mov ecx, dword [esp + 0x78]
lea edx, [esp + 8]
call fcn.00425200
test eax, eax
jne 0x425aa3
mov eax, dword [esp + 8]
shl eax, 8
add eax, dword [esp + 0xc]
mov dword [esp + 0x44], eax
jmp 0x425aae
mov dword [esp + 0x44], 0
or esi, 0xffffffff
mov eax, dword [edi]
lea edx, [esp + 8]
mov ecx, eax
mov dword [esp + 0x78], eax
call fcn.00425200
mov ecx, dword [esp + 8]
mov dword [esp + 0xc], ecx
test eax, eax
jne 0x425aed
mov ecx, dword [esp + 0x78]
lea edx, [esp + 8]
call fcn.00425200
test eax, eax
jne 0x425aed
mov eax, dword [esp + 8]
shl eax, 8
add eax, dword [esp + 0xc]
mov dword [esp + 0x48], eax
jmp 0x425af8
mov dword [esp + 0x48], 0
or esi, 0xffffffff
mov eax, dword [edi]
lea edx, [esp + 8]
mov ecx, eax
mov dword [esp + 0x78], eax
call fcn.00425200
mov ecx, dword [esp + 8]
mov dword [esp + 0xc], ecx
test eax, eax
jne 0x425b37
mov ecx, dword [esp + 0x78]
lea edx, [esp + 8]
call fcn.00425200
test eax, eax
jne 0x425b37
mov eax, dword [esp + 8]
shl eax, 8
add eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
jmp 0x425b42
mov dword [esp + 0x4c], 0
or esi, 0xffffffff
mov eax, dword [edi]
lea edx, [esp + 8]
mov ecx, eax
mov dword [esp + 0x78], eax
call fcn.00425200
mov ecx, dword [esp + 8]
mov dword [esp + 0xc], ecx
test eax, eax
jne 0x425b81
mov ecx, dword [esp + 0x78]
lea edx, [esp + 8]
call fcn.00425200
test eax, eax
jne 0x425b81
mov eax, dword [esp + 8]
shl eax, 8
add eax, dword [esp + 0xc]
mov dword [esp + 0x50], eax
jmp 0x425b8c
mov dword [esp + 0x50], 0
or esi, 0xffffffff
mov ecx, dword [edi]
lea edx, [esp + 0x54]
call fcn.004252c0
mov ecx, dword [edi]
lea edx, [esp + 0x1c]
test eax, eax
mov eax, 0xffffffff
cmovne esi, eax
call fcn.004252c0
test eax, eax
je 0x425bc4
or eax, 0xffffffff
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0042ca6a
mov esp, ebp
pop ebp
ret
mov eax, esi
test esi, esi
jne 0x425c7b
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x425c7f
mov edx, dword [esp + 0x40]
mov eax, dword [ebp + 0x10]
cmp edx, eax
jae 0x425bf1
mov byte [ecx + edx], 0
mov ecx, edx
mov dword [esp + 0xc], ecx
jmp 0x425bf7
mov ecx, eax
mov dword [esp + 0xc], eax
mov eax, esi
test edx, edx
je 0x425c7b
cmp dword [ebp + 0x10], 0
jbe 0x425c7b
mov edi, dword [edi]
mov dword [esp + 8], ecx
cmp byte [edi], 0
je 0x425c31
push 0
lea eax, [esp + 0x7c]
push eax
push ecx
push dword [esp + 0x1c]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x425c2b
mov byte [edi + 8], 1
mov eax, dword [esp + 0x78]
jmp 0x425c66
mov eax, dword [edi + 0x1c]
mov edx, dword [esp + 8]
add eax, ecx
mov ecx, dword [edi + 0x18]
cmp eax, ecx
mov eax, dword [edi + 0x1c]
jbe 0x425c4c
mov edx, ecx
sub edx, eax
mov dword [esp + 8], edx
mov ecx, dword [edi + 0x14]
push edx
add ecx, eax
push ecx
push dword [esp + 0x18]
call fcn.0047c1a0
mov eax, dword [esp + 0x14]
add esp, 0xc
add dword [edi + 0x1c], eax
xor edx, edx
div dword [esp + 0xc]
mov ecx, eax
mov eax, esi
cmp ecx, 1
mov ecx, 0xffffffff
cmovne eax, ecx
test eax, eax
jne 0x425cc1
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x425cb3
movups xmm0, xmmword [esp + 0x20]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [esp + 0x30]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [esp + 0x40]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [esp + 0x50]
movups xmmword [ecx + 0x30], xmm0
movups xmm0, xmmword [esp + 0x60]
movups xmmword [ecx + 0x40], xmm0
mov edx, dword [esp + 0x18]
test edx, edx
je 0x425cc1
mov ecx, dword [esp + 0x1c]
mov dword [edx], ecx
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
xor ecx, esp
call fcn.0042ca6a
mov esp, ebp
pop ebp
ret