Function at 0x4cb040
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xec
push ebx
push esi
mov ebx, ecx
mov dword [esp + 0x14], 1
push edi
mov edi, edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x4c], edi
mov esi, dword [ebx]
mov dword [esp + 0x24], esi
test edi, edi
je 0x4cb2ed
cmp byte [esi + 0x1e], 0
jne 0x4cb2ed
cmp dword [ebx + 0x40], 0
jne 0x4cb2ed
push 0x2c
lea eax, [esp + 0x98]
push 0
push eax
call fcn.004df090
mov eax, dword [ebp + 8]
add esp, 0xc
cmp byte [eax], 4
ja 0x4cb0bb
mov edx, dword [edi + 0x18]
mov ecx, esi
call fcn.004a9e50
mov ecx, 0xfffe
mov dword [edi + 0x18], 0
and word [edi + 6], cx
push 0
mov edx, edi
mov ecx, ebx
call fcn.004ca990
mov eax, dword [edi + 0x18]
add esp, 4
cmp dword [ebx + 0x40], 0
mov dword [esp + 0x50], eax
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x48], eax
jne 0x4ccc9d
cmp byte [esi + 0x1e], 0
jne 0x4ccc9d
movzx eax, word [edi + 6]
mov esi, dword [ebx + 0xc]
shr eax, 2
and eax, 1
mov dword [esp + 0x5c], esi
mov dword [esp + 0x2c], eax
test esi, esi
jne 0x4cb120
mov ecx, dword [ebx]
call fcn.0049c540
mov esi, eax
mov dword [esp + 0x5c], esi
mov dword [ebx + 0xc], esi
test esi, esi
je 0x4cb33b
mov edx, dword [edi + 0x1c]
xor ecx, ecx
mov dword [esp + 0x28], ecx
test edx, edx
jne 0x4cb282
mov eax, dword [esp + 0x48]
movsx eax, word [eax]
cmp ecx, eax
jge 0x4cb282
mov edx, dword [esp + 0x48]
lea eax, [ecx*8]
sub eax, ecx
lea eax, [edx + eax*8]
mov edx, dword [eax + 0x18]
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], edx
test edx, edx
je 0x4cb26e
cmp byte [eax + 0x1c], 0
jne 0x4cb26e
lea edx, [esp + 0x40]
mov dword [esp + 0x40], 0
mov ecx, edi
call fcn.004a8880
mov eax, dword [ebx + 0x208]
mov edx, edi
add eax, dword [esp + 0x40]
mov ecx, ebx
mov dword [ebx + 0x208], eax
mov eax, dword [esp + 0x20]
movzx eax, word [eax + 6]
shr eax, 2
and eax, 1
push eax
push dword [esp + 0x30]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
push eax
call fcn.004c9770
add esp, 0xc
test eax, eax
je 0x4cb1d9
cmp dword [esp + 0x14], 0
je 0x4cb1d0
or word [edi + 6], 4
mov dword [esp + 0x2c], 1
or eax, 0xffffffff
mov dword [esp + 0x28], eax
jmp 0x4cb225
mov eax, dword [esp + 0x38]
mov ecx, ebx
mov edx, dword [esp + 0x20]
mov eax, dword [eax + 0x20]
mov dword [esp + 0xc8], eax
lea eax, [esp + 0xc4]
push eax
mov word [esp + 0xc8], 9
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
call fcn.004cb040
mov eax, dword [esp + 0x3c]
add esp, 4
mov byte [eax + 0x1c], 1
mov edx, dword [esp + 0x24]
cmp byte [edx + 0x1e], 0
jne 0x4ccc93
lea edx, [esp + 0x40]
mov dword [esp + 0x40], 0
mov ecx, edi
call fcn.004a8880
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x40]
sub dword [ebx + 0x208], eax
mov eax, dword [edi + 8]
cmp byte [ecx], 4
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x48], eax
jbe 0x4cb272
mov eax, dword [edi + 0x18]
mov dword [esp + 0x50], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x48]
mov edx, dword [edi + 0x1c]
inc ecx
mov dword [esp + 0x28], ecx
test edx, edx
je 0x4cb135
mov eax, dword [edi]
movzx ecx, word [edi + 6]
mov dword [esp + 0x68], eax
and ecx, 1
mov eax, dword [edi + 0xc]
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x60], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x40], eax
mov dword [esp + 0x20], ecx
test edx, edx
je 0x4cb30f
cmp dword [edi + 0x24], 0
jne 0x4cb2f9
xor edx, edx
mov eax, edi
xor ecx, ecx
nop dword [eax]
mov dword [eax + 0x20], edx
inc ecx
mov dword [eax + 0x24], edi
mov edx, eax
mov eax, dword [eax + 0x1c]
test eax, eax
jne 0x4cb2c0
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x58]
test eax, eax
je 0x4cb2f9
cmp ecx, eax
jle 0x4cb2f9
push str.too_many_terms_in_compound_SELECT
push ebx
call fcn.0048dbf0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov edx, edi
mov ecx, ebx
call fcn.004c59b0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x68]
mov eax, dword [ebp + 8]
cmp dword [ecx], 1
mov al, byte [eax]
jle 0x4cb3d3
cmp al, 6
je 0x4cb32d
cmp al, 7
jne 0x4cb3d3
push str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
push ebx
call fcn.0048dbf0
add esp, 8
mov ecx, 1
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0xa4]
test esi, esi
je 0x4ccca9
cmp esi, dword [edx + 0xf0]
lea edi, [edx + 0xf0]
jb 0x4ccca9
cmp esi, dword [edx + 0xf4]
lea ebx, [edx + 0xf4]
jae 0x4ccca9
mov eax, dword [edx + 0xec]
mov dword [esi], eax
dec dword [edx + 0xe4]
mov dword [edx + 0xec], esi
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0xb4]
test esi, esi
je 0x4ccde0
cmp esi, dword [edi]
jb 0x4ccd5b
cmp esi, dword [ebx]
jae 0x4ccd5b
mov eax, dword [edx + 0xec]
mov dword [esi], eax
mov eax, ecx
dec dword [edx + 0xe4]
mov dword [edx + 0xec], esi
mov dword [esp + 0x18], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [edi + 6]
and al, 5
cmp al, 1
jne 0x4cb408
mov edx, dword [edi]
mov ecx, dword [esp + 0x24]
push 0
call fcn.004a94c0
mov dword [esp + 0x20], eax
add esp, 4
mov dword [edi + 0x10], eax
mov dword [esp + 0x60], eax
mov eax, 0xfffe
and word [edi + 6], ax
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4cb4b9
mov edx, eax
mov ecx, ebx
call fcn.004c3f60
mov edx, dword [esp + 0x50]
mov ecx, dword [ebx + 0x44]
mov dword [esp + 0x78], eax
mov dword [edx + 8], ecx
inc dword [ebx + 0x44]
mov eax, dword [edx]
add eax, 2
mov dword [esp + 0x58], eax
mov eax, dword [edx + 8]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], edx
cmp dword [esi + 0x10], edx
jg 0x4cb464
mov ecx, esi
call fcn.0049c600
test eax, eax
je 0x4cb460
mov edx, 1
mov dword [esp + 0x28], edx
jmp 0x4cb4a0
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 0x14]
lea ecx, [edx + edx*4]
inc dword [esi + 0xc]
mov ebx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x58]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x34]
mov word [eax + ecx*4], 0x28
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
push 0xfffffffffffffff0
push dword [esp + 0x7c]
mov ecx, esi
call fcn.0049cc60
mov eax, dword [esp + 0x30]
add esp, 8
mov dword [edi + 0x40], eax
jmp 0x4cb4c0
or eax, 0xffffffff
mov dword [esp + 0x28], eax
mov ecx, dword [ebp + 8]
cmp byte [ecx], 9
jne 0x4cb52c
mov eax, dword [esp + 0x68]
mov eax, dword [eax]
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x14], eax
cmp dword [esi + 0x10], eax
jg 0x4cb4f4
mov ecx, esi
call fcn.0049c600
test eax, eax
jne 0x4cb52c
mov eax, dword [esp + 0x14]
inc dword [esi + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x78]
mov word [eax + ecx*4], 0x28
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 [esi + 0x6e], 0
mov ecx, esi
call fcn.0049c760
push eax
mov edx, edi
mov dword [esp + 0xc4], eax
mov ecx, ebx
call fcn.004c5580
add esp, 4
cmp dword [esp + 0x20], 0
je 0x4cb5ea
mov eax, dword [ebx + 0x44]
mov ecx, ebx
mov dword [esp + 0x74], eax
inc eax
mov dword [ebx + 0x44], eax
mov edx, dword [edi]
call fcn.004c3f60
mov edx, dword [esi + 0xc]
mov dword [esp + 0x58], eax
mov dword [esp + 0x14], edx
cmp dword [esi + 0x10], edx
jg 0x4cb59c
mov ecx, esi
call fcn.0049c600
test eax, eax
je 0x4cb598
push 0xfffffffffffffff0
push dword [esp + 0x5c]
mov edx, 1
mov ecx, esi
call fcn.0049cc60
add esp, 8
jmp 0x4cb5f2
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x14]
lea ecx, [edx + edx*4]
inc dword [esi + 0xc]
mov edi, dword [esp + 0x74]
push 0xfffffffffffffff0
push dword [esp + 0x5c]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x54]
mov word [eax + ecx*4], 0x28
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, esi
mov byte [esi + 0x6e], 0
call fcn.0049cc60
add esp, 8
jmp 0x4cb5f2
mov dword [esp + 0x74], 0xffffffff
cmp dword [esp + 0x2c], 0
jne 0x4cb6bd
cmp dword [esp + 0x1c], 0
jne 0x4cb6c4
mov edx, dword [esp + 0x48]
lea eax, [esp + 0x3c]
push 0
push eax
push dword [esp + 0x74]
mov ecx, ebx
call fcn.004d4600
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x40], ecx
test ecx, ecx
je 0x4cb33b
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x50], edx
test eax, eax
js 0x4cb685
test edx, edx
jne 0x4cb685
mov edx, dword [esi + 0x14]
test edx, edx
je 0x4cb67a
mov ecx, dword [esi]
lea eax, [eax + eax*4]
push dword [edx + eax*4 + 0x10]
lea edi, [edx + eax*4]
movsx edx, byte [edi + 1]
call fcn.0049ca30
mov ecx, dword [esp + 0x44]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
add esp, 4
mov byte [edi], 0x85
mov edi, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov dword [edi + 0x40], 0xffffffff
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, ebx
push dword [ebp + 8]
push 0xffffffffffffffff
push edx
push 0
push 0
push dword [esp + 0x84]
mov edx, edi
call fcn.004c3690
mov ecx, dword [esp + 0x60]
add esp, 0x20
call fcn.004d50e0
lea eax, [esi + 0x20]
mov dword [esp + 0x2c], eax
jmp 0x4ccc26
cmp dword [esp + 0x1c], 0
je 0x4cb6fe
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [eax + 0xc]
test ecx, ecx
jle 0x4cb6e0
lea eax, [edx + 0x10]
xor edx, edx
lea eax, [eax + 0x14]
dec ecx
mov word [eax - 0x14], dx
test ecx, ecx
jg 0x4cb6d2
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx]
test ecx, ecx
jle 0x4cb6fe
add eax, 0x10
xor edx, edx
lea eax, [eax + 0x14]
dec ecx
mov word [eax - 0x14], dx
test ecx, ecx
jg 0x4cb6f0
mov ecx, esi
call fcn.0049c760
mov ecx, dword [esp + 0x1c]
xorps xmm0, xmm0
mov edx, dword [esp + 0x48]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x94]
movlpd qword [esp + 0xdc], xmm0
movlpd qword [esp + 0xe4], xmm0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], edx
mov dword [esp + 0xf0], eax
test ecx, ecx
je 0x4cb768
mov eax, dword [ecx]
inc eax
mov dword [esp + 0xa0], eax
jmp 0x4cb773
mov dword [esp + 0xa0], 0
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x68]
cmp dword [ecx], 0
mov eax, dword [ecx + 0xc]
jle 0x4cb7d6
mov edi, eax
xor esi, esi
mov ebx, ecx
nop dword [eax]
mov edx, dword [edi]
lea eax, [esp + 0xd4]
lea ecx, [esp + 0x84]
mov dword [esp + 0x84], 0x4aed30
mov dword [esp + 0x88], 0x4aeff0
mov dword [esp + 0x90], eax
call fcn.004a6bb0
inc esi
lea edi, [edi + 0x14]
cmp esi, dword [ebx]
jl 0x4cb790
mov esi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x4cb836
cmp dword [ecx], 0
mov eax, dword [ecx + 0xc]
jle 0x4cb836
mov ebx, eax
xor edi, edi
mov esi, ecx
nop dword [eax]
mov edx, dword [ebx]
lea eax, [esp + 0xd4]
lea ecx, [esp + 0x84]
mov dword [esp + 0x84], 0x4aed30
mov dword [esp + 0x88], 0x4aeff0
mov dword [esp + 0x90], eax
call fcn.004a6bb0
inc edi
lea ebx, [ebx + 0x14]
cmp edi, dword [esi]
jl 0x4cb7f0
mov esi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4cb870
lea ecx, [esp + 0xd4]
mov dword [esp + 0x84], 0x4aed30
mov dword [esp + 0x90], ecx
mov edx, eax
lea ecx, [esp + 0x84]
mov dword [esp + 0x88], 0x4aeff0
call fcn.004a6bb0
mov ecx, dword [esp + 0xb8]
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xb0], eax
mov dword [esp + 0x20], 0
test ecx, ecx
jle 0x4cb925
xor edx, edx
mov dword [esp + 0x38], edx
nop dword [eax + eax]
mov eax, dword [esp + 0xb4]
mov eax, dword [edx + eax]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x14], eax
test eax, eax
je 0x4cb905
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [eax], ebx
jle 0x4cb905
mov esi, eax
mov edx, dword [edi]
lea eax, [esp + 0xd4]
lea ecx, [esp + 0x84]
mov dword [esp + 0x84], 0x4aed30
mov dword [esp + 0x88], 0x4aeff0
mov dword [esp + 0x90], eax
call fcn.004a6bb0
inc ebx
lea edi, [edi + 0x14]
cmp ebx, dword [esi]
jl 0x4cb8c0
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x20]
add edx, 0x10
inc eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x20], eax
cmp eax, ecx
jl 0x4cb8a0
mov esi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x4c]
mov edx, dword [esp + 0x24]
cmp byte [edx + 0x1e], 0
jne 0x4ccc93
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4cc6e4
mov eax, dword [ebx + 0x44]
mov edx, ecx
mov dword [esp + 0x98], eax
mov ecx, ebx
inc eax
mov dword [ebx + 0x44], eax
call fcn.004c3f60
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x14], eax
mov eax, ecx
mov dword [esp + 0x2c], ecx
cmp dword [esi + 0x10], ecx
jg 0x4cb99b
mov ecx, esi
call fcn.0049c600
test eax, eax
je 0x4cb994
mov edx, 1
mov dword [esp + 0x2c], edx
jmp 0x4cb9d8
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x58]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 0x28
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
push 0xfffffffffffffff0
push dword [esp + 0x7c]
mov ecx, esi
call fcn.0049cc60
mov eax, dword [ebx + 0x48]
add esp, 8
inc eax
mov ecx, esi
mov dword [esp + 0x44], eax
add eax, 2
mov dword [ebx + 0x48], eax
call fcn.0049c760
inc dword [ebx + 0x48]
mov ecx, esi
mov dword [esp + 0x70], eax
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x20], eax
call fcn.0049c760
mov edx, dword [ebx + 0x48]
mov dword [esp + 0x38], eax
lea eax, [edx + 1]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x1c]
add edx, dword [eax]
mov dword [ebx + 0x48], edx
lea ecx, [edx + 1]
mov dword [esp + 0x80], ecx
mov ecx, dword [eax]
add ecx, edx
mov dword [ebx + 0x48], ecx
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x10], ecx
jg 0x4cba5a
mov ecx, esi
call fcn.0049c600
test eax, eax
jne 0x4cba98
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x44]
lea ecx, [ecx + ecx*4]
mov edi, dword [esp + 0x4c]
inc eax
mov dword [esi + 0xc], eax
inc edx
mov eax, dword [esi + 0x14]
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 [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x10], ecx
jg 0x4cbab8
mov ecx, esi
call fcn.0049c600
test eax, eax
jne 0x4cbaf1
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x44]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
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 [esi + 0x6e], 0
mov eax, dword [esi + 0xc]
mov dword [esp + 0x14], eax
cmp dword [esi + 0x10], eax
jg 0x4cbb0c
mov ecx, esi
call fcn.0049c600
test eax, eax
jne 0x4cbb44
mov eax, dword [esp + 0x14]
inc dword [esi + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
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 [esi + 0x6e], 0
mov edx, dword [esp + 0x48]
lea eax, [esp + 0x60]
push 0
push eax
push dword [esp + 0x74]
mov ecx, ebx
call fcn.004d4600
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
je 0x4cb33b
mov eax, dword [esp + 0x60]
mov dword [esp + 0x7c], eax
test eax, eax
jne 0x4cbb89
mov eax, dword [edi + 0x10]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x6c], 0
jmp 0x4cbf36
mov eax, dword [eax]
mov dword [esp + 0x30], eax
inc eax
cmp dword [esp + 0xa8], 0
mov ecx, eax
mov dword [esp + 0x6c], 1
mov edx, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x1c], ecx
jle 0x4cbbeb
mov edi, dword [esp + 0xa4]
mov esi, eax
mov ebx, dword [esp + 0xa8]
add edi, 0xc
cmp dword [edi], edx
lea eax, [esi + 1]
lea edi, [edi + 0x18]
cmovl eax, esi
mov esi, eax
lea eax, [edx + 1]
cmovl eax, edx
mov edx, eax
sub ebx, 1
jne 0x4cbbc1
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x54], eax
cmp ecx, eax
jg 0x4cbc47
xor edi, edi
lea edx, [ebx + 0x70]
mov ecx, dword [edx]
mov esi, dword [esp + 0x5c]
cmp ecx, dword [esp + 0x18]
jl 0x4cbc21
mov esi, dword [esp + 0x18]
dec esi
add eax, esi
mov esi, dword [esp + 0x5c]
cmp ecx, eax
jle 0x4cbc43
mov eax, dword [esp + 0x54]
inc edi
add edx, 0x18
cmp edi, 0xa
jl 0x4cbc02
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
lea eax, [edx + ecx]
mov dword [ebx + 0x3c], eax
mov eax, dword [esp + 0x54]
sub eax, ecx
mov dword [ebx + 0x38], eax
jmp 0x4cbc56
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x48]
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x18], edx
mov dword [ebx + 0x48], eax
mov ecx, ebx
call fcn.004abb90
push 0
push edx
mov edx, dword [esp + 0x68]
call fcn.004ae140
mov eax, dword [esp + 0xa0]
add esp, 8
mov edi, dword [esi + 0xc]
mov dword [esp + 0x54], eax
mov eax, edi
cmp dword [esi + 0x10], edi
jg 0x4cbc8f
mov ecx, esi
call fcn.0049c600
test eax, eax
jne 0x4cbcd0
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x18]
lea ecx, [edi + edi*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 0x34
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x54]
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x30]
add eax, edx
mov dword [ecx + 8], eax
mov byte [esi + 0x6e], 0
jmp 0x4cbcd4
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x54], 0
test ecx, ecx
jle 0x4cbdb0
mov edi, dword [esp + 0x3c]
add edi, edx
xor edx, edx
mov dword [esp + 0x60], edx
nop word [eax + eax]
mov eax, dword [esp + 0xa4]
mov ebx, dword [esp + 0x3c]
cmp dword [edx + eax + 0xc], ebx
mov ebx, dword [esp + 0x34]
jl 0x4cbd98
push 0
push edi
push dword [edx + eax + 4]
mov ecx, ebx
push dword [edx + eax + 8]
mov edx, dword [edx + eax]
call fcn.004ab9a0
add esp, 0x10
mov dword [esp + 0x10], eax
cmp edi, eax
je 0x4cbd88
mov eax, dword [esi + 0xc]
mov dword [esp + 0x30], eax
cmp dword [esi + 0x10], eax
jg 0x4cbd54
mov ecx, esi
call fcn.0049c600
test eax, eax
jne 0x4cbd88
mov eax, dword [esp + 0x30]
inc dword [esi + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x10]
mov word [eax + ecx*4], 0xf
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
inc dword [esp + 0x3c]
inc edi
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x54]
add edx, 0x18
inc eax
mov dword [esp + 0x60], edx
mov dword [esp + 0x54], eax
cmp eax, ecx
jl 0x4cbd00
mov al, byte [ebx + 0x15]
test al, al
jne 0x4cbdbf
inc dword [ebx + 0x48]
mov edi, dword [ebx + 0x48]
jmp 0x4cbdcb
dec al
mov byte [ebx + 0x15], al
movzx eax, al
mov edi, dword [ebx + eax*4 + 0x18]
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x10], ecx
jg 0x4cbdeb
mov ecx, esi
call fcn.0049c600
test eax, eax
jne 0x4cbe20
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov word [eax + ecx*4], 0x1e
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x98]
mov dword [esp + 0x30], eax
mov eax, ecx
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x10], ecx
jg 0x4cbe4b
mov ecx, esi
call fcn.0049c600
test eax, eax
jne 0x4cbe80
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 0x43
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
test edi, edi
je 0x4cbeaf
mov dl, byte [ebx + 0x15]
cmp dl, 8
jae 0x4cbeaf
xor ecx, ecx
lea eax, [ebx + 0x60]
cmp dword [eax + 0x10], edi
je 0x4cbeab
inc ecx
add eax, 0x18
cmp ecx, 0xa
jl 0x4cbe91
movzx eax, dl
mov dword [ebx + eax*4 + 0x18], edi
inc byte [ebx + 0x15]
jmp 0x4cbeaf
mov byte [eax + 9], 1
mov eax, dword [esp + 0x1c]
cmp eax, dword [ebx + 0x38]
jle 0x4cbec2
mov dword [ebx + 0x38], eax
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x3c], eax
mov ecx, dword [esp + 0x14]
call fcn.004d50e0
mov eax, dword [esp + 0x98]
mov edi, dword [esi + 0xc]
mov dword [esp + 0x10], eax
mov eax, edi
cmp dword [esi + 0x10], edi
jg 0x4cbeee
mov ecx, esi
call fcn.0049c600
test eax, eax
jne 0x4cbf27
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x10]
lea ecx, [edi + edi*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov word [eax + ecx*4], 0x3f
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 [esi + 0x6e], 0
mov ecx, ebx
mov byte [esp + 0x95], 1
call fcn.004abb90
mov eax, dword [esi + 0xc]
mov ecx, ebx
mov dword [esp + 0x60], eax
call fcn.004abb90
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x3c], 0
mov edi, dword [eax]
test edi, edi
jle 0x4cc086
mov edi, dword [esp + 0x80]
xor edx, edx
mov dword [esp + 0x54], edx
mov dword [esp + 0x1c], edi
jmp 0x4cbf74
mov eax, dword [esp + 0x7c]
cmp dword [esp + 0x6c], 0
je 0x4cbfde
mov eax, dword [esp + 0x98]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x10], eax
cmp dword [esi + 0x10], eax
jg 0x4cbfa5
mov ecx, esi
call fcn.0049c600
test eax, eax
jne 0x4cc05d
mov eax, dword [esp + 0x10]
inc dword [esi + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov word [eax + ecx*4], 0x1c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
jmp 0x4cc05d
mov byte [esp + 0x94], 1
mov ecx, ebx
mov eax, dword [eax + 0xc]
push edi
mov edx, dword [edx + eax]
call fcn.004ac000
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, edi
je 0x4cc05d
mov edi, dword [ebx + 0xc]
test edi, edi
je 0x4cc059
mov eax, dword [edi + 0xc]
mov dword [esp + 0x10], eax
cmp dword [edi + 0x10], eax
jg 0x4cc021
mov ecx, edi
call fcn.0049c600
test eax, eax
jne 0x4cc059
mov eax, dword [esp + 0x10]
inc dword [edi + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x14]
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov word [eax + ecx*4], 0xf
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 [edi + 0x6e], 0
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x7c]
inc edi
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x54]
inc eax
add edx, 0x14
mov dword [esp + 0x3c], eax
mov ecx, dword [ecx]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x54], edx
cmp eax, ecx
jl 0x4cbf70
mov edi, ecx
mov edx, dword [esi + 0xc]
mov eax, edx
mov dword [esp + 0x10], edx
cmp dword [esi + 0x10], edx
jg 0x4cc0ad
mov ecx, esi
call fcn.0049c600
test eax, eax
je 0x4cc0a6
mov edx, 1
jmp 0x4cc0e9
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x58]
lea ecx, [edx + edx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x80]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x34]
mov word [eax + ecx*4], 0x18
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
push 0xfffffffffffffffa
push dword [esp + 0x7c]
mov ecx, esi
call fcn.0049cc60
mov edi, dword [esi + 0xc]
add esp, 8
mov eax, edi
cmp dword [esi + 0x10], edi
jg 0x4cc111
mov ecx, esi
call fcn.0049c600
test eax, eax
jne 0x4cc145
mov eax, dword [esi + 0xc]
inc eax
lea ecx, [edi + edi*4]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 0x19
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
lea ecx, [eax + ecx*4]
lea eax, [edi + 1]
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], eax
mov dword [ecx + 0xc], eax
mov byte [esi + 0x6e], 0
mov eax, dword [esp + 0x7c]
mov ecx, ebx
mov edx, dword [esp + 0x80]
push dword [eax]
push dword [esp + 0x5c]
call fcn.004abe80
mov ecx, dword [esi + 0xc]
add esp, 8
mov eax, ecx
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x10], ecx
jg 0x4cc180
mov ecx, esi
call fcn.0049c600
test eax, eax
jne 0x4cc1c4
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x44]
lea ecx, [ecx + ecx*4]
mov ebx, dword [esp + 0x34]
inc eax
mov dword [esi + 0xc], eax
add edx, 2
mov eax, dword [esi + 0x14]
mov esi, dword [esp + 0x5c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x70]
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 [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x10], ecx
jg 0x4cc1e4
mov ecx, esi
call fcn.0049c600
test eax, eax
jne 0x4cc222
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x44]
lea ecx, [ecx + ecx*4]
mov ebx, dword [esp + 0x34]
inc eax
mov dword [esi + 0xc], eax
inc edx
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov word [eax + ecx*4], 0x70
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 [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x10], ecx
jg 0x4cc242
mov ecx, esi
call fcn.0049c600
test eax, eax
jne 0x4cc27b
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
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 [esi + 0x6e], 0
mov edx, dword [esi + 0xc]
cmp edx, edi
jle 0x4cc28c
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
mov dword [eax + ecx*4 + 8], edx
lea edx, [esp + 0x94]
mov ecx, ebx
call fcn.004cacf0
mov edi, dword [esi + 0xc]
mov eax, edi
cmp dword [esi + 0x10], edi
jg 0x4cc2b2
mov ecx, esi
call fcn.0049c600
test eax, eax
jne 0x4cc2eb
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x44]
lea ecx, [edi + edi*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
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 [esi + 0x6e], 0
cmp dword [esp + 0x6c], 0
je 0x4cc354
mov eax, dword [esp + 0x98]
mov edi, dword [esi + 0xc]
mov dword [esp + 0x10], eax
mov eax, edi
cmp dword [esi + 0x10], edi
jg 0x4cc319
mov ecx, esi
call fcn.0049c600
test eax, eax
jne 0x4cc391
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x10]
lea ecx, [edi + edi*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x60]
mov word [eax + ecx*4], 0x42
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 [esi + 0x6e], 0
jmp 0x4cc391
mov ecx, dword [esp + 0x14]
call fcn.004d50e0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x4cc391
mov eax, dword [esp + 0x2c]
lea eax, [eax + eax*4]
push dword [ecx + eax*4 + 0x10]
movsx edx, byte [ecx + eax*4 + 1]
lea edi, [ecx + eax*4]
mov ecx, dword [esi]
call fcn.0049ca30
xorps xmm0, xmm0
add esp, 4
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov byte [edi], 0x85
mov edi, dword [esi + 0xc]
mov eax, edi
cmp dword [esi + 0x10], edi
jg 0x4cc3a9
mov ecx, esi
call fcn.0049c600
test eax, eax
jne 0x4cc3e9
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x44]
lea ecx, [edi + edi*4]
mov ebx, dword [esp + 0x34]
inc eax
mov dword [esi + 0xc], eax
add edx, 2
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x70]
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 [esi + 0x6e], 0
mov edi, dword [esi + 0xc]
mov eax, edi
cmp dword [esi + 0x10], edi
jg 0x4cc401
mov ecx, esi
call fcn.0049c600
test eax, eax
jne 0x4cc43a
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x28]
lea ecx, [edi + edi*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 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 [esi + 0x6e], 0
mov edi, dword [esi + 0xc]
mov eax, edi
mov dword [esp + 0x30], edi
cmp dword [esi + 0x10], edi
jg 0x4cc456
mov ecx, esi
call fcn.0049c600
test eax, eax
jne 0x4cc490
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x44]
lea ecx, [edi + edi*4]
inc eax
inc edx
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
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 [esi + 0x6e], 0
mov edi, dword [esi + 0xc]
mov eax, edi
cmp dword [esi + 0x10], edi
jg 0x4cc4a8
mov ecx, esi
call fcn.0049c600
test eax, eax
jne 0x4cc4e8
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x44]
lea ecx, [edi + edi*4]
mov ebx, dword [esp + 0x34]
inc eax
mov dword [esi + 0xc], eax
add edx, 2
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 3
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 [esi + 0x6e], 0
mov ecx, dword [esi + 0x20]
lea eax, [esi + 0x20]
mov dword [esp + 0x2c], eax
test ecx, ecx
je 0x4cc508
mov eax, dword [esp + 0x70]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0xc]
mov dword [ecx], eax
mov edi, dword [esi + 0xc]
mov eax, edi
cmp dword [esi + 0x10], edi
jg 0x4cc520
mov ecx, esi
call fcn.0049c600
test eax, eax
jne 0x4cc558
mov eax, dword [esi + 0xc]
inc eax
lea ecx, [edi + edi*4]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 0x70
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x44]
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], eax
lea eax, [edi + 2]
mov dword [ecx + 8], eax
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x10], ecx
jg 0x4cc578
mov ecx, esi
call fcn.0049c600
test eax, eax
jne 0x4cc5bc
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x44]
lea ecx, [ecx + ecx*4]
mov ebx, dword [esp + 0x34]
inc eax
mov dword [esi + 0xc], eax
add edx, 2
mov eax, dword [esi + 0x14]
mov esi, dword [esp + 0x5c]
mov word [eax + ecx*4], 3
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 [esi + 0x6e], 0
lea edx, [esp + 0x94]
mov ecx, ebx
call fcn.004cac20
mov edx, dword [esp + 0x40]
inc edi
push 8
push edi
mov ecx, ebx
call fcn.004ae6c0
push dword [esp + 0x38]
mov ecx, ebx
push edi
push dword [ebp + 8]
mov edi, dword [esp + 0x60]
mov edx, edi
push dword [esp + 0x88]
push dword [esp + 0x68]
push 0
push 0
push dword [edi]
call fcn.004c3690
mov ecx, dword [esi + 0xc]
add esp, 0x28
mov eax, ecx
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x10], ecx
jg 0x4cc622
mov ecx, esi
call fcn.0049c600
test eax, eax
jne 0x4cc662
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x44]
lea ecx, [ecx + ecx*4]
mov ebx, dword [esp + 0x34]
inc eax
mov dword [esi + 0xc], eax
add edx, 2
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 3
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 [esi + 0x6e], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x4cc67b
mov eax, dword [esp + 0x38]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0xc]
mov dword [ecx], eax
lea edx, [esp + 0x94]
mov ecx, ebx
call fcn.004caa40
mov eax, dword [esi + 0xc]
mov dword [esp + 0x10], eax
cmp dword [esi + 0x10], eax
jg 0x4cc6a4
mov ecx, esi
call fcn.0049c600
test eax, eax
jne 0x4cc6dc
mov eax, dword [esp + 0x10]
inc dword [esi + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x20]
mov word [eax + ecx*4], 3
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 [esi + 0x6e], 0
lea ecx, [esi + 0x20]
jmp 0x4ccc0a
cmp dword [edi + 0xc], 0
mov dword [esp + 0x70], 0
jne 0x4cc970
mov eax, dword [edi]
cmp dword [eax], 1
jne 0x4cc970
mov ecx, dword [edi + 8]
cmp word [ecx], 1
jne 0x4cc970
cmp dword [ecx + 0x18], 0
jne 0x4cc970
mov ecx, dword [ecx + 0x14]
mov dword [esp + 0x20], ecx
test byte [ecx + 0x22], 0x10
jne 0x4cc970
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
cmp byte [edx], 0x99
jne 0x4cc970
mov eax, dword [esp + 0xb4]
mov eax, dword [eax + 4]
test byte [eax + 3], 0x20
je 0x4cc970
test byte [edx + 2], 0x10
jne 0x4cc970
mov eax, dword [ecx + 0x40]
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], 0xfff0bdc0
test eax, eax
je 0x4cc79b
mov edx, dword [ebx]
xor eax, eax
mov dword [esp + 0x2c], eax
mov edx, dword [edx + 4]
test edx, edx
jle 0x4cc79b
mov ecx, dword [ebx]
mov edi, dword [esp + 0x10]
mov ecx, dword [ecx + 8]
add ecx, 0xc
cmp dword [ecx], edi
je 0x4cc78f
inc eax
add ecx, 0x10
cmp eax, edx
jl 0x4cc783
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x44]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x74], eax
inc eax
mov dword [ebx + 0x44], eax
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, dword [ecx + 0x18]
mov ecx, ebx
mov dword [esp + 0x14], eax
call fcn.004b6330
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x4cc807
xor edx, edx
nop dword [eax + eax]
test edx, edx
je 0x4cc7dc
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 4]
jge 0x4cc7de
mov edx, ecx
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x4cc7d0
test edx, edx
je 0x4cc807
mov ecx, dword [esp + 0x20]
mov eax, dword [edx + 4]
cmp eax, dword [ecx + 0xc]
jge 0x4cc807
mov eax, dword [edx + 0x14]
mov ecx, ebx
mov dword [esp + 0x14], eax
call fcn.004b6490
mov dword [esp + 0x38], eax
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x10], ecx
jg 0x4cc827
mov ecx, esi
call fcn.0049c600
test eax, eax
jne 0x4cc860
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x74]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 0x26
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4cc8ad
mov edx, dword [esi + 0x14]
mov ecx, dword [esi]
test edx, edx
je 0x4cc89f
cmp byte [ecx + 0x1e], 0
jne 0x4cc89f
mov eax, dword [esi + 0xc]
dec eax
lea eax, [eax + eax*4]
push dword [edx + eax*4 + 0x10]
lea edi, [edx + eax*4]
movsx edx, byte [edi + 1]
call fcn.0049ca30
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x10], eax
mov byte [edi + 1], 0xfa
mov edi, dword [esp + 0x50]
jmp 0x4cc8aa
push eax
mov edx, 0xfffffff0
call fcn.0049ca30
add esp, 4
mov eax, dword [esp + 0xb4]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x10], ecx
mov eax, dword [eax + 8]
mov dword [esp + 0x30], eax
mov eax, ecx
cmp dword [esi + 0x10], ecx
jg 0x4cc8db
mov ecx, esi
call fcn.0049c600
test eax, eax
jne 0x4cc914
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x74]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov word [eax + ecx*4], 0x1f
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 [esi + 0x6e], 0
mov eax, dword [esi + 0xc]
mov dword [esp + 0x10], eax
cmp dword [esi + 0x10], eax
jg 0x4cc933
mov ecx, esi
call fcn.0049c600
test eax, eax
jne 0x4ccbbb
mov eax, dword [esp + 0x10]
inc dword [esi + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x74]
mov word [eax + ecx*4], 0x2a
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 [esi + 0x6e], 0
jmp 0x4ccbbb
mov eax, dword [edi]
mov dword [esp + 0x20], 0
cmp dword [eax], 1
jne 0x4ccadc
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
cmp byte [ecx], 0x99
jne 0x4ccadc
mov eax, 0x1000
test word [ecx + 2], ax
jne 0x4ccadc
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x30], eax
test eax, eax
je 0x4ccadc
cmp dword [eax], 1
jne 0x4ccadc
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
cmp byte [eax], 0x9a
jne 0x4ccadc
mov eax, dword [ecx + 4]
mov edx, 0x523bf0
mov al, byte [eax]
mov byte [esp + 0xf], al
mov cl, al
test al, al
je 0x4cca1d
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 4]
sub ecx, edx
mov dword [esp + 0x10], ecx
mov ebx, ecx
nop dword [eax]
movzx ecx, byte [edx]
mov byte [esp + 0x67], al
movzx eax, al
mov al, byte [eax + 0x51e778]
cmp al, byte [ecx + 0x51e778]
jne 0x4cca15
mov al, byte [edx + ebx + 1]
inc edx
mov cl, al
test al, al
jne 0x4cc9f0
jmp 0x4cca19
mov cl, byte [esp + 0x67]
mov ebx, dword [esp + 0x34]
movzx eax, cl
movzx ecx, byte [eax + 0x51e778]
movzx eax, byte [edx]
movzx eax, byte [eax + 0x51e778]
sub ecx, eax
jne 0x4cca3c
mov byte [esp + 0xf], 1
jmp 0x4cca9a
mov al, byte [esp + 0xf]
mov edx, 0x523bf4
test al, al
je 0x4cca7b
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx + 4]
sub ebx, edx
movzx ecx, byte [edx]
mov byte [esp + 0xf], al
movzx eax, al
mov al, byte [eax + 0x51e778]
cmp al, byte [ecx + 0x51e778]
jne 0x4cca77
mov al, byte [edx + ebx + 1]
inc edx
mov byte [esp + 0xf], al
test al, al
jne 0x4cca52
mov ebx, dword [esp + 0x34]
movzx eax, byte [edx]
movzx ecx, byte [eax + 0x51e778]
movzx eax, byte [esp + 0xf]
movzx eax, byte [eax + 0x51e778]
sub eax, ecx
jne 0x4ccadc
mov byte [esp + 0xf], 2
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
push 0
call fcn.004a94c0
mov edx, eax
add esp, 4
mov dword [esp + 0x70], edx
mov dword [esp + 0x20], edx
test edx, edx
je 0x4ccae1
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x1e], 0
jne 0x4ccae1
mov eax, dword [edx + 0xc]
cmp byte [esp + 0xf], 1
setne cl
mov byte [eax + 0xc], cl
mov eax, dword [edx + 0xc]
mov eax, dword [eax]
mov byte [eax], 0x98
jmp 0x4ccae1
mov byte [esp + 0xf], 0
lea edx, [esp + 0x94]
mov ecx, ebx
call fcn.004caa40
movzx eax, byte [esp + 0xf]
mov ecx, ebx
mov edx, dword [esp + 0x48]
push eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x74]
call fcn.004d4600
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4ccb26
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x24]
call fcn.004a9e50
jmp 0x4cb33b
lea edx, [esp + 0x94]
mov ecx, ebx
call fcn.004cacf0
cmp dword [esp + 0x20], 0
jne 0x4ccba4
cmp byte [esp + 0xf], 0
je 0x4ccba4
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x10], eax
cmp dword [esi + 0x10], eax
jg 0x4ccb6c
mov ecx, esi
call fcn.0049c600
test eax, eax
jne 0x4ccba4
mov eax, dword [esp + 0x10]
inc dword [esi + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x30]
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 [esi + 0x6e], 0
mov ecx, dword [esp + 0x14]
call fcn.004d50e0
lea edx, [esp + 0x94]
mov ecx, ebx
call fcn.004cac20
mov edx, dword [esp + 0x40]
mov ecx, ebx
push 8
push dword [esp + 0x2c]
mov dword [esp + 0x58], 0
call fcn.004ae6c0
mov eax, dword [esp + 0x30]
mov edx, edi
push eax
push eax
push dword [ebp + 8]
mov ecx, ebx
push 0xffffffffffffffff
push 0
push 0
push 0
push dword [edi]
call fcn.004c3690
mov edx, dword [esp + 0x98]
add esp, 0x28
mov ecx, dword [esp + 0x24]
call fcn.004a9e50
lea ecx, [esi + 0x20]
mov dword [esp + 0x2c], ecx
mov edx, dword [ecx]
test edx, edx
je 0x4ccc26
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], ecx
lea eax, [eax*4 + 4]
sub edx, eax
mov eax, dword [esi + 0xc]
mov dword [edx], eax
cmp dword [esp + 0x50], 0
je 0x4ccc43
mov eax, dword [esp + 0x68]
mov edx, edi
push dword [ebp + 8]
mov ecx, ebx
push dword [eax]
push esi
call fcn.004c4070
add esp, 0xc
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
test ecx, ecx
je 0x4ccc62
mov eax, dword [esp + 0xc0]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0xc]
mov dword [ecx], eax
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov eax, dword [ebp + 8]
cmp byte [eax], 5
jne 0x4cb340
push dword [esp + 0x68]
mov edx, dword [esp + 0x4c]
mov ecx, ebx
call fcn.004c4850
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x18], ecx
jmp 0x4cb340
mov ecx, 1
jmp 0x4cb344
mov ecx, 1
mov edx, esi
jmp 0x4cb344
lea edi, [edx + 0xf0]
lea ebx, [edx + 0xf4]
test esi, esi
je 0x4cb38f
cmp dword [0x533ce8], 0
je 0x4ccd40
mov eax, dword [0x536530]
test eax, eax
je 0x4cccdd
push eax
call dword [0x533d30]
add esp, 4
push esi
call dword [0x533d0c]
mov ecx, dword [0x5363b8]
neg eax
add ecx, eax
add esp, 4
mov eax, dword [0x5363dc]
cmp ecx, eax
mov dword [0x5363b8], ecx
cmovg eax, ecx
push esi
mov dword [0x5363dc], eax
call dword [0x533d04]
mov eax, dword [0x536530]
add esp, 4
test eax, eax
je 0x4ccd23
push eax
call dword [0x533d38]
add esp, 4
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
lea edi, [edx + 0xf0]
lea ebx, [edx + 0xf4]
jmp 0x4cb393
push esi
call dword [0x533d04]
mov ecx, dword [esp + 0x1c]
add esp, 4
mov edx, dword [esp + 0x24]
mov dword [esp + 0x18], ecx
jmp 0x4cb393
test esi, esi
je 0x4ccde0
cmp dword [0x533ce8], 0
je 0x4ccdd0
mov eax, dword [0x536530]
test eax, eax
je 0x4ccd7f
push eax
call dword [0x533d30]
add esp, 4
push esi
call dword [0x533d0c]
mov ecx, dword [0x5363b8]
neg eax
add ecx, eax
add esp, 4
mov eax, dword [0x5363dc]
cmp ecx, eax
mov dword [0x5363b8], ecx
cmovg eax, ecx
push esi
mov dword [0x5363dc], eax
call dword [0x533d04]
mov eax, dword [0x536530]
add esp, 4
test eax, eax
je 0x4ccde0
push eax
call dword [0x533d38]
mov eax, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esp + 0xb4]
call dword [0x533d04]
add esp, 4
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret