Function at 0x4e1df0
Capabilities:
Read file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0x48]
mov dword [esp + 0xc], eax
test byte [eax], 8
jne 0x4e1e0e
mov dword [esi + 0x40], 0x6f
xor eax, eax
pop esi
pop ecx
ret
push ebx
lea ebx, [esi + 0x1c]
push ebx
push esi
call fcn.004e2350
add esp, 8
test eax, eax
je 0x4e1e9e
lea eax, [esi + 0x20]
push eax
push esi
call fcn.004e2350
add esp, 8
test eax, eax
je 0x4e1e9e
lea eax, [esi + 0x24]
push eax
push esi
call fcn.004e2350
add esp, 8
test eax, eax
je 0x4e1e9e
lea eax, [esi + 0x28]
push eax
push esi
call fcn.004e2350
add esp, 8
test eax, eax
je 0x4e1e9e
mov ecx, dword [esi + 0x48]
mov eax, dword [ecx + 0x3c]
test eax, eax
je 0x4e1e6c
push 1
lea ecx, [esp + 0xc]
push ecx
push esi
call eax
add esp, 0xc
jmp 0x4e1e80
push dword [ecx + 0x38]
lea eax, [esp + 0xc]
push 1
push 1
push eax
call fcn.0050533d
add esp, 0x10
cmp eax, 1
je 0x4e1ea4
push dword [esi + 0x30]
mov dword [esi + 0x40], 0x66
call fcn.004e2ab0
add esp, 4
mov dword [esi + 0x30], 0
pop ebx
xor eax, eax
pop esi
pop ecx
ret
mov cl, byte [esp + 8]
mov al, cl
shr al, 6
and al, 1
push edi
movzx edi, cl
mov byte [esi + 0x2c], al
and edi, 7
mov eax, dword [esi + 0x30]
test eax, eax
je 0x4e1ed4
push eax
call fcn.004e2ab0
mov cl, byte [esp + 0x10]
add esp, 4
mov dword [esi + 0x30], 0
push ebp
mov ebp, 1
test cl, cl
jns 0x4e1f73
lea ecx, [edi + 1]
mov eax, ebp
shl eax, cl
push 0
push eax
call fcn.004e2b60
add esp, 8
mov dword [esi + 0x30], eax
test eax, eax
je 0x4e20ce
xor ebx, ebx
cmp dword [eax], ebx
jbe 0x4e1f70
xor edi, edi
mov ecx, dword [esi + 0x48]
mov eax, dword [ecx + 0x3c]
test eax, eax
je 0x4e1f20
push 3
lea ecx, [esp + 0x14]
push ecx
push esi
call eax
add esp, 0xc
jmp 0x4e1f34
push dword [ecx + 0x38]
lea eax, [esp + 0x14]
push 3
push 1
push eax
call fcn.0050533d
add esp, 0x10
mov ecx, dword [esi + 0x30]
cmp eax, 3
jne 0x4e1f99
mov ecx, dword [ecx + 0xc]
inc ebx
movzx eax, byte [esp + 0x10]
mov byte [edi + ecx], al
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0xc]
movzx eax, byte [esp + 0x11]
mov byte [ecx + edi + 1], al
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0xc]
movzx eax, byte [esp + 0x12]
mov byte [ecx + edi + 2], al
add edi, 3
mov eax, dword [esi + 0x30]
cmp ebx, dword [eax]
jb 0x4e1f07
lea ebx, [esi + 0x1c]
mov ecx, dword [esi + 0x34]
push 0x24
test ecx, ecx
je 0x4e1fb8
mov eax, dword [esi + 0x18]
inc eax
push eax
push ecx
call fcn.004e2bf0
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x4e20ce
mov dword [esi + 0x34], ecx
jmp 0x4e1fcd
push ecx
call fcn.004e2ab0
add esp, 4
mov dword [esi + 0x40], 0x66
mov dword [esi + 0x30], 0
xor eax, eax
pop ebp
pop edi
pop ebx
pop esi
pop ecx
ret
call fcn.004e3dd6
mov ecx, eax
add esp, 4
mov dword [esi + 0x34], ecx
test ecx, ecx
je 0x4e20ce
mov eax, dword [esi + 0x18]
movups xmm0, xmmword [ebx]
lea eax, [eax + eax*8]
lea edi, [ecx + eax*4]
movups xmmword [edi], xmm0
movq xmm0, qword [ebx + 0x10]
movq qword [edi + 0x10], xmm0
mov eax, dword [esi + 0x30]
test eax, eax
je 0x4e2005
push dword [eax + 0xc]
push dword [eax]
call fcn.004e2b60
add esp, 8
mov dword [edi + 0x14], eax
test eax, eax
je 0x4e20ce
mov ecx, dword [esp + 0x18]
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov eax, dword [esi + 0x24]
imul eax, dword [esi + 0x28]
inc dword [esi + 0x18]
mov dword [ecx + 0x34], eax
mov edi, dword [esi + 0x48]
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x4e2044
push 1
lea ecx, [esp + 0x1c]
push ecx
push esi
call eax
add esp, 0xc
jmp 0x4e2058
push dword [edi + 0x38]
lea eax, [esp + 0x1c]
push 1
push 1
push eax
call fcn.0050533d
add esp, 0x10
cmp eax, 1
jb 0x4e20d5
movzx ecx, byte [esp + 0x18]
cmp ecx, 8
jbe 0x4e2076
pop ebp
pop edi
pop ebx
mov dword [esi + 0x40], 0x66
xor eax, eax
pop esi
pop ecx
ret
mov eax, ebp
mov dword [edi + 8], ecx
shl eax, cl
inc ecx
mov dword [edi + 0xc], eax
inc eax
mov dword [edi + 0x10], eax
inc eax
shl ebp, cl
mov dword [edi + 0x14], eax
mov eax, 0x1002
mov dword [edi + 0x18], ecx
mov ecx, 0x1000
mov dword [edi + 0x1c], ebp
mov byte [edi + 0x44], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x20], 0x1002
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
add edi, 0x2144
pop ebp
rep stosd dword es:[edi], eax
pop edi
pop ebx
mov eax, 1
pop esi
pop ecx
ret
mov dword [esi + 0x40], 0x6d
pop ebp
pop edi
pop ebx
xor eax, eax
pop esi
pop ecx
ret