Function at 0x4706c0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x67c
push ebx
push 0x624
lea eax, [esp + 0x60]
mov ebx, ecx
push 0
push eax
mov dword [esp + 0x1c], ebx
call fcn.00484320
push ebx
push 0x624
lea eax, [esp + 0x70]
push 1
push eax
call fcn.0048a465
add esp, 0x1c
cmp eax, 0x624
jne 0x470bf2
mov al, byte [esp + 0x75]
sub al, 1
cmp al, 7
ja 0x470bf2
mov dh, byte [esp + 0x8b]
mov dl, byte [esp + 0x8a]
inc dh
mov al, dh
mov byte [esp + 0x8b], dh
inc dl
sub al, 1
mov byte [esp + 0x8a], dl
cmp al, 0x7f
ja 0x470bf2
mov eax, dword [esp + 0x2ce]
mov ecx, 0x20
movups xmm0, xmmword [esp + 0x2be]
push ebp
push esi
push edi
lea esi, [esp + 0x98]
mov edi, 0x551d96
rep movsd dword es:[edi], dword [esi]
mov dword [0x5511f3], eax
xor esi, esi
movzx eax, byte [esp + 0x81]
mov dword [0x551eac], eax
movzx eax, dh
mov word [0x551e9e], ax
mov dword [0x551ea2], 0x6007d
mov dword [esp + 0x18], esi
movups xmmword [0x5511e3], xmm0
test dl, dl
je 0x4709e0
xor ebp, ebp
lea edi, [esi + 0x40]
nop dword [eax]
push 1
push 0xa010
call fcn.00488d68
add esp, 8
mov dword [ebp*4 + 0x551ee0], eax
test eax, eax
je 0x470bd7
cmp byte [esp + 0x82], 0
mov word [ebp*2 + 0x550fe0], di
je 0x47087a
push ebx
push 1
lea eax, [esp + 0x28]
push 2
push eax
call fcn.0048a465
mov ax, word [esp + 0x30]
rol ax, 8
push ebx
movzx eax, ax
push 0x40
mov dword [esp + 0x38], eax
lea eax, [esp + 0x40]
push 1
push eax
call fcn.0048a465
mov edi, dword [esp + 0x3c]
lea ecx, [esp + 0x48]
add esp, 0x20
mov dword [esp + 0x24], ecx
xor edx, edx
mov eax, 0x40
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
xor esi, esi
mov bl, 0x80
cmp dword [0x551eac], esi
jle 0x470861
xor eax, eax
nop
test byte [ecx], bl
je 0x47084f
add eax, edx
mov ecx, edi
lea edx, [eax + eax*4]
add edx, dword [ebp*4 + 0x551ee0]
call fcn.00470c20
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
inc esi
shr bl, 1
movsx eax, si
cmp eax, dword [0x551eac]
jl 0x470830
mov eax, dword [esp + 0x10]
inc ecx
add edx, 0x20
sub eax, 1
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
jne 0x470820
mov ebx, edi
jmp 0x4708cf
cmp dword [0x551eac], 0
mov dword [esp + 0x10], 0
jle 0x4708d8
xor eax, eax
nop dword [eax]
lea esi, [eax + eax*4]
mov edi, 0x40
nop dword [eax + eax]
mov edx, dword [ebp*4 + 0x551ee0]
mov ecx, ebx
add edx, esi
call fcn.00470c20
add esi, 0xa0
sub edi, 1
jne 0x4708a0
mov ecx, dword [esp + 0x10]
inc ecx
movsx eax, cx
mov dword [esp + 0x10], ecx
cmp eax, dword [0x551eac]
jl 0x470890
mov esi, dword [esp + 0x18]
mov edi, 0x40
movzx eax, si
mov edx, dword [eax*4 + 0x551ee0]
test edx, edx
je 0x47090b
movsx eax, word [eax*2 + 0x550fe0]
lea ecx, [eax + eax*4]
xor eax, eax
shl ecx, 5
test ecx, ecx
je 0x47090b
nop word [eax + eax]
cmp byte [eax + edx], 0
jne 0x47092a
inc eax
cmp eax, ecx
jb 0x470900
mov eax, dword [ebp*4 + 0x551ee0]
test eax, eax
je 0x47092a
push eax
call fcn.00488d73
add esp, 4
mov dword [ebp*4 + 0x551ee0], 0
mov dl, byte [esp + 0x96]
inc esi
movsx ebp, si
movzx eax, dl
mov dword [esp + 0x18], esi
cmp ebp, eax
jl 0x4707a0
test dl, dl
je 0x4709e0
xor edi, edi
xor ebx, ebx
cmp dword [edi*4 + 0x551ee0], 0
je 0x4709cd
xor esi, esi
lea ebp, [esi + 0x40]
xor edx, edx
cmp dword [0x551eac], edx
jle 0x4709be
xor eax, eax
nop
add eax, esi
lea eax, [eax + eax*4]
add eax, dword [edi*4 + 0x551ee0]
mov cl, byte [eax + 3]
cmp cl, 8
je case.0x47099f.3
cmp cl, 0xe
jne case.0x47099f.5
movzx ecx, byte [eax + 4]
shr ecx, 4
add ecx, 0xfffffffd
cmp ecx, 6
ja case.0x47099f.5
movzx ecx, byte [ecx + 0x470c18]
jmp dword [ecx*4 + 0x470c0c]
mov byte [eax + 4], 0xc0
jmp case.0x47099f.5
mov word [eax + 3], 0
inc edx
movsx eax, dx
cmp eax, dword [0x551eac]
jl 0x470970
add esi, 0x20
sub ebp, 1
jne 0x470963
mov dl, byte [esp + 0x96]
inc ebx
movzx eax, dl
movsx edi, bx
cmp edi, eax
jl 0x470950
mov ebx, dword [esp + 0x1c]
xor ebp, ebp
movsx edi, bp
lea edx, [esp + 0x2ea]
mov eax, edi
imul ecx, edi, 0x17
shl eax, 4
sub eax, edi
movups xmm0, xmmword [edx + eax*2]
lea edx, [edx + eax*2]
mov eax, dword [edx + 0x10]
lea esi, [edi*4]
add ecx, 0x55120f
mov dword [esp + 0x10], edx
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov ax, word [edx + 0x14]
mov word [ecx + 0x14], ax
lea eax, [esp + 0x118]
add eax, esi
mov dword [esp + 0x14], eax
cmp dword [eax], 0
je 0x470bb8
lea ecx, [ebp + 1]
call fcn.00420710
test al, al
je 0x470bd7
mov ecx, dword [esi + 0x550bc4]
call fcn.00435580
mov esi, dword [esi + 0x550bc4]
mov ecx, dword [esp + 0x10]
add esi, 0xdc
movups xmm0, xmmword [ecx]
movups xmmword [esi], xmm0
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x10], eax
mov ax, word [ecx + 0x14]
mov ecx, dword [esp + 0x14]
mov word [esi + 0x14], ax
mov ecx, dword [ecx]
mov edx, ecx
and edx, 0xff0000
mov eax, ecx
shr eax, 0x10
or edx, eax
mov eax, ecx
shl eax, 0x10
and ecx, 0xff00
or eax, ecx
shr edx, 8
shl eax, 8
or edx, eax
mov dword [esi + 0x28], edx
mov al, byte [esp + edi + 0x2ab]
shl al, 4
mov byte [esi + 0x18], al
mov al, byte [esp + edi + 0x28c]
mov byte [esi + 0x24], al
mov dword [esp + 0x10], edx
lea edx, [edi*4]
mov ecx, dword [esp + edx + 0x194]
mov edi, ecx
mov eax, ecx
and edi, 0xff0000
shr eax, 0x10
or edi, eax
mov eax, ecx
shl eax, 0x10
and ecx, 0xff00
or eax, ecx
shr edi, 8
shl eax, 8
or edi, eax
mov dword [esi + 0x2c], edi
mov ecx, dword [esp + edx + 0x210]
mov edx, ecx
and edx, 0xff0000
mov eax, ecx
shr eax, 0x10
or edx, eax
mov eax, ecx
shl eax, 0x10
and ecx, 0xff00
or eax, ecx
shr edx, 8
shl eax, 8
or edx, eax
mov dword [esi + 0x30], edx
cmp edx, 2
jge 0x470b30
mov dword [esi + 0x30], 2
mov edx, 2
mov ecx, dword [esp + 0x10]
lea eax, [edi + edx]
cmp eax, ecx
jle 0x470b5a
cmp edi, ecx
jl 0x470b53
xor edx, edx
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
xor edi, edi
jmp 0x470b5a
mov edx, ecx
sub edx, edi
mov dword [esi + 0x30], edx
lea eax, [edi + edx]
cmp eax, 2
jle 0x470b68
or byte [esi + 0x25], 1
jmp 0x470b76
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
lea eax, [ecx + 0x1f]
push eax
call fcn.004893b5
add esp, 4
mov dword [esi + 0x20], eax
test eax, eax
je 0x470bd0
push ebx
push dword [esi + 0x28]
add eax, 0xf
push 1
push eax
mov dword [esi + 0x1c], eax
call fcn.0048a465
mov ecx, dword [esi + 0x28]
add esp, 0x10
cmp eax, ecx
jge 0x470bb8
sub ecx, eax
push ecx
mov ecx, dword [esi + 0x1c]
add ecx, eax
push 0
push ecx
call fcn.00484320
add esp, 0xc
inc ebp
cmp bp, 0x1f
jl 0x4709e2
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x67c
ret
mov dword [esi + 0x1c], 0
push str.Not_enough_memory_
call dword [0x54e480]
add esp, 4
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x67c
ret
push str.Error:_This_file_is_either_not_a_module__or_is_not_supported.
call dword [0x54e480]
add esp, 4
xor al, al
pop ebx
add esp, 0x67c
ret