Function at 0x47e890
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3c2d0
call fcn.005cef50
mov eax, dword [0x632b20]
xor eax, ebp
mov dword [ebp - 0x3b19c], eax
mov dword [ebp - 0x3b198], 0
mov dword [ebp - 0x2713c], 0
mov dword [ebp - 0x3c1ac], 0
mov dword [ebp - 0x3b194], 0
mov dword [ebp - 0x3b9a4], 0
call fcn.0047e180
mov dword [ebp - 0x27140], 0
jmp 0x47e8fc
mov eax, dword [ebp - 0x27140]
add eax, 1
mov dword [ebp - 0x27140], eax
cmp dword [ebp - 0x27140], 8
jge 0x47e9fc
mov ecx, dword [ebp - 0x27140]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 0x3c2b4], eax
mov ecx, dword [ebp - 0x27140]
shl ecx, 8
lea edx, [ebp + ecx - 0x3b9a0]
mov dword [ebp - 0x3c2b8], edx
mov eax, dword [ebp - 0x3c2b8]
mov dword [ebp - 0x3c2bc], eax
mov ecx, dword [ebp - 0x3c2b4]
mov dl, byte [ecx]
mov byte [ebp - 0x3c2bd], dl
mov eax, dword [ebp - 0x3c2b8]
mov cl, byte [ebp - 0x3c2bd]
mov byte [eax], cl
mov edx, dword [ebp - 0x3c2b4]
add edx, 1
mov dword [ebp - 0x3c2b4], edx
mov eax, dword [ebp - 0x3c2b8]
add eax, 1
mov dword [ebp - 0x3c2b8], eax
cmp byte [ebp - 0x3c2bd], 0
jne 0x47e93d
mov ecx, dword [ebp - 0x27140]
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 0x3c2c4], eax
mov ecx, dword [ebp - 0x27140]
shl ecx, 8
lea edx, [ebp + ecx - 0x3c1a8]
mov dword [ebp - 0x3c2c8], edx
mov eax, dword [ebp - 0x3c2c8]
mov dword [ebp - 0x3c2cc], eax
mov ecx, dword [ebp - 0x3c2c4]
mov dl, byte [ecx]
mov byte [ebp - 0x3c2cd], dl
mov eax, dword [ebp - 0x3c2c8]
mov cl, byte [ebp - 0x3c2cd]
mov byte [eax], cl
mov edx, dword [ebp - 0x3c2c4]
add edx, 1
mov dword [ebp - 0x3c2c4], edx
mov eax, dword [ebp - 0x3c2c8]
add eax, 1
mov dword [ebp - 0x3c2c8], eax
cmp byte [ebp - 0x3c2cd], 0
jne 0x47e9b4
jmp 0x47e8ed
push 0x27100
push 0
lea ecx, [ebp - 0x27138]
push ecx
call fcn.005cbc50
add esp, 0xc
push 0x14050
push 0xff
lea edx, [ebp - 0x3b190]
push edx
call fcn.005cbc50
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x27140], 0
jmp 0x47ea60
mov ecx, dword [ebp - 0x27140]
add ecx, 1
mov dword [ebp - 0x27140], ecx
cmp dword [ebp - 0x27140], 8
jge 0x47ecb9
push 0x5ead90
mov edx, dword [ebp - 0x27140]
shl edx, 8
lea eax, [ebp + edx - 0x3b9a0]
push eax
call fcn.005cd6b5
add esp, 8
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x47eaa9
cmp dword [ebp - 0x27140], 0
jne 0x47eaa7
mov eax, 2
jmp 0x47ef97
jmp 0x47ea51
mov ecx, dword [ebp - 0x34]
push ecx
push 1
push 0xc
lea edx, [ebp - 0x10]
push edx
call fcn.005cdfc1
add esp, 0x10
mov eax, dword [ebp - 0x3b194]
cmp eax, dword [0x9ccc58]
jl 0x47eae1
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.005cd459
add esp, 4
mov eax, 3
jmp 0x47ef97
mov edx, dword [ebp - 0x34]
push edx
call fcn.005ce950
add esp, 4
test eax, eax
je 0x47eaf6
jmp 0x47ec9a
mov eax, dword [ebp - 0x10]
sub eax, 0x186a0
mov dword [ebp - 0x3c1b0], eax
mov ecx, dword [ebp - 0x3c1b0]
cmp dword [ebp + ecx*4 - 0x3b190], 0xffffffff
je 0x47eb45
mov edx, dword [ebp - 0x3c1b0]
mov eax, dword [ebp + edx*4 - 0x3b190]
mov dword [ebp - 0x3b9a4], eax
cmp dword [ebp - 0x3c1b0], 0
jne 0x47eb43
mov ecx, dword [ebp - 0x3c1b0]
mov edx, dword [ebp + ecx*4 - 0x3b190]
mov dword [ebp - 0x3b9a4], edx
jmp 0x47eb60
mov eax, dword [ebp - 0x3b194]
mov dword [ebp - 0x3b9a4], eax
mov ecx, dword [ebp - 0x3b194]
add ecx, 1
mov dword [ebp - 0x3b194], ecx
mov edx, dword [ebp - 0x3b9a4]
shl edx, 4
mov eax, dword [ebp - 0x3c1b0]
mov dword [ebp + edx - 0x27138], eax
mov ecx, dword [ebp - 0x3b9a4]
shl ecx, 4
mov edx, dword [ebp - 0xc]
mov dword [ebp + ecx - 0x27134], edx
mov eax, dword [ebp - 0x3b9a4]
shl eax, 4
mov cx, word [ebp - 8]
mov word [ebp + eax - 0x27130], cx
mov edx, dword [ebp - 0x3b9a4]
shl edx, 4
mov ax, word [ebp - 6]
mov word [ebp + edx - 0x2712e], ax
mov ecx, dword [ebp - 0x3b9a4]
shl ecx, 4
movzx edx, word [ebp + ecx - 0x2712e]
test edx, edx
jge 0x47ebdb
mov eax, dword [ebp - 0x3b9a4]
shl eax, 4
xor ecx, ecx
mov word [ebp + eax - 0x2712e], cx
mov edx, dword [ebp - 0x3b9a4]
shl edx, 4
movzx eax, word [ebp + edx - 0x2712e]
cmp eax, 1
jle 0x47ec04
mov ecx, dword [ebp - 0x3b9a4]
shl ecx, 4
xor edx, edx
mov word [ebp + ecx - 0x2712e], dx
mov eax, dword [ebp - 0x3b9a4]
shl eax, 4
mov cx, word [ebp - 0x27140]
mov word [ebp + eax - 0x2712c], cx
mov edx, dword [ebp - 0x3c1b0]
mov eax, dword [ebp - 0x3b9a4]
mov dword [ebp + edx*4 - 0x3b190], eax
movzx ecx, word [ebp - 8]
cmp ecx, 0x2710
jle 0x47ec95
movzx edx, word [ebp - 8]
push edx
mov eax, dword [ebp - 0x27140]
push eax
push str.i_d_animsize_d
lea ecx, [ebp - 0x3c2b0]
push ecx
call fcn.005cc4f5
add esp, 0x10
push 0
push 0x5eada8
lea edx, [ebp - 0x3c2b0]
push edx
mov eax, dword [0x9cef70]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 0x3c1ac], 5
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.005cd459
add esp, 4
jmp 0x47ef1c
jmp 0x47eaa9
mov edx, dword [ebp - 0x27140]
mov dword [ebp + edx*4 - 0x30], 1
mov eax, dword [ebp - 0x34]
push eax
call fcn.005cd459
add esp, 4
jmp 0x47ea51
mov dword [ebp - 0x27140], 0
jmp 0x47ecd4
mov ecx, dword [ebp - 0x27140]
add ecx, 1
mov dword [ebp - 0x27140], ecx
cmp dword [ebp - 0x27140], 8
jge 0x47ecf0
mov edx, dword [ebp - 0x27140]
mov dword [edx*4 + 0x9cbc38], 0
jmp 0x47ecc5
mov dword [ebp - 0x27140], 0
jmp 0x47ed0b
mov eax, dword [ebp - 0x27140]
add eax, 1
mov dword [ebp - 0x27140], eax
cmp dword [ebp - 0x27140], 8
jge 0x47ed85
mov ecx, dword [ebp - 0x27140]
cmp dword [ebp + ecx*4 - 0x30], 1
je 0x47ed23
jmp 0x47ecfc
push 0x5eadd0
mov edx, dword [ebp - 0x27140]
shl edx, 8
lea eax, [ebp + edx - 0x3c1a8]
push eax
call fcn.005cd6b5
add esp, 8
mov ecx, dword [ebp - 0x27140]
mov dword [ecx*4 + 0x9cbc38], eax
mov edx, dword [ebp - 0x27140]
cmp dword [edx*4 + 0x9cbc38], 0
jne 0x47ed80
cmp dword [ebp - 0x27140], 0
jne 0x47ed7b
mov dword [ebp - 0x3c1ac], 2
jmp 0x47ef1c
jmp 0x47ecfc
jmp 0x47ecfc
mov dword [ebp - 0x27140], 0
jmp 0x47eda0
mov eax, dword [ebp - 0x27140]
add eax, 1
mov dword [ebp - 0x27140], eax
mov ecx, dword [ebp - 0x27140]
cmp ecx, dword [ebp - 0x3b194]
jge 0x47eef0
mov edx, dword [ebp - 0x27140]
shl edx, 4
mov eax, dword [ebp - 0x27140]
imul eax, eax, 0x24
mov ecx, dword [0x9ccc64]
mov edx, dword [ebp + edx - 0x27134]
mov dword [ecx + eax + 0xc], edx
mov eax, dword [ebp - 0x27140]
shl eax, 4
mov ecx, dword [ebp - 0x27140]
imul ecx, ecx, 0x24
mov edx, dword [0x9ccc64]
mov ax, word [ebp + eax - 0x2712c]
mov word [edx + ecx + 8], ax
mov ecx, dword [ebp - 0x27140]
shl ecx, 4
mov edx, dword [ebp - 0x27140]
imul edx, edx, 0x24
mov eax, dword [0x9ccc64]
mov ecx, dword [ebp + ecx - 0x27138]
mov dword [eax + edx], ecx
mov edx, dword [ebp - 0x27140]
shl edx, 4
mov eax, dword [ebp - 0x27140]
imul eax, eax, 0x24
mov ecx, dword [0x9ccc64]
mov dx, word [ebp + edx - 0x27130]
mov word [ecx + eax + 4], dx
mov eax, dword [ebp - 0x27140]
shl eax, 4
mov ecx, dword [ebp - 0x27140]
imul ecx, ecx, 0x24
mov edx, dword [0x9ccc64]
mov ax, word [ebp + eax - 0x2712e]
mov word [edx + ecx + 0x20], ax
mov ecx, dword [ebp - 0x27140]
imul ecx, ecx, 0x24
mov edx, dword [0x9ccc64]
mov dword [edx + ecx + 0x14], 0xffffffff
mov eax, dword [ebp - 0x27140]
imul eax, eax, 0x24
xor ecx, ecx
mov edx, dword [0x9ccc64]
mov word [edx + eax + 6], cx
mov eax, dword [ebp - 0x27140]
imul eax, eax, 0x24
mov ecx, dword [0x9ccc64]
mov dword [ecx + eax + 0x18], 0
mov edx, dword [ebp - 0x27140]
imul edx, edx, 0x24
mov eax, dword [0x9ccc64]
mov dword [eax + edx + 0x10], 0
mov ecx, dword [ebp - 0x27140]
shl ecx, 4
movsx edx, word [ebp + ecx - 0x2712c]
mov dword [ebp - 0x3b9a8], edx
mov eax, dword [ebp - 0x3b9a8]
cmp dword [eax*4 + 0x9cbc38], 0
jne 0x47eeeb
jmp 0x47ed91
jmp 0x47ed91
mov ecx, dword [ebp - 0x3b194]
mov dword [0x9ccc68], ecx
push 0x47df00
push 0x24
mov edx, dword [0x9ccc68]
push edx
mov eax, dword [0x9ccc64]
push eax
call fcn.005cbe80
add esp, 0x10
xor eax, eax
jmp 0x47ef97
cmp dword [0x9ccc60], 0
je 0x47ef34
mov ecx, dword [0x9ccc60]
push ecx
call fcn.005cbb3c
add esp, 4
mov dword [ebp - 0x27140], 0
jmp 0x47ef4f
mov edx, dword [ebp - 0x27140]
add edx, 1
mov dword [ebp - 0x27140], edx
cmp dword [ebp - 0x27140], 8
jge 0x47ef91
mov eax, dword [ebp - 0x27140]
cmp dword [eax*4 + 0x9cbc38], 0
je 0x47ef8f
mov ecx, dword [ebp - 0x27140]
mov edx, dword [ecx*4 + 0x9cbc38]
push edx
call fcn.005cd459
add esp, 4
mov eax, dword [ebp - 0x27140]
mov dword [eax*4 + 0x9cbc38], 0
jmp 0x47ef40
mov eax, dword [ebp - 0x3c1ac]
mov ecx, dword [ebp - 0x3b19c]
xor ecx, ebp
call fcn.005cbcfe
mov esp, ebp
pop ebp
ret