Function at 0x47e210
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7f4
mov eax, dword [0x632b20]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
imul eax, eax, 0x24
mov ecx, dword [0x9ccc64]
movzx edx, word [ecx + eax + 8]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
imul eax, eax, 0x24
mov ecx, dword [0x9ccc64]
cmp dword [ecx + eax + 0x18], 0
je 0x47e26c
mov edx, dword [ebp + 8]
imul edx, edx, 0x24
mov eax, dword [0x9ccc64]
mov ecx, dword [eax + edx + 0x10]
push ecx
call fcn.0047e140
add esp, 4
mov eax, 1
jmp 0x47e880
call fcn.0047e050
mov dword [ebp - 0x7e8], eax
cmp dword [ebp - 0x7e8], 0
jne 0x47e287
xor eax, eax
jmp 0x47e880
push 0
mov edx, dword [ebp + 8]
imul edx, edx, 0x24
mov eax, dword [0x9ccc64]
mov ecx, dword [eax + edx + 0xc]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x9cbc38]
push eax
call fcn.005cdc9c
add esp, 0xc
mov ecx, dword [ebp - 8]
mov edx, dword [ecx*4 + 0x7d3744]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
imul eax, eax, 0x24
mov ecx, dword [0x9ccc64]
movzx edx, word [ecx + eax + 4]
test edx, edx
jg 0x47e2d5
xor eax, eax
jmp 0x47e880
mov eax, dword [ebp + 8]
imul eax, eax, 0x24
mov ecx, dword [0x9ccc64]
movzx edx, word [ecx + eax + 4]
imul edx, edx, 0x18
push edx
call fcn.005ccae8
add esp, 4
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x24
mov edx, dword [0x9ccc64]
mov dword [edx + ecx + 0x18], eax
mov eax, dword [ebp + 8]
imul eax, eax, 0x24
mov ecx, dword [0x9ccc64]
cmp dword [ecx + eax + 0x18], 0
jne 0x47e321
jmp 0x47e86f
mov edx, dword [ebp - 0x7e8]
mov eax, dword [ebp + 8]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x24
mov edx, dword [0x9ccc64]
mov eax, dword [ebp - 0x7e8]
mov dword [edx + ecx + 0x10], eax
mov ecx, dword [ebp - 0x7e8]
push ecx
call fcn.0047e0c0
add esp, 4
mov edx, dword [ebp + 8]
imul edx, edx, 0x24
mov eax, dword [0x9ccc64]
movzx ecx, word [eax + edx + 4]
imul ecx, ecx, 0x18
mov edx, dword [ebp - 0x7e8]
mov dword [edx + 4], ecx
mov eax, dword [ebp + 8]
imul eax, eax, 0x24
mov ecx, dword [0x9ccc64]
movzx edx, word [ecx + eax + 4]
cmp edx, 0x2710
jle 0x47e390
jmp 0x47e86f
mov dword [ebp - 0x7ec], 0
jmp 0x47e3ab
mov eax, dword [ebp - 0x7ec]
add eax, 1
mov dword [ebp - 0x7ec], eax
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x24
mov edx, dword [0x9ccc64]
movzx eax, word [edx + ecx + 4]
cmp dword [ebp - 0x7ec], eax
jge 0x47e830
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x24
mov edx, dword [0x9ccc64]
movzx eax, word [edx + ecx + 0x20]
cmp eax, 1
jl 0x47e3fe
mov ecx, dword [ebp - 8]
mov edx, dword [ecx*4 + 0x9cbc38]
push edx
push 1
push 0x14
lea eax, [ebp - 0x7e0]
push eax
call fcn.005cdfc1
add esp, 0x10
jmp 0x47e41c
mov ecx, dword [ebp - 8]
mov edx, dword [ecx*4 + 0x9cbc38]
push edx
push 1
push 0xc
lea eax, [ebp - 0x7e0]
push eax
call fcn.005cdfc1
add esp, 0x10
lea ecx, [ebp - 0x7e0]
mov dword [ebp - 0x7f0], ecx
mov edx, dword [ebp + 8]
imul edx, edx, 0x24
mov eax, dword [ebp - 0x7ec]
imul eax, eax, 0x18
mov ecx, dword [0x9ccc64]
add eax, dword [ecx + edx + 0x18]
mov dword [ebp - 0x7f4], eax
mov edx, dword [ebp - 0x7f4]
mov eax, dword [ebp - 0x7f0]
mov cx, word [eax]
mov word [edx], cx
mov edx, dword [ebp - 0x7f0]
add edx, 2
mov dword [ebp - 0x7f0], edx
mov eax, dword [ebp - 0x7f4]
mov ecx, dword [ebp - 0x7f0]
mov dx, word [ecx]
mov word [eax + 2], dx
mov eax, dword [ebp - 0x7f0]
add eax, 2
mov dword [ebp - 0x7f0], eax
mov ecx, dword [ebp - 0x7f0]
movzx edx, word [ecx]
mov eax, dword [ebp - 0x7f4]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x7f0]
add ecx, 2
mov dword [ebp - 0x7f0], ecx
mov edx, dword [ebp - 0x7f0]
movzx eax, word [edx]
shl eax, 0x10
mov ecx, dword [ebp - 0x7f4]
or eax, dword [ecx + 4]
mov edx, dword [ebp - 0x7f4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x7f0]
add eax, 2
mov dword [ebp - 0x7f0], eax
mov ecx, dword [ebp - 0x7f0]
movzx edx, word [ecx]
mov eax, dword [ebp - 0x7f4]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0x7f0]
add ecx, 2
mov dword [ebp - 0x7f0], ecx
mov edx, dword [ebp - 0x7f0]
movzx eax, word [edx]
shl eax, 0x10
mov ecx, dword [ebp - 0x7f4]
or eax, dword [ecx + 8]
mov edx, dword [ebp - 0x7f4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x7f0]
add eax, 2
mov dword [ebp - 0x7f0], eax
mov ecx, dword [ebp - 0x7f4]
cmp dword [ecx + 8], 0
je 0x47e56d
mov edx, dword [ebp - 0x7f4]
mov ecx, dword [edx + 8]
shl ecx, 4
mov edx, dword [ebp - 0x7f4]
mov eax, dword [edx + 4]
xor edx, edx
div ecx
mov ecx, dword [ebp - 0x7f4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x7f4]
cmp dword [edx + 4], 1
jae 0x47e56d
mov eax, dword [ebp - 0x7f4]
mov dword [eax + 4], 1
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x24
mov edx, dword [0x9ccc64]
movzx eax, word [edx + ecx + 0x20]
cmp eax, 1
jl 0x47e61b
mov ecx, dword [ebp - 0x7f4]
mov edx, dword [ebp - 0x7f0]
mov ax, word [edx]
mov word [ecx + 0xc], ax
mov ecx, dword [ebp - 0x7f0]
add ecx, 2
mov dword [ebp - 0x7f0], ecx
mov edx, dword [ebp - 0x7f4]
mov eax, dword [ebp - 0x7f0]
mov cx, word [eax]
mov word [edx + 0xe], cx
mov edx, dword [ebp - 0x7f0]
add edx, 2
mov dword [ebp - 0x7f0], edx
mov eax, dword [ebp - 0x7f0]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x7f4]
mov dword [edx + 0x10], ecx
mov eax, dword [ebp - 0x7f0]
add eax, 2
mov dword [ebp - 0x7f0], eax
mov ecx, dword [ebp - 0x7f0]
movzx edx, word [ecx]
shl edx, 0x10
mov eax, dword [ebp - 0x7f4]
or edx, dword [eax + 0x10]
mov ecx, dword [ebp - 0x7f4]
mov dword [ecx + 0x10], edx
mov edx, dword [ebp - 0x7f0]
add edx, 2
mov dword [ebp - 0x7f0], edx
jmp 0x47e640
xor eax, eax
mov ecx, dword [ebp - 0x7f4]
mov word [ecx + 0xc], ax
xor edx, edx
mov eax, dword [ebp - 0x7f4]
mov word [eax + 0xe], dx
mov ecx, dword [ebp - 0x7f4]
mov dword [ecx + 0x10], 0xffffffff
mov edx, dword [ebp - 0x7f4]
cmp dword [edx + 8], 0x2710
jb 0x47e659
jmp 0x47e86f
mov eax, dword [ebp - 0x7f4]
mov ecx, dword [eax + 8]
imul ecx, ecx, 0xc
push ecx
call fcn.005ccae8
add esp, 4
mov edx, dword [ebp - 0x7f4]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x7f4]
mov ecx, dword [eax + 8]
imul ecx, ecx, 0xc
mov edx, dword [ebp - 0x7e8]
add ecx, dword [edx + 4]
mov eax, dword [ebp - 0x7e8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 8]
mov edx, dword [ecx*4 + 0x9cbc38]
push edx
push 1
mov eax, dword [ebp - 0x7f4]
mov ecx, dword [eax + 8]
imul ecx, ecx, 0xa
push ecx
lea edx, [ebp - 0x7e0]
push edx
call fcn.005cdfc1
add esp, 0x10
lea eax, [ebp - 0x7e0]
mov dword [ebp - 0x7f0], eax
mov dword [ebp - 0x7e4], 0
jmp 0x47e6e5
mov ecx, dword [ebp - 0x7e4]
add ecx, 1
mov dword [ebp - 0x7e4], ecx
mov edx, dword [ebp - 0x7f4]
mov eax, dword [ebp - 0x7e4]
cmp eax, dword [edx + 8]
jae 0x47e82b
mov ecx, dword [ebp - 0x7f0]
movzx edx, word [ecx]
mov eax, dword [ebp - 0x7e4]
imul eax, eax, 0xc
mov ecx, dword [ebp - 0x7f4]
mov ecx, dword [ecx + 0x14]
mov dword [eax + ecx], edx
mov edx, dword [ebp - 0x7f0]
add edx, 2
mov dword [ebp - 0x7f0], edx
mov eax, dword [ebp - 0x7e4]
imul eax, eax, 0xc
mov ecx, dword [ebp - 0x7f4]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ebp - 0x7f0]
movzx ecx, word [ecx]
shl ecx, 0x10
or ecx, dword [edx + eax]
mov edx, dword [ebp - 0x7e4]
imul edx, edx, 0xc
mov eax, dword [ebp - 0x7f4]
mov eax, dword [eax + 0x14]
mov dword [edx + eax], ecx
mov ecx, dword [ebp - 0x7f0]
add ecx, 2
mov dword [ebp - 0x7f0], ecx
mov edx, dword [ebp - 0x7e4]
imul edx, edx, 0xc
mov eax, dword [ebp - 0x7f4]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + edx]
add edx, dword [ebp - 4]
mov eax, dword [ebp - 0x7e4]
imul eax, eax, 0xc
mov ecx, dword [ebp - 0x7f4]
mov ecx, dword [ecx + 0x14]
mov dword [eax + ecx], edx
mov edx, dword [ebp - 0x7e4]
imul edx, edx, 0xc
mov eax, dword [ebp - 0x7f4]
mov ecx, dword [eax + 0x14]
mov eax, dword [ebp - 0x7f0]
mov ax, word [eax]
mov word [ecx + edx + 4], ax
mov ecx, dword [ebp - 0x7f0]
add ecx, 2
mov dword [ebp - 0x7f0], ecx
mov edx, dword [ebp - 0x7e4]
imul edx, edx, 0xc
mov eax, dword [ebp - 0x7f4]
mov ecx, dword [eax + 0x14]
mov eax, dword [ebp - 0x7f0]
mov ax, word [eax]
mov word [ecx + edx + 6], ax
mov ecx, dword [ebp - 0x7f0]
add ecx, 2
mov dword [ebp - 0x7f0], ecx
mov edx, dword [ebp - 0x7e4]
imul edx, edx, 0xc
mov eax, dword [ebp - 0x7f4]
mov ecx, dword [eax + 0x14]
mov eax, dword [ebp - 0x7f0]
mov ax, word [eax]
mov word [ecx + edx + 8], ax
mov ecx, dword [ebp - 0x7f0]
add ecx, 2
mov dword [ebp - 0x7f0], ecx
jmp 0x47e6d6
jmp 0x47e39c
mov edx, dword [ebp + 8]
push edx
call fcn.0047f2e0
add esp, 4
test eax, eax
jne 0x47e844
jmp 0x47e86f
mov eax, dword [ebp - 0x7e8]
mov ecx, dword [0x9ccc70]
add ecx, dword [eax + 4]
mov dword [0x9ccc70], ecx
mov edx, dword [0x9ccc6c]
add edx, 1
mov dword [0x9ccc6c], edx
mov eax, 1
jmp 0x47e880
mov eax, dword [ebp - 0x7e8]
push eax
call fcn.0047df40
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.005cbcfe
mov esp, ebp
pop ebp
ret