Function at 0x472590
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.00484500
push ebx
push 0x258
lea eax, [esp + 0x44]
push 1
push eax
call fcn.0048a645
add esp, 0x1c
cmp eax, 0x258
jne 0x472c3c
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 0x472c3c
cmp bl, 0xdc
ja 0x472c3c
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 0x472660
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 0x4726d0
test dl, dl
je 0x4726cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4726d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4726b0
xor eax, eax
jmp 0x4726d5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4726e3
mov byte [esp + 0x207], 0x78
jmp 0x472720
cmp bl, 0x78
je 0x472720
movsd xmm1, qword [0x4e2c08]
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 [0x4e2b10]
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 0x472741
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 0x472a56
lea ebx, [eax + 0x40]
nop word [eax + eax]
movzx edi, ax
push 1
push 0xa010
mov dword [esp + 0x30], edi
call fcn.00488f48
add esp, 8
mov dword [edi*4 + 0x551ee0], eax
test eax, eax
je 0x472c35
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 0x472925
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.0048a645
add esp, 0x10
cmp eax, 4
jne 0x472c3c
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 + 0x4c21d0]
jae 0x472836
inc edx
cmp dx, 0x24
jl 0x472820
jmp 0x47283f
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 0x47286e
cmp cl, 0xd
je 0x47286e
cmp cl, 0xe
jne 0x472873
mov byte [esp + 0x18], 1
cmp cl, 0xf
jne 0x472882
mov byte [esp + 0x18], 1
mov byte [esp + 0x17], 1
cmp cl, 0xc
jne 0x472894
cmp byte [esp + 0x13], 0x40
jbe 0x47290d
mov byte [esi + 4], 0x40
jmp 0x47290d
cmp cl, 1
jne 0x4728a6
cmp byte [esp + 0x13], 0
jne 0x47290d
mov byte [esi + 4], 0
jmp 0x47290d
cmp cl, 2
jne 0x4728b8
cmp byte [esp + 0x13], 0
jne 0x47290d
mov byte [esi + 4], 0
jmp 0x47290d
cmp cl, 5
jne 0x4728ca
cmp byte [esp + 0x13], 0
jne 0x47290d
mov byte [esi + 4], 3
jmp 0x47290d
cmp cl, 6
jne 0x4728dc
cmp byte [esp + 0x13], 0
jne 0x47290d
mov byte [esi + 4], 4
jmp 0x47290d
cmp cl, 0xa
jne 0x4728ee
cmp byte [esp + 0x13], 0
jne 0x47290d
mov byte [esi + 4], 0
jmp 0x47290d
cmp cl, 0xe
jne 0x47290d
mov al, byte [esp + 0x13]
cmp al, 0x10
je 0x472907
cmp al, 0x20
je 0x472907
cmp al, 0xa0
je 0x472907
cmp al, 0xb0
jne 0x47290d
mov word [esi + 3], 0
mov edi, dword [esp + 0x28]
inc ebx
movsx eax, bx
cmp eax, dword [0x551eac]
jl 0x4727d6
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
cmp ax, 0x40
jl 0x4727c0
mov edx, dword [edi*4 + 0x551ee0]
test edx, edx
je 0x472972
movsx eax, word [edi*2 + 0x550fe0]
lea ecx, [eax + eax*4]
xor eax, eax
shl ecx, 5
test ecx, ecx
je 0x47295e
cmp byte [eax + edx], 0
jne 0x472972
inc eax
cmp eax, ecx
jb 0x472953
push edx
call fcn.00488f53
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 0x472780
movzx eax, bp
mov ebx, 0x551ee0
mov dword [esp + 0x1c], eax
nop dword [eax]
cmp dword [ebx], 0
je 0x472a46
xor edi, edi
lea ebp, [edi + 0x40]
nop
xor esi, esi
cmp dword [0x551eac], esi
jle 0x472a36
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 0x472a05
cmp al, 1
jne 0x4729d9
mov byte [ecx + 3], dl
xor al, al
jmp 0x472a1c
cmp al, 2
jne 0x472a1c
mov dl, byte [ecx + 4]
test dl, 0xf0
je 0x4729f4
shr dl, 4
mov byte [ecx + 4], dl
mov edx, dword [esp + 0x18]
mov byte [ecx + 3], al
jmp 0x472a1c
test dl, 0xf
je 0x4729ff
mov byte [ecx + 3], 1
mov al, 1
mov edx, dword [esp + 0x18]
jmp 0x472a1c
cmp al, 0xd
jne 0x472a1c
cmp byte [esp + 0x17], 0
je 0x472a16
mov byte [ecx + 4], 0
jmp 0x472a1c
mov byte [ecx + 3], 0xa
mov al, 0xa
cmp al, 0xf
jne 0x472a2a
cmp byte [ecx + 4], 0
jne 0x472a2a
mov byte [ecx + 3], 0
inc esi
movsx eax, si
cmp eax, dword [0x551eac]
jl 0x4729c0
add edi, 0x20
sub ebp, 1
jne 0x4729b0
mov eax, dword [esp + 0x1c]
add ebx, 4
sub eax, 1
mov dword [esp + 0x1c], eax
jne 0x4729a0
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 0x472c13
movsx esi, ax
cmp dword [esi*4 + 0x550bc4], 0
jne 0x472c35
push 0xe5c
push 1
call fcn.00488f48
add esp, 8
test eax, eax
je 0x472c35
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 0x472aa4
mov dword [esi*4 + 0x550bc4], eax
mov ecx, dword [edi*4 + 0x550bc4]
call fcn.004356e0
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 0x472b38
mov dword [esi + 0x10c], 2
mov edx, 2
lea eax, [ecx + edx]
cmp eax, edi
jbe 0x472b67
cmp ecx, edi
jb 0x472b5d
xor edx, edx
mov dword [esi + 0x108], 0
mov dword [esi + 0x10c], 0
xor ecx, ecx
jmp 0x472b67
mov edx, edi
sub edx, ecx
mov dword [esi + 0x10c], edx
lea eax, [ecx + edx]
cmp eax, 2
jle 0x472b78
or byte [esi + 0x101], 1
jmp 0x472b90
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 0x472bc2
cmp edx, edi
jge 0x472bc2
push 1
push ecx
sub edi, ecx
push ebx
mov dword [esi + 0x104], edi
call fcn.00489f05
mov eax, dword [esi + 0x104]
add esp, 0xc
mov dword [esi + 0x108], 0
add eax, 0x1f
push eax
call fcn.00489595
add esp, 4
mov dword [esi + 0xfc], eax
test eax, eax
je 0x472c2b
push ebx
push dword [esi + 0x104]
add eax, 0xf
push 1
push eax
mov dword [esi + 0xf8], eax
call fcn.0048a645
mov ecx, dword [esi + 0x104]
add esp, 0x10
cmp eax, ecx
jge 0x472c13
sub ecx, eax
push ecx
mov ecx, dword [esi + 0xf8]
add ecx, eax
push 0
push ecx
call fcn.00484500
add esp, 0xc
inc ebp
cmp bp, 0xf
jb 0x472a58
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 0x472c41
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