Function at 0x47d5a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x50c7c4]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, ecx
mov dword [esp + 4], edx
mov ecx, dword [ebp + 8]
push ebx
mov dword [esp + 0x58], ecx
mov ecx, dword [eax]
mov ebx, dword [eax + 0xc]
push esi
mov dword [esp + 0x20], ecx
mov ecx, ebx
push edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], ebx
call fcn.0044f750
mov ecx, ebx
mov dword [esp + 0x3c], eax
call fcn.0044f750
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x54], eax
mov esi, dword [ecx + 0x18]
movzx eax, byte [ecx + 4]
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0x44], edx
mov edx, dword [esi]
mov dword [esp + 0x40], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x34], edx
cmp eax, 0x71
je 0x47d72e
mov eax, dword [esp + 0x24]
mov edi, 1
cmp byte [eax + 0x1e], 0
jne 0x47d72e
lea eax, [edx + edx*4]
shl eax, 2
mov dword [esp + 0x50], eax
jmp 0x47d650
mov eax, dword [ecx]
cmp edi, dword [eax]
jg 0x47d72e
mov edx, dword [esi + 0xc]
xor ecx, ecx
cmp dword [esp + 0x34], ecx
jle 0x47d683
mov ebx, dword [esp + 0x34]
add edx, 0xe
lea esp, [esp]
movzx eax, word [edx]
cmp eax, edi
je 0x47d67f
inc ecx
add edx, 0x14
cmp ecx, ebx
jl 0x47d670
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
cmp ecx, edx
jne 0x47d700
mov ecx, dword [esp + 0x24]
mov edx, 0x31
call fcn.00435760
mov esi, eax
test esi, esi
je 0x47d714
push 0x31
push 0
push esi
call fcn.004af8a0
mov edx, dword [esp + 0x2c]
or eax, 0xffffffff
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov word [esi + 0x1e], ax
mov eax, 0x400
mov byte [esi], 0x81
mov byte [esi + 0x30], 0
or word [esi + 2], ax
push esi
mov dword [esi + 0x2c], 1
mov dword [esi + 4], edi
call fcn.0045efb0
mov ecx, dword [esp + 0x54]
mov esi, eax
mov edx, dword [esp + 0x38]
add esp, 4
inc edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x34], edx
mov eax, dword [esi + 0xc]
mov word [eax + ecx + 0xe], di
add ecx, 0x14
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x24]
inc edi
cmp byte [eax + 0x1e], 0
jne 0x47d72e
mov ecx, dword [esp + 0x10]
jmp 0x47d650
mov eax, 7
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.004a6d1e
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x24]
shl edx, 2
call fcn.00435760
mov dword [esp + 0x50], eax
test eax, eax
je 0x47d867
mov edi, dword [esp + 0x34]
xor ecx, ecx
mov edx, dword [esi + 0xc]
test edi, edi
jle 0x47d76b
add edx, 0xe
mov ebx, eax
movzx eax, word [edx]
lea edx, [edx + 0x14]
dec eax
mov dword [ebx + ecx*4], eax
inc ecx
cmp ecx, edi
jl 0x47d758
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
lea edx, [edi + 4]
lea edx, [edi + edx*4]
call fcn.00435760
mov ecx, eax
mov dword [esp + 0x58], ecx
test ecx, ecx
je 0x47d86f
lea eax, [edi + 3]
mov word [ecx + 6], di
lea eax, [ecx + eax*4]
xor edi, edi
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4d]
mov byte [ecx + 4], al
cmp dword [esp + 0x34], edi
jle 0x47d86f
xor edx, edx
lea ebx, [ecx + 0xc]
mov dword [esp + 0x30], edx
lea ebx, [ebx]
mov eax, dword [esi + 0xc]
mov esi, dword [edx + eax]
mov eax, 0x100
test word [esi + 2], ax
je 0x47d7d6
mov eax, dword [esi + 0x14]
jmp 0x47d835
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + edi*4]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], ecx
mov edx, dword [eax + 0x1c]
test edx, edx
je 0x47d803
push ecx
mov ecx, dword [esp + 0x20]
call fcn.0047c8f0
add esp, 4
test eax, eax
jne 0x47d821
mov ecx, dword [esp + 0x48]
jmp 0x47d805
xor eax, eax
mov edx, dword [esp + 0x10]
mov edx, dword [edx]
cmp ecx, dword [edx]
jge 0x47d821
mov edx, dword [edx + 0xc]
lea eax, [ecx + ecx*4]
mov ecx, dword [esp + 0x1c]
mov edx, dword [edx + eax*4]
call fcn.0045db60
mov edx, dword [esp + 0x30]
mov ecx, 0x100
or word [esi + 2], cx
mov ecx, dword [esp + 0x58]
mov dword [esi + 0x14], eax
mov esi, dword [esp + 0x20]
mov dword [ebx], eax
add ebx, 4
mov ecx, dword [ecx + 8]
mov eax, dword [esi + 0xc]
mov al, byte [edx + eax + 0xc]
add edx, 0x14
mov byte [edi + ecx], al
inc edi
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x30], edx
cmp edi, dword [esp + 0x34]
jl 0x47d7c0
mov ebx, dword [esp + 0x18]
jmp 0x47d86f
mov dword [esp + 0x58], 0
mov edi, dword [esp + 0x10]
mov edx, esi
push 0
mov dword [edi + 0x18], esi
mov esi, dword [esp + 0x20]
mov ecx, dword [esi]
call fcn.0045e9d0
mov ecx, dword [esp + 0x48]
add esp, 4
cmp dword [esp + 0x40], 0x71
mov dword [ecx + 0x18], eax
jne 0x47d8a3
mov dword [esp + 0x38], 0
jmp 0x47da41
mov eax, dword [edi]
mov edx, dword [esi + 0x38]
mov edi, dword [eax]
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x48], edi
mov dword [esp + 0x38], eax
lea ecx, [edi + 1]
cmp ecx, edx
jg 0x47d8c8
add eax, ecx
sub edx, ecx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x38], edx
jmp 0x47d8d7
mov eax, dword [esi + 0x48]
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x38], edx
mov dword [esi + 0x48], eax
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x30], ecx
cmp eax, ecx
jg 0x47d94f
test eax, eax
je 0x47d8ed
add eax, eax
jmp 0x47d8f2
mov eax, 0x33
mov edx, dword [ebx + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ebx]
shl eax, 2
push eax
call fcn.004357e0
mov esi, eax
add esp, 4
test esi, esi
je 0x47d987
mov eax, dword [ebx]
test eax, eax
je 0x47d92f
cmp esi, dword [eax + 0x104]
jb 0x47d92f
cmp esi, dword [eax + 0x108]
jae 0x47d92f
movzx ecx, word [eax + 0xe8]
jmp 0x47d93b
push esi
call dword [0x50e074]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [ebx + 4], esi
mul ecx
mov ecx, dword [esp + 0x30]
shr edx, 4
mov dword [ebx + 0x20], edx
mov eax, dword [ebx + 4]
lea ecx, [ecx + ecx*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x38]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x64], 0
mov ecx, dword [esp + 0x24]
lea esi, [edi + 4]
lea esi, [edi + esi*4]
mov edx, esi
call fcn.00435760
mov ecx, eax
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x47da41
push esi
push 0
push ecx
call fcn.004af8a0
mov ecx, dword [esp + 0x20]
add esp, 0xc
test ecx, ecx
je 0x47da41
lea eax, [edi + 3]
mov word [ecx + 6], di
lea eax, [ecx + eax*4]
xor esi, esi
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4d]
mov byte [ecx + 4], al
test edi, edi
jle 0x47da41
xor ebx, ebx
lea edi, [ecx + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x1c]
test edx, edx
je 0x47da08
mov ecx, dword [esp + 0x1c]
push esi
call fcn.0047c8f0
mov ecx, dword [esp + 0x18]
add esp, 4
test eax, eax
jne 0x47da27
jmp 0x47da0a
xor eax, eax
mov edx, dword [esp + 0x10]
mov edx, dword [edx]
cmp esi, dword [edx]
jge 0x47da27
mov edx, dword [edx + 0xc]
mov ecx, dword [esp + 0x1c]
mov edx, dword [edx + ebx]
call fcn.0045db60
mov ecx, dword [esp + 0x14]
mov dword [edi], eax
add ebx, 0x14
mov eax, dword [ecx + 8]
add edi, 4
mov byte [esi + eax], 0
inc esi
cmp esi, dword [esp + 0x48]
jl 0x47d9e6
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov edx, esi
mov edi, dword [esp + 0x1c]
mov ecx, edi
push str.ORDER
push dword [esi + 0x18]
mov dword [esi + 0x1c], 0
call fcn.0045d4a0
mov eax, dword [esp + 0x4c]
add esp, 8
cmp dword [eax + 0x1c], 0
jne 0x47da82
push str.ORDER
push dword [eax + 0x18]
mov edx, eax
mov ecx, edi
call fcn.0045d4a0
add esp, 8
push dword [esp + 0x3c]
mov edx, esi
mov ecx, edi
call fcn.0047c720
add esp, 4
cmp dword [esi + 0x30], 0
je 0x47dc1c
cmp dword [esp + 0x40], 0x71
jne 0x47dc1c
mov eax, dword [edi + 0x48]
inc eax
mov dword [esp + 0x18], eax
inc eax
mov dword [esp + 0x20], eax
mov dword [edi + 0x48], eax
mov eax, dword [esi + 0x34]
test eax, eax
je 0x47dac7
lea ecx, [eax + 1]
mov dword [esp + 0x30], ecx
jmp 0x47dace
mov eax, dword [esi + 0x30]
mov dword [esp + 0x30], eax
mov edi, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
cmp eax, edi
jg 0x47db3a
test eax, eax
je 0x47dae0
add eax, eax
jmp 0x47dae5
mov eax, 0x33
mov edx, dword [ebx + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ebx]
shl eax, 2
push eax
call fcn.004357e0
mov esi, eax
add esp, 4
test esi, esi
je 0x47db72
mov eax, dword [ebx]
test eax, eax
je 0x47db1e
cmp esi, dword [eax + 0x104]
jb 0x47db1e
cmp esi, dword [eax + 0x108]
jae 0x47db1e
movzx ecx, word [eax + 0xe8]
jmp 0x47db2a
push esi
call dword [0x50e074]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [ebx + 4], esi
mul ecx
shr edx, 4
mov dword [ebx + 0x20], edx
mov eax, dword [ebx + 4]
lea ecx, [edi + edi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x64], 0
mov edi, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
cmp eax, edi
jg 0x47dbe2
test eax, eax
je 0x47db84
add eax, eax
jmp 0x47db89
mov eax, 0x33
mov edx, dword [ebx + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ebx]
shl eax, 2
push eax
call fcn.004357e0
mov esi, eax
add esp, 4
test esi, esi
je 0x47dc28
mov eax, dword [ebx]
test eax, eax
je 0x47dbc6
cmp esi, dword [eax + 0x104]
jb 0x47dbc6
cmp esi, dword [eax + 0x108]
jae 0x47dbc6
movzx ecx, word [eax + 0xe8]
jmp 0x47dbd2
push esi
call dword [0x50e074]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [ebx + 4], esi
mul ecx
shr edx, 4
mov dword [ebx + 0x20], edx
mov eax, dword [ebx + 4]
lea ecx, [edi + edi*4]
inc dword [ebx + 0x1c]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x64], 0
jmp 0x47dc2c
mov dword [esp + 0x20], 0
xor edi, edi
jmp 0x47dc30
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov edx, dword [esi + 0x28]
mov ecx, dword [esp + 0x24]
call fcn.0045e5f0
mov edx, dword [esi + 0x2c]
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x28], 0
call fcn.0045e5f0
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x2c], 0
mov word [esp + 0x84], 0xa
mov dword [esp + 0x8c], 0
inc dword [eax + 0x48]
mov edx, dword [eax + 0x48]
mov dword [esp + 0x88], edx
mov dword [esp + 0x90], 0
mov word [esp + 0x74], 0xa
lea esi, [edx + 2]
mov dword [esp + 0x7c], 0
lea ecx, [esi + 3]
mov dword [esp + 0x78], esi
mov dword [eax + 0x48], ecx
mov dword [esp + 0x80], 0
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x28], esi
mov esi, dword [ebx + 0x1c]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x30], esi
cmp eax, esi
jg 0x47dd32
test eax, eax
je 0x47dcd0
add eax, eax
jmp 0x47dcd5
mov eax, 0x33
mov edx, dword [ebx + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ebx]
shl eax, 2
push eax
call fcn.004357e0
mov esi, eax
add esp, 4
test esi, esi
je 0x47ddaa
mov eax, dword [ebx]
test eax, eax
je 0x47dd12
cmp esi, dword [eax + 0x104]
jb 0x47dd12
cmp esi, dword [eax + 0x108]
jae 0x47dd12
movzx ecx, word [eax + 0xe8]
jmp 0x47dd1e
push esi
call dword [0x50e074]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [ebx + 4], esi
mov esi, dword [esp + 0x30]
mul ecx
shr edx, 4
mov dword [ebx + 0x20], edx
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x1c]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x64], 0
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x1c]
mov dword [edx + 0x30], edi
mov ecx, dword [eax + 0x230]
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x84]
push ecx
mov ecx, eax
call fcn.00480980
mov edi, dword [ebx + 0x1c]
add esp, 4
mov eax, dword [ebx + 0x20]
cmp eax, edi
jg 0x47de0e
test eax, eax
je 0x47ddb4
add eax, eax
jmp 0x47ddb9
mov dword [esp + 0x30], 1
jmp 0x47dd6a
mov eax, 0x33
mov edx, dword [ebx + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ebx]
shl eax, 2
push eax
call fcn.004357e0
mov esi, eax
add esp, 4
test esi, esi
je 0x47de47
mov eax, dword [ebx]
test eax, eax
je 0x47ddf2
cmp esi, dword [eax + 0x104]
jb 0x47ddf2
cmp esi, dword [eax + 0x108]
jae 0x47ddf2
movzx ecx, word [eax + 0xe8]
jmp 0x47ddfe
push esi
call dword [0x50e074]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [ebx + 4], esi
mul ecx
shr edx, 4
mov dword [ebx + 0x20], edx
mov eax, dword [ebx + 4]
lea ecx, [edi + edi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x2c]
inc edx
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x64], 0
mov edi, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
cmp eax, edi
jg 0x47deb3
test eax, eax
je 0x47de59
add eax, eax
jmp 0x47de5e
mov eax, 0x33
mov edx, dword [ebx + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ebx]
shl eax, 2
push eax
call fcn.004357e0
mov esi, eax
add esp, 4
test esi, esi
je 0x47deeb
mov eax, dword [ebx]
test eax, eax
je 0x47de97
cmp esi, dword [eax + 0x104]
jb 0x47de97
cmp esi, dword [eax + 0x108]
jae 0x47de97
movzx ecx, word [eax + 0xe8]
jmp 0x47dea3
push esi
call dword [0x50e074]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [ebx + 4], esi
mul ecx
shr edx, 4
mov dword [ebx + 0x20], edx
mov eax, dword [ebx + 4]
lea ecx, [edi + edi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x64], 0
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x20]
mov edi, dword [ecx + 0x30]
mov esi, dword [ecx + 0x34]
mov dword [ecx + 0x30], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + 0x34], 0
mov edx, dword [eax + 0x230]
mov dword [esp + 0x70], edx
lea edx, [esp + 0x74]
push edx
mov edx, ecx
mov ecx, eax
call fcn.00480980
mov eax, dword [esp + 0x14]
add esp, 4
mov dword [eax + 0x30], edi
mov dword [eax + 0x34], esi
mov edi, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
cmp eax, edi
jg 0x47df9f
test eax, eax
je 0x47df45
add eax, eax
jmp 0x47df4a
mov eax, 0x33
mov edx, dword [ebx + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ebx]
shl eax, 2
push eax
call fcn.004357e0
mov esi, eax
add esp, 4
test esi, esi
je 0x47dfd8
mov eax, dword [ebx]
test eax, eax
je 0x47df83
cmp esi, dword [eax + 0x104]
jb 0x47df83
cmp esi, dword [eax + 0x108]
jae 0x47df83
movzx ecx, word [eax + 0xe8]
jmp 0x47df8f
push esi
call dword [0x50e074]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [ebx + 4], esi
mul ecx
shr edx, 4
mov dword [ebx + 0x20], edx
mov eax, dword [ebx + 4]
lea ecx, [edi + edi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x28]
inc edx
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x64], 0
mov edi, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
cmp eax, edi
jg 0x47e044
test eax, eax
je 0x47dfea
add eax, eax
jmp 0x47dfef
mov eax, 0x33
mov edx, dword [ebx + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ebx]
shl eax, 2
push eax
call fcn.004357e0
mov esi, eax
add esp, 4
test esi, esi
je 0x47e07e
mov eax, dword [ebx]
test eax, eax
je 0x47e028
cmp esi, dword [eax + 0x104]
jb 0x47e028
cmp esi, dword [eax + 0x108]
jae 0x47e028
movzx ecx, word [eax + 0xe8]
jmp 0x47e034
push esi
call dword [0x50e074]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [ebx + 4], esi
mul ecx
shr edx, 4
mov dword [ebx + 0x20], edx
mov eax, dword [ebx + 4]
lea ecx, [edi + edi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x28]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x64], 0
jmp 0x47e082
mov edx, dword [esp + 0x28]
push dword [esp + 0x3c]
mov esi, dword [esp + 0x18]
lea eax, [edx + 2]
mov edi, dword [esp + 0x14]
mov edx, edi
mov ecx, dword [esp + 0x20]
push 0xfffffffffffffff0
push esi
push dword [esp + 0x44]
push eax
push dword [esp + 0x74]
lea eax, [esp + 0x9c]
push eax
call fcn.0047d230
mov dword [esp + 0x68], eax
add esp, 0x1c
mov eax, dword [esp + 0x40]
cmp eax, 0x71
je 0x47e0c5
cmp eax, 0x70
jne 0x47e0f3
push dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x78]
push 0xffffffffffffffef
push esi
push dword [esp + 0x44]
mov edx, edi
push dword [esp + 0x58]
push dword [esp + 0x74]
push eax
call fcn.0047d230
mov dword [esp + 0x78], eax
add esp, 0x1c
mov eax, dword [esp + 0x40]
cmp eax, 0x72
je 0x47e3c8
cmp eax, 0x73
je 0x47e3c8
mov edx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x14], edx
cmp eax, edx
jg 0x47e17d
test eax, eax
je 0x47e11b
add eax, eax
jmp 0x47e120
mov eax, 0x33
mov edx, dword [ebx + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ebx]
shl eax, 2
push eax
call fcn.004357e0
mov esi, eax
add esp, 4
test esi, esi
je 0x47e1c8
mov ecx, dword [ebx]
test ecx, ecx
je 0x47e15d
cmp esi, dword [ecx + 0x104]
jb 0x47e15d
cmp esi, dword [ecx + 0x108]
jae 0x47e15d
movzx ecx, word [ecx + 0xe8]
jmp 0x47e169
push esi
call dword [0x50e074]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [ebx + 4], esi
mul ecx
shr edx, 4
mov dword [ebx + 0x20], edx
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 4]
lea ecx, [edx + edx*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x28]
inc edx
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x64], 0
mov edi, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
cmp eax, edi
jg 0x47e22c
test eax, eax
je 0x47e1d2
add eax, eax
jmp 0x47e1d7
mov dword [esp + 0x14], 1
jmp 0x47e1b6
mov eax, 0x33
mov edx, dword [ebx + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ebx]
shl eax, 2
push eax
call fcn.004357e0
mov esi, eax
add esp, 4
test esi, esi
je 0x47e264
mov ecx, dword [ebx]
test ecx, ecx
je 0x47e210
cmp esi, dword [ecx + 0x104]
jb 0x47e210
cmp esi, dword [ecx + 0x108]
jae 0x47e210
movzx ecx, word [ecx + 0xe8]
jmp 0x47e21c
push esi
call dword [0x50e074]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [ebx + 4], esi
mul ecx
shr edx, 4
mov dword [ebx + 0x20], edx
mov eax, dword [ebx + 4]
lea ecx, [edi + edi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x5c]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x64], 0
mov edi, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
cmp eax, edi
jg 0x47e2d0
test eax, eax
je 0x47e276
add eax, eax
jmp 0x47e27b
mov eax, 0x33
mov edx, dword [ebx + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ebx]
shl eax, 2
push eax
call fcn.004357e0
mov esi, eax
add esp, 4
test esi, esi
je 0x47e308
mov ecx, dword [ebx]
test ecx, ecx
je 0x47e2b4
cmp esi, dword [ecx + 0x104]
jb 0x47e2b4
cmp esi, dword [ecx + 0x108]
jae 0x47e2b4
movzx ecx, word [ecx + 0xe8]
jmp 0x47e2c0
push esi
call dword [0x50e074]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [ebx + 4], esi
mul ecx
shr edx, 4
mov dword [ebx + 0x20], edx
mov eax, dword [ebx + 4]
lea ecx, [edi + edi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x28]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x64], 0
mov edi, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
cmp eax, edi
jg 0x47e374
test eax, eax
je 0x47e31a
add eax, eax
jmp 0x47e31f
mov eax, 0x33
mov edx, dword [ebx + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ebx]
shl eax, 2
push eax
call fcn.004357e0
mov esi, eax
add esp, 4
test esi, esi
je 0x47e3ac
mov ecx, dword [ebx]
test ecx, ecx
je 0x47e358
cmp esi, dword [ecx + 0x104]
jb 0x47e358
cmp esi, dword [ecx + 0x108]
jae 0x47e358
movzx ecx, word [ecx + 0xe8]
jmp 0x47e364
push esi
call dword [0x50e074]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [ebx + 4], esi
mul ecx
shr edx, 4
mov dword [ebx + 0x20], edx
mov eax, dword [ebx + 4]
lea ecx, [edi + edi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x14]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x64], 0
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x10]
movsd xmm0, qword [edx + 0x48]
addsd xmm0, qword [ecx + 0x48]
movsd qword [ecx + 0x48], xmm0
jmp 0x47e47c
mov edi, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x14], edi
cmp eax, edi
jg 0x47e43c
test eax, eax
je 0x47e3de
add eax, eax
jmp 0x47e3e3
mov eax, 0x33
mov edx, dword [ebx + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ebx]
shl eax, 2
push eax
call fcn.004357e0
mov esi, eax
add esp, 4
test esi, esi
je 0x47e4a9
mov ecx, dword [ebx]
test ecx, ecx
je 0x47e420
cmp esi, dword [ecx + 0x104]
jb 0x47e420
cmp esi, dword [ecx + 0x108]
jae 0x47e420
movzx ecx, word [ecx + 0xe8]
jmp 0x47e42c
push esi
call dword [0x50e074]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [ebx + 4], esi
mul ecx
shr edx, 4
mov dword [ebx + 0x20], edx
mov eax, dword [ebx + 4]
lea ecx, [edi + edi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x3c]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x64], 0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x44]
cmp dword [esp + 0x40], 0x73
jne 0x47e4b3
movsd xmm1, qword [edx + 0x48]
movsd xmm0, qword [ecx + 0x48]
comisd xmm0, xmm1
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
jbe 0x47e75d
movsd qword [ecx + 0x48], xmm1
jmp 0x47e75d
mov dword [esp + 0x14], 1
jmp 0x47e474
mov edx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x20], edx
cmp eax, edx
jg 0x47e52b
test eax, eax
je 0x47e4c9
add eax, eax
jmp 0x47e4ce
mov eax, 0x33
mov edx, dword [ebx + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ebx]
shl eax, 2
push eax
call fcn.004357e0
mov esi, eax
add esp, 4
test esi, esi
je 0x47e576
mov ecx, dword [ebx]
test ecx, ecx
je 0x47e50b
cmp esi, dword [ecx + 0x104]
jb 0x47e50b
cmp esi, dword [ecx + 0x108]
jae 0x47e50b
movzx ecx, word [ecx + 0xe8]
jmp 0x47e517
push esi
call dword [0x50e074]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [ebx + 4], esi
mul ecx
shr edx, 4
mov dword [ebx + 0x20], edx
mov edx, dword [esp + 0x20]
mov eax, dword [ebx + 4]
lea ecx, [edx + edx*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x2c]
inc edx
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x64], 0
mov edi, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
cmp eax, edi
jg 0x47e5da
test eax, eax
je 0x47e580
add eax, eax
jmp 0x47e585
mov dword [esp + 0x20], 1
jmp 0x47e564
mov eax, 0x33
mov edx, dword [ebx + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ebx]
shl eax, 2
push eax
call fcn.004357e0
mov esi, eax
add esp, 4
test esi, esi
je 0x47e615
mov ecx, dword [ebx]
test ecx, ecx
je 0x47e5be
cmp esi, dword [ecx + 0x104]
jb 0x47e5be
cmp esi, dword [ecx + 0x108]
jae 0x47e5be
movzx ecx, word [ecx + 0xe8]
jmp 0x47e5ca
push esi
call dword [0x50e074]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [ebx + 4], esi
mul ecx
shr edx, 4
mov dword [ebx + 0x20], edx
mov eax, dword [ebx + 4]
lea ecx, [edi + edi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x28]
add edx, 2
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x4c]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x64], 0
mov edi, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
cmp eax, edi
jg 0x47e681
test eax, eax
je 0x47e627
add eax, eax
jmp 0x47e62c
mov eax, 0x33
mov edx, dword [ebx + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ebx]
shl eax, 2
push eax
call fcn.004357e0
mov esi, eax
add esp, 4
test esi, esi
je 0x47e6b9
mov ecx, dword [ebx]
test ecx, ecx
je 0x47e665
cmp esi, dword [ecx + 0x104]
jb 0x47e665
cmp esi, dword [ecx + 0x108]
jae 0x47e665
movzx ecx, word [ecx + 0xe8]
jmp 0x47e671
push esi
call dword [0x50e074]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [ebx + 4], esi
mul ecx
shr edx, 4
mov dword [ebx + 0x20], edx
mov eax, dword [ebx + 4]
lea ecx, [edi + edi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x64], 0
mov edi, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
cmp eax, edi
jg 0x47e725
test eax, eax
je 0x47e6cb
add eax, eax
jmp 0x47e6d0
mov eax, 0x33
mov edx, dword [ebx + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ebx]
shl eax, 2
push eax
call fcn.004357e0
mov esi, eax
add esp, 4
test esi, esi
je 0x47e75d
mov ecx, dword [ebx]
test ecx, ecx
je 0x47e709
cmp esi, dword [ecx + 0x104]
jb 0x47e709
cmp esi, dword [ecx + 0x108]
jae 0x47e709
movzx ecx, word [ecx + 0xe8]
jmp 0x47e715
push esi
call dword [0x50e074]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [ebx + 4], esi
mul ecx
shr edx, 4
mov dword [ebx + 0x20], edx
mov eax, dword [ebx + 4]
lea ecx, [edi + edi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x20]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x64], 0
mov edx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x18], edx
cmp eax, edx
jg 0x47e7d5
test eax, eax
je 0x47e773
add eax, eax
jmp 0x47e778
mov eax, 0x33
mov edx, dword [ebx + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ebx]
shl eax, 2
push eax
call fcn.004357e0
mov esi, eax
add esp, 4
test esi, esi
je 0x47e822
mov ecx, dword [ebx]
test ecx, ecx
je 0x47e7b5
cmp esi, dword [ecx + 0x104]
jb 0x47e7b5
cmp esi, dword [ecx + 0x108]
jae 0x47e7b5
movzx ecx, word [ecx + 0xe8]
jmp 0x47e7c1
push esi
call dword [0x50e074]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [ebx + 4], esi
mul ecx
shr edx, 4
mov dword [ebx + 0x20], edx
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 4]
lea ecx, [edx + edx*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x28]
add edx, 2
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x4c]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x64], 0
mov edi, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
cmp eax, edi
jg 0x47e886
test eax, eax
je 0x47e82c
add eax, eax
jmp 0x47e831
mov dword [esp + 0x18], 1
jmp 0x47e810
mov eax, 0x33
mov edx, dword [ebx + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ebx]
shl eax, 2
push eax
call fcn.004357e0
mov esi, eax
add esp, 4
test esi, esi
je 0x47e8be
mov ecx, dword [ebx]
test ecx, ecx
je 0x47e86a
cmp esi, dword [ecx + 0x104]
jb 0x47e86a
cmp esi, dword [ecx + 0x108]
jae 0x47e86a
movzx ecx, word [ecx + 0xe8]
jmp 0x47e876
push esi
call dword [0x50e074]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [ebx + 4], esi
mul ecx
shr edx, 4
mov dword [ebx + 0x20], edx
mov eax, dword [ebx + 4]
lea ecx, [edi + edi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x64], 0
mov edi, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
cmp eax, edi
jg 0x47e92a
test eax, eax
je 0x47e8d0
add eax, eax
jmp 0x47e8d5
mov eax, 0x33
mov edx, dword [ebx + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ebx]
shl eax, 2
push eax
call fcn.004357e0
mov esi, eax
add esp, 4
test esi, esi
je 0x47e963
mov ecx, dword [ebx]
test ecx, ecx
je 0x47e90e
cmp esi, dword [ecx + 0x104]
jb 0x47e90e
cmp esi, dword [ecx + 0x108]
jae 0x47e90e
movzx ecx, word [ecx + 0xe8]
jmp 0x47e91a
push esi
call dword [0x50e074]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [ebx + 4], esi
mul ecx
shr edx, 4
mov dword [ebx + 0x20], edx
mov eax, dword [ebx + 4]
lea ecx, [edi + edi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x2c]
inc edx
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x64], 0
mov edi, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
cmp eax, edi
jg 0x47e9cf
test eax, eax
je 0x47e975
add eax, eax
jmp 0x47e97a
mov eax, 0x33
mov edx, dword [ebx + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ebx]
shl eax, 2
push eax
call fcn.004357e0
mov esi, eax
add esp, 4
test esi, esi
je 0x47ea07
mov ecx, dword [ebx]
test ecx, ecx
je 0x47e9b3
cmp esi, dword [ecx + 0x104]
jb 0x47e9b3
cmp esi, dword [ecx + 0x108]
jae 0x47e9b3
movzx ecx, word [ecx + 0xe8]
jmp 0x47e9bf
push esi
call dword [0x50e074]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [ebx + 4], esi
mul ecx
shr edx, 4
mov dword [ebx + 0x20], edx
mov eax, dword [ebx + 4]
lea ecx, [edi + edi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x54]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x64], 0
mov ecx, dword [esp + 0x40]
cmp ecx, 0x71
jne 0x47ea19
mov edi, dword [esp + 0x18]
jmp 0x47ebac
cmp ecx, 0x73
jne 0x47ea2e
mov eax, dword [esp + 0x18]
mov edi, eax
inc eax
mov dword [esp + 0x18], eax
jmp 0x47ebac
mov edx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x4c], edx
cmp eax, edx
jg 0x47eaa6
test eax, eax
je 0x47ea44
add eax, eax
jmp 0x47ea49
mov eax, 0x33
mov edx, dword [ebx + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ebx]
shl eax, 2
push eax
call fcn.004357e0
mov esi, eax
add esp, 4
test esi, esi
je 0x47eaf0
mov ecx, dword [ebx]
test ecx, ecx
je 0x47ea86
cmp esi, dword [ecx + 0x104]
jb 0x47ea86
cmp esi, dword [ecx + 0x108]
jae 0x47ea86
movzx ecx, word [ecx + 0xe8]
jmp 0x47ea92
push esi
call dword [0x50e074]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [ebx + 4], esi
mul ecx
shr edx, 4
mov dword [ebx + 0x20], edx
mov edx, dword [esp + 0x4c]
mov eax, dword [ebx + 4]
lea ecx, [edx + edx*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x64], 0
mov edi, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
cmp eax, edi
jg 0x47eb54
test eax, eax
je 0x47eafa
add eax, eax
jmp 0x47eaff
mov dword [esp + 0x4c], 1
jmp 0x47eade
mov eax, 0x33
mov edx, dword [ebx + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ebx]
shl eax, 2
push eax
call fcn.004357e0
mov esi, eax
add esp, 4
test esi, esi
je 0x47eb8d
mov ecx, dword [ebx]
test ecx, ecx
je 0x47eb38
cmp esi, dword [ecx + 0x104]
jb 0x47eb38
cmp esi, dword [ecx + 0x108]
jae 0x47eb38
movzx ecx, word [ecx + 0xe8]
jmp 0x47eb44
push esi
call dword [0x50e074]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [ebx + 4], esi
mul ecx
shr edx, 4
mov dword [ebx + 0x20], edx
mov eax, dword [ebx + 4]
lea ecx, [edi + edi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x2c]
inc edx
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x64], 0
push 0
push dword [esp + 0x58]
mov edx, 1
mov ecx, ebx
push 0
call fcn.0044f5d0
mov edi, dword [esp + 0x58]
add esp, 0xc
mov ecx, dword [esp + 0x40]
mov esi, dword [ebx + 0x1c]
cmp ecx, 0x71
je 0x47ebb9
cmp ecx, 0x70
jne 0x47ebd2
push 0
push dword [esp + 0x60]
mov edx, 2
mov ecx, ebx
push dword [esp + 0x50]
call fcn.0044f5d0
add esp, 0xc
push 0
push 0
push dword [esp + 0x30]
mov edx, 4
mov ecx, ebx
call fcn.0044f5d0
mov eax, dword [esp + 0x34]
add esp, 0xc
inc eax
mov edx, 0x1a
mov ecx, ebx
push 0
push dword [esp + 0x24]
push eax
call fcn.0044f5d0
add esp, 0xc
mov edx, 1
mov ecx, ebx
push 0
push dword [esp + 0x58]
push 0
call fcn.0044f5d0
mov edx, dword [ebx + 0x1c]
add esp, 0xc
mov eax, dword [esp + 0x30]
cmp edx, eax
jle 0x47ec30
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 8], edx
mov eax, dword [esp + 0x2c]
mov edx, 7
push 0
inc eax
mov ecx, ebx
push eax
push 0
call fcn.0044f5d0
mov eax, dword [esp + 0x34]
add esp, 0xc
inc eax
mov edx, 7
mov ecx, ebx
push 0
push eax
push 0
call fcn.0044f5d0
add esp, 0xc
mov edx, 2
mov ecx, ebx
push 0
push dword [esp + 0x70]
push dword [esp + 0x34]
call fcn.0044f5d0
add esp, 0xc
mov edx, 2
mov ecx, ebx
push 0
push dword [esp + 0x68]
push dword [esp + 0x30]
call fcn.0044f5d0
mov eax, dword [esp + 0x38]
add esp, 0xc
inc eax
mov edx, 0x1a
mov ecx, ebx
push 0
push dword [esp + 0x18]
push eax
call fcn.0044f5d0
mov eax, dword [esp + 0x34]
add esp, 0xc
inc eax
mov edx, 0x1a
mov ecx, ebx
push 0
push dword [esp + 0x24]
push eax
call fcn.0044f5d0
mov ecx, dword [ebx + 0x2c]
add esp, 0xc
test ecx, ecx
je 0x47ece3
mov eax, dword [esp + 0x54]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [ebx + 0x1c]
mov dword [ecx], eax
push 0
push 0
push 0
mov edx, 0x17
mov ecx, ebx
call fcn.0044f5d0
add esp, 0xc
mov edx, eax
mov ecx, ebx
push 0xfffffffffffffff1
push dword [esp + 0x54]
call fcn.0044fcc0
push dword [esp + 0x3c]
mov edx, 0x18
mov ecx, ebx
push dword [esp + 0x88]
push dword [esp + 0x9c]
call fcn.0044f5d0
add esp, 0x14
mov edx, eax
mov ecx, ebx
push 0xfffffffffffffff0
push dword [esp + 0x5c]
call fcn.0044fcc0
push esi
push edi
push dword [esp + 0x28]
mov edx, 0x19
mov ecx, ebx
call fcn.0044f5d0
mov ecx, dword [esp + 0x4c]
add esp, 0x14
mov edi, dword [esp + 0x1c]
test ecx, ecx
je 0x47ed79
mov esi, dword [esp + 0x34]
mov edx, ecx
inc esi
mov ecx, edi
push esi
call fcn.00460570
add esp, 4
cmp esi, dword [edi + 0x38]
jle 0x47ed79
mov eax, dword [esp + 0x38]
mov dword [edi + 0x38], esi
mov dword [edi + 0x3c], eax
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0x47ed92
mov eax, dword [esp + 0x3c]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [ebx + 0x1c]
mov dword [ecx], eax
mov eax, dword [esp + 0x60]
cmp byte [eax], 5
jne 0x47edbf
mov eax, dword [esp + 0x44]
mov ecx, eax
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x47edb1
mov ecx, eax
mov eax, dword [ecx + 0x1c]
test eax, eax
jne 0x47eda8
push dword [ecx]
xor edx, edx
mov ecx, edi
call fcn.0047c0c0
add esp, 4
mov ebx, dword [esp + 0x10]
mov esi, dword [ebx + 0x1c]
test esi, esi
je 0x47ede2
mov ecx, dword [esp + 0x24]
mov edx, esi
call fcn.0047a790
push esi
push dword [esp + 0x28]
call fcn.00435500
add esp, 8
mov ecx, dword [esp + 0x44]
movzx edx, byte [ebx + 4]
push 0
push dword [esp + 0x74]
mov dword [ebx + 0x1c], ecx
mov ecx, edi
push dword [esp + 0x70]
call fcn.0047b860
mov ecx, dword [esp + 0xa0]
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a6d1e
mov esp, ebp
pop ebp
ret