Function at 0x472620
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x27c
push ebx
push ebp
push esi
push edi
push 0x258
lea eax, [esp + 0x34]
mov byte [esp + 0x1b], 0
mov ebx, ecx
mov byte [esp + 0x1c], 0
push 0
push eax
mov dword [esp + 0x2c], ebx
call fcn.00484630
push ebx
push 0x258
lea eax, [esp + 0x44]
push 1
push eax
call fcn.0048a775
add esp, 0x1c
cmp eax, 0x258
jne 0x472ccc
mov al, byte [esp + 0x207]
mov ecx, 0x78
mov dl, byte [esp + 0x206]
test al, al
movzx ebx, al
cmove ebx, ecx
mov dword [esp + 0x1c], ebx
lea eax, [edx - 1]
mov byte [esp + 0x207], bl
cmp al, 0x7f
ja 0x472ccc
cmp bl, 0xdc
ja 0x472ccc
mov ebx, dword [esp + 0x18]
lea esi, [esp + 0x208]
mov ecx, 0x20
movzx eax, dl
mov edi, 0x551d96
lea edx, [esp + 0x5a]
rep movsd dword es:[edi], dword [esi]
mov edi, 0xf
mov dword [0x551eac], 4
mov word [0x551e9e], ax
mov esi, 0x55120f
mov dword [0x551ea2], 0x6007d
lea ebp, [edi - 0xe]
nop word [eax + eax]
movups xmm0, xmmword [edx - 0x16]
mov eax, dword [edx - 6]
lea esi, [esi + 0x17]
movzx ebx, bl
movups xmmword [esi - 0x17], xmm0
mov dword [esi - 7], eax
mov ax, word [edx - 2]
mov word [esi - 3], ax
movzx eax, word [edx]
movzx ecx, al
shl ecx, 8
shr eax, 8
or ecx, eax
add ecx, ecx
cmp ecx, 0x270f
cmova ebx, ebp
add edx, 0x1e
sub edi, ebp
jne 0x4726f0
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x30]
mov ebx, dword [esp + 0x1c]
mov eax, str.jjk55
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x472760
test dl, dl
je 0x47275c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x472760
add eax, 2
add ecx, 2
test dl, dl
jne 0x472740
xor eax, eax
jmp 0x472765
sbb eax, eax
or eax, 1
test eax, eax
jne 0x472773
mov byte [esp + 0x207], 0x78
jmp 0x4727b0
cmp bl, 0x78
je 0x4727b0
movsd xmm1, qword [0x4e2ba8]
mov ecx, 0x7260
movzx eax, bl
imul eax, eax, 0x7a
sub cx, ax
movzx eax, cx
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
addsd xmm1, qword [0x4e2ad0]
cvttsd2si eax, xmm1
mov word [0x551ea2], ax
movups xmm0, xmmword [esp + 0x30]
mov eax, dword [esp + 0x40]
xor ecx, ecx
mov dword [0x5511f3], eax
mov edi, 0x551d96
movups xmmword [0x5511e3], xmm0
mov ebx, 0x80
movzx esi, cx
lea edi, [edi + 1]
movzx ecx, byte [edi - 1]
mov eax, esi
cmp cx, si
mov edx, ecx
cmovbe edx, eax
movzx eax, dx
mov ecx, eax
sub ebx, ebp
jne 0x4727d1
inc eax
xor ecx, ecx
movzx ebp, ax
xor eax, eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x1c], eax
cmp cx, bp
jae 0x472ae6
lea ebx, [eax + 0x40]
nop word [eax + eax]
movzx edi, ax
push 1
push 0xa010
mov dword [esp + 0x30], edi
call fcn.00489078
add esp, 8
mov dword [edi*4 + 0x551ee0], eax
test eax, eax
je 0x472cc5
xor eax, eax
mov word [edi*2 + 0x550fe0], bx
mov dword [esp + 0x24], eax
nop dword [eax]
nop word [eax + eax]
xor ebx, ebx
cmp dword [0x551eac], ebx
jle 0x4729b5
movsx ebp, ax
shl ebp, 5
xor eax, eax
push dword [esp + 0x20]
add eax, ebp
push 4
push 1
lea esi, [eax + eax*4]
add esi, dword [edi*4 + 0x551ee0]
lea eax, [esp + 0x1c]
push eax
call fcn.0048a775
add esp, 0x10
cmp eax, 4
jne 0x472ccc
mov eax, dword [esp + 0x10]
mov cl, al
and cl, 0xf
movzx edx, cl
shl dx, 8
movzx ecx, ah
or dx, cx
movzx edi, dx
xor edx, edx
nop dword [eax + eax]
movsx ecx, dx
cmp di, word [ecx*2 + 0x4c2140]
jae 0x4728c6
inc edx
cmp dx, 0x24
jl 0x4728b0
jmp 0x4728cf
add dl, 0x25
mov byte [esi], dl
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x12]
and al, 0xf0
shr cl, 4
or al, cl
mov byte [esi + 1], al
mov cl, byte [esp + 0x12]
and cl, 0xf
mov byte [esi + 3], cl
mov al, byte [esp + 0x13]
mov byte [esi + 4], al
cmp cl, 0xc
je 0x4728fe
cmp cl, 0xd
je 0x4728fe
cmp cl, 0xe
jne 0x472903
mov byte [esp + 0x18], 1
cmp cl, 0xf
jne 0x472912
mov byte [esp + 0x18], 1
mov byte [esp + 0x17], 1
cmp cl, 0xc
jne 0x472924
cmp byte [esp + 0x13], 0x40
jbe 0x47299d
mov byte [esi + 4], 0x40
jmp 0x47299d
cmp cl, 1
jne 0x472936
cmp byte [esp + 0x13], 0
jne 0x47299d
mov byte [esi + 4], 0
jmp 0x47299d
cmp cl, 2
jne 0x472948
cmp byte [esp + 0x13], 0
jne 0x47299d
mov byte [esi + 4], 0
jmp 0x47299d
cmp cl, 5
jne 0x47295a
cmp byte [esp + 0x13], 0
jne 0x47299d
mov byte [esi + 4], 3
jmp 0x47299d
cmp cl, 6
jne 0x47296c
cmp byte [esp + 0x13], 0
jne 0x47299d
mov byte [esi + 4], 4
jmp 0x47299d
cmp cl, 0xa
jne 0x47297e
cmp byte [esp + 0x13], 0
jne 0x47299d
mov byte [esi + 4], 0
jmp 0x47299d
cmp cl, 0xe
jne 0x47299d
mov al, byte [esp + 0x13]
cmp al, 0x10
je 0x472997
cmp al, 0x20
je 0x472997
cmp al, 0xa0
je 0x472997
cmp al, 0xb0
jne 0x47299d
mov word [esi + 3], 0
mov edi, dword [esp + 0x28]
inc ebx
movsx eax, bx
cmp eax, dword [0x551eac]
jl 0x472866
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
cmp ax, 0x40
jl 0x472850
mov edx, dword [edi*4 + 0x551ee0]
test edx, edx
je 0x472a02
movsx eax, word [edi*2 + 0x550fe0]
lea ecx, [eax + eax*4]
xor eax, eax
shl ecx, 5
test ecx, ecx
je 0x4729ee
cmp byte [eax + edx], 0
jne 0x472a02
inc eax
cmp eax, ecx
jb 0x4729e3
push edx
call fcn.00489083
add esp, 4
mov dword [edi*4 + 0x551ee0], 0
mov eax, dword [esp + 0x1c]
mov ebx, 0x40
mov ebp, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x1c], eax
cmp ax, bp
jb 0x472810
movzx eax, bp
mov ebx, 0x551ee0
mov dword [esp + 0x1c], eax
nop dword [eax]
cmp dword [ebx], 0
je 0x472ad6
xor edi, edi
lea ebp, [edi + 0x40]
nop
xor esi, esi
cmp dword [0x551eac], esi
jle 0x472ac6
mov edx, dword [esp + 0x18]
xor eax, eax
add eax, edi
lea ecx, [eax + eax*4]
add ecx, dword [ebx]
mov al, byte [ecx + 3]
test dl, dl
jne 0x472a95
cmp al, 1
jne 0x472a69
mov byte [ecx + 3], dl
xor al, al
jmp 0x472aac
cmp al, 2
jne 0x472aac
mov dl, byte [ecx + 4]
test dl, 0xf0
je 0x472a84
shr dl, 4
mov byte [ecx + 4], dl
mov edx, dword [esp + 0x18]
mov byte [ecx + 3], al
jmp 0x472aac
test dl, 0xf
je 0x472a8f
mov byte [ecx + 3], 1
mov al, 1
mov edx, dword [esp + 0x18]
jmp 0x472aac
cmp al, 0xd
jne 0x472aac
cmp byte [esp + 0x17], 0
je 0x472aa6
mov byte [ecx + 4], 0
jmp 0x472aac
mov byte [ecx + 3], 0xa
mov al, 0xa
cmp al, 0xf
jne 0x472aba
cmp byte [ecx + 4], 0
jne 0x472aba
mov byte [ecx + 3], 0
inc esi
movsx eax, si
cmp eax, dword [0x551eac]
jl 0x472a50
add edi, 0x20
sub ebp, 1
jne 0x472a40
mov eax, dword [esp + 0x1c]
add ebx, 4
sub eax, 1
mov dword [esp + 0x1c], eax
jne 0x472a30
xor ebp, ebp
movzx edi, bp
mov ebx, edi
movzx eax, bp
shl ebx, 4
sub ebx, edi
cmp word [esp + ebx*2 + 0x5a], 0
je 0x472ca3
movsx esi, ax
cmp dword [esi*4 + 0x550bc4], 0
jne 0x472cc5
push 0xe5c
push 1
call fcn.00489078
add esp, 8
test eax, eax
je 0x472cc5
lea ecx, [eax + 0x100]
mov edx, 0x10
mov byte [ecx + 2], 0x80
lea ecx, [ecx + 0xd8]
mov byte [ecx - 0xd8], 0x40
sub edx, 1
jne 0x472b34
mov dword [esi*4 + 0x550bc4], eax
mov ecx, dword [edi*4 + 0x550bc4]
call fcn.004357a0
mov esi, dword [edi*4 + 0x550bc4]
mov al, byte [esp + ebx*2 + 0x5d]
mov byte [esi + 0x100], al
movzx eax, word [esp + ebx*2 + 0x5a]
movzx edi, al
shr eax, 8
shl edi, 8
or edi, eax
add edi, edi
mov dword [esi + 0x104], edi
movzx eax, word [esp + ebx*2 + 0x5e]
movzx ecx, al
shr eax, 8
shl ecx, 8
or ecx, eax
mov dword [esi + 0x108], ecx
movzx eax, word [esp + ebx*2 + 0x60]
movzx edx, al
shl edx, 8
shr eax, 8
or edx, eax
add edx, edx
mov dword [esi + 0x10c], edx
cmp edx, 2
jae 0x472bc8
mov dword [esi + 0x10c], 2
mov edx, 2
lea eax, [ecx + edx]
cmp eax, edi
jbe 0x472bf7
cmp ecx, edi
jb 0x472bed
xor edx, edx
mov dword [esi + 0x108], 0
mov dword [esi + 0x10c], 0
xor ecx, ecx
jmp 0x472bf7
mov edx, edi
sub edx, ecx
mov dword [esi + 0x10c], edx
lea eax, [ecx + edx]
cmp eax, 2
jle 0x472c08
or byte [esi + 0x101], 1
jmp 0x472c20
xor ecx, ecx
mov dword [esi + 0x10c], 0
mov dword [esi + 0x108], 0
xor edx, edx
mov ebx, dword [esp + 0x20]
mov eax, edi
test ecx, ecx
je 0x472c52
cmp edx, edi
jge 0x472c52
push 1
push ecx
sub edi, ecx
push ebx
mov dword [esi + 0x104], edi
call fcn.0048a035
mov eax, dword [esi + 0x104]
add esp, 0xc
mov dword [esi + 0x108], 0
add eax, 0x1f
push eax
call fcn.004896c5
add esp, 4
mov dword [esi + 0xfc], eax
test eax, eax
je 0x472cbb
push ebx
push dword [esi + 0x104]
add eax, 0xf
push 1
push eax
mov dword [esi + 0xf8], eax
call fcn.0048a775
mov ecx, dword [esi + 0x104]
add esp, 0x10
cmp eax, ecx
jge 0x472ca3
sub ecx, eax
push ecx
mov ecx, dword [esi + 0xf8]
add ecx, eax
push 0
push ecx
call fcn.00484630
add esp, 0xc
inc ebp
cmp bp, 0xf
jb 0x472ae8
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x27c
ret
mov dword [esi + 0xf8], 0
push str.Not_enough_memory_
jmp 0x472cd1
push str.Error:_This_file_is_either_not_a_module__or_is_not_supported.
call dword [0x54e480]
add esp, 4
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x27c
ret