Function at 0x41a420
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
xor edi, edi
mov dword [ebp - 0x14], ebx
test esi, esi
jne 0x41a440
lea eax, [ecx - 0x66]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi]
mov edx, dword [esi + 0x14]
add edx, dword [esi + 0xc]
cmp byte [ecx], 0
je 0x41a468
cmp byte [ecx + 1], 0
je 0x41a479
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 0x41a46b
mov dword [ecx + 0x1c], edx
mov ecx, dword [esi]
lea edx, [ebp - 8]
call fcn.00419f60
test eax, eax
je 0x41a47e
or edi, 0xffffffff
jmp 0x41a48d
cmp dword [ebp - 8], 0x2014b50
mov eax, 0xffffff99
cmovne edi, eax
mov eax, dword [esi]
lea edx, [ebp - 8]
mov ecx, eax
mov dword [ebp - 0xc], eax
call fcn.00419ec0
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
test eax, eax
jne 0x41a4c3
mov ecx, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.00419ec0
test eax, eax
jne 0x41a4c3
mov eax, dword [ebp - 8]
shl eax, 8
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x64], eax
jmp 0x41a4cd
mov dword [ebp - 0x64], 0
or edi, 0xffffffff
mov eax, dword [esi]
lea edx, [ebp - 8]
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.00419ec0
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
test eax, eax
jne 0x41a503
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 8]
call fcn.00419ec0
test eax, eax
jne 0x41a503
mov eax, dword [ebp - 8]
shl eax, 8
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x60], eax
jmp 0x41a50d
mov dword [ebp - 0x60], 0
or edi, 0xffffffff
mov eax, dword [esi]
lea edx, [ebp - 8]
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.00419ec0
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
test eax, eax
jne 0x41a543
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 8]
call fcn.00419ec0
test eax, eax
jne 0x41a543
mov eax, dword [ebp - 8]
shl eax, 8
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x5c], eax
jmp 0x41a54d
mov dword [ebp - 0x5c], 0
or edi, 0xffffffff
mov eax, dword [esi]
lea edx, [ebp - 8]
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.00419ec0
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
test eax, eax
jne 0x41a583
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 8]
call fcn.00419ec0
test eax, eax
jne 0x41a583
mov eax, dword [ebp - 8]
shl eax, 8
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x58], eax
jmp 0x41a58d
mov dword [ebp - 0x58], 0
or edi, 0xffffffff
mov ecx, dword [esi]
lea edx, [ebp - 0x54]
call fcn.00419f60
mov edx, dword [ebp - 0x54]
or ecx, 0xffffffff
test eax, eax
cmovne edi, ecx
mov ecx, edx
shr ecx, 0x10
mov eax, ecx
and eax, 0x1f
mov dword [ebp - 0x20], eax
mov eax, ecx
shr eax, 5
and eax, 0xf
shr ecx, 9
dec eax
add ecx, 0x7bc
mov dword [ebp - 0x1c], eax
mov eax, edx
shr eax, 0xb
and eax, 0x1f
mov dword [ebp - 0x18], ecx
mov ecx, dword [esi]
mov dword [ebp - 0x24], eax
mov eax, edx
and edx, 0x1f
shr eax, 5
add edx, edx
and eax, 0x3f
mov dword [ebp - 0x2c], edx
lea edx, [ebp - 0x50]
mov dword [ebp - 0x28], eax
call fcn.00419f60
mov ecx, dword [esi]
lea edx, [ebp - 0x4c]
test eax, eax
mov eax, 0xffffffff
cmovne edi, eax
call fcn.00419f60
mov ecx, dword [esi]
lea edx, [ebp - 0x48]
test eax, eax
mov eax, 0xffffffff
cmovne edi, eax
call fcn.00419f60
test eax, eax
lea edx, [ebp - 8]
mov eax, 0xffffffff
cmovne edi, eax
mov eax, dword [esi]
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.00419ec0
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
test eax, eax
jne 0x41a657
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 8]
call fcn.00419ec0
test eax, eax
jne 0x41a657
mov eax, dword [ebp - 8]
shl eax, 8
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x44], eax
jmp 0x41a661
mov dword [ebp - 0x44], 0
or edi, 0xffffffff
mov eax, dword [esi]
lea edx, [ebp - 8]
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.00419ec0
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
test eax, eax
jne 0x41a697
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 8]
call fcn.00419ec0
test eax, eax
jne 0x41a697
mov eax, dword [ebp - 8]
shl eax, 8
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x40], eax
jmp 0x41a6a1
mov dword [ebp - 0x40], 0
or edi, 0xffffffff
mov eax, dword [esi]
lea edx, [ebp - 8]
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.00419ec0
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
test eax, eax
jne 0x41a6d7
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 8]
call fcn.00419ec0
test eax, eax
jne 0x41a6d7
mov eax, dword [ebp - 8]
shl eax, 8
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x3c], eax
jmp 0x41a6e1
mov dword [ebp - 0x3c], 0
or edi, 0xffffffff
mov eax, dword [esi]
lea edx, [ebp - 8]
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.00419ec0
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
test eax, eax
jne 0x41a717
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 8]
call fcn.00419ec0
test eax, eax
jne 0x41a717
mov eax, dword [ebp - 8]
shl eax, 8
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x38], eax
jmp 0x41a721
mov dword [ebp - 0x38], 0
or edi, 0xffffffff
mov eax, dword [esi]
lea edx, [ebp - 8]
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.00419ec0
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
test eax, eax
jne 0x41a757
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 8]
call fcn.00419ec0
test eax, eax
jne 0x41a757
mov eax, dword [ebp - 8]
shl eax, 8
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
jmp 0x41a761
mov dword [ebp - 0x34], 0
or edi, 0xffffffff
mov ecx, dword [esi]
lea edx, [ebp - 0x30]
call fcn.00419f60
mov ecx, dword [esi]
lea edx, [ebp - 0xc]
test eax, eax
mov eax, 0xffffffff
cmovne edi, eax
call fcn.00419f60
test eax, eax
je 0x41a78f
or edi, 0xffffffff
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
jne 0x41a859
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x41a822
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp + 0x10]
cmp ecx, eax
jae 0x41a7b7
mov byte [ecx + edx], 0
mov eax, ecx
mov dword [ebp - 8], ecx
jmp 0x41a7ba
mov dword [ebp - 8], eax
test ecx, ecx
je 0x41a822
cmp dword [ebp + 0x10], 0
jbe 0x41a822
mov ebx, dword [esi]
cmp byte [ebx], 0
je 0x41a7e9
push 0
lea ecx, [ebp - 0x10]
push ecx
push eax
push edx
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41a7e4
mov byte [ebx + 8], 1
mov eax, dword [ebp - 0x10]
jmp 0x41a811
mov edx, dword [ebx + 0x1c]
add eax, edx
mov esi, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x14]
sub esi, edx
cmp eax, dword [ebx + 0x18]
cmovbe esi, dword [ebp - 8]
add ecx, edx
push esi
push ecx
push dword [ebp + 0xc]
call fcn.004429f0
add esp, 0xc
mov eax, esi
add dword [ebx + 0x1c], esi
xor edx, edx
div dword [ebp - 8]
cmp eax, 1
jne 0x41a783
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41a84d
movups xmm0, xmmword [ebp - 0x64]
movups xmmword [ebx], xmm0
movups xmm0, xmmword [ebp - 0x54]
movups xmmword [ebx + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x44]
movups xmmword [ebx + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x34]
movups xmmword [ebx + 0x30], xmm0
movups xmm0, xmmword [ebp - 0x24]
movups xmmword [ebx + 0x40], xmm0
mov eax, dword [ebp + 8]
test eax, eax
je 0x41a859
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret