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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff24
mov ebp, edx
mov ebx, eax
cmp byte [ebx + 0x198], 0
jne 0x4cb9fe
cmp dword [ebx + 0x398], 0
je 0x4ccc2d
mov edx, ebp
mov eax, dword [ebx + 0x398]
call fcn.0064e2d8
jmp 0x4ccc2d
cmp ebp, dword [ebx + 0x1a4]
je 0x4cba16
cmp ebp, dword [ebx + 0x1f8]
je 0x4cba16
cmp ebp, dword [ebx + 0x200]
jne 0x4cba3b
cmp dword [ebx + 0x394], 0
je 0x4cba30
cmp byte [ebx + 0x391], 0
jne 0x4cba3b
cmp ebp, dword [ebx + 0x394]
jne 0x4cba3b
mov dword [ebx + 0x394], ebp
jmp 0x4ccc2d
cmp dword [ebx + 0x394], 0
je 0x4cba61
cmp ebp, dword [ebx + 0x394]
je 0x4cba61
mov eax, ebx
call fcn.004cd160
mov edx, ebp
mov eax, ebx
call fcn.004cb9c8
jmp 0x4ccc2d
mov eax, dword [ebx + 0x24c]
mov dword [esp + 0x54], eax
mov edx, ebp
mov eax, dword [ebx + 0x398]
call fcn.0064e208
mov eax, dword [ebx + 0x39c]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov eax, ebx
call fcn.004cdb74
mov dword [esp + 0x28], eax
mov eax, ebx
call fcn.004cdbac
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x54]
mov al, byte [eax + 0x14e]
dec eax
sub al, 2
jae 0x4cbacb
mov eax, dword [esp + 4]
mov edx, dword [eax + 0x2770]
mov eax, dword [esp + 0x54]
call fcn.0055e4fc
mov eax, dword [eax + 0x584]
mov dword [esp + 0x4c], eax
jmp 0x4cbb1e
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x2770]
mov edx, dword [esp + 0x54]
mov edx, dword [edx + 0xb0]
mov edx, dword [edx + 0x1c]
mov eax, dword [edx + eax*4]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
call fcn.005530ac
call fcn.00553060
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0x40]
mov edx, dword [esp + 0x58]
sub eax, dword [edx + 0x38]
mov edx, dword [esp + 0x58]
sub eax, dword [edx + 0x5c]
mov edx, dword [esp + 0x58]
sub eax, dword [edx + 0x64]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x4c]
push eax
push 0x2710
mov eax, dword [esp + 0x34]
push eax
call sub.kernel32.dll_MulDiv
mov dword [esp + 0x30], eax
cmp ebp, dword [ebx + 0x1a8]
jne 0x4cbb90
mov eax, dword [ebx + 0x250]
mov eax, dword [eax + 0x18]
dec eax
cmp eax, 0
jl 0x4cbb90
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x250]
mov eax, dword [eax + 0x1c]
mov edx, dword [esp + 0x50]
mov esi, dword [eax + edx*4]
mov eax, dword [ebx + 0x1a8]
call fcn.00636288
test eax, eax
jne 0x4cbb80
mov eax, dword [esp + 0x30]
sar eax, 1
jns 0x4cbb7b
adc eax, 0
mov dword [esi + 0x10], eax
jmp 0x4cbb85
xor eax, eax
mov dword [esi + 0x10], eax
dec dword [esp + 0x50]
cmp dword [esp + 0x50], 0xffffffff
jne 0x4cbb51
cmp ebp, dword [ebx + 0x1a4]
jne 0x4cbcdc
mov eax, dword [ebx + 0x1a4]
call fcn.0041fe98
test al, al
je 0x4cbcdc
mov eax, dword [ebx + 0x1a8]
call fcn.00636288
test eax, eax
jne 0x4cbbf3
mov eax, dword [ebx + 0x1a4]
mov eax, dword [eax + 0x158]
add eax, eax
lea eax, [eax + eax*4]
mov dword [esp + 0x38], eax
fild dword [esp + 0x38]
fild dword [esp + 0x30]
fdivp st(1)
fstp dword [esp + 0x24]
wait
mov eax, dword [esp + 0x38]
sar eax, 1
jns 0x4cbbed
adc eax, 0
mov dword [esp + 0x38], eax
jmp 0x4cbc1d
mov eax, dword [ebx + 0x1a4]
call fcn.0041fad0
mov dword [esp + 0xb8], eax
fild dword [esp + 0xb8]
fild dword [esp + 0x2c]
fdivp st(1)
fstp dword [esp + 0x24]
wait
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x250]
mov eax, dword [eax + 0x18]
dec eax
cmp eax, 0
jl 0x4cbcdc
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x250]
mov eax, dword [eax + 0x1c]
mov edx, dword [esp + 0x50]
mov eax, dword [eax + edx*4]
mov dword [esp], eax
mov eax, dword [esp]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x38]
mov dword [eax + 0x10], edx
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 4]
sub eax, dword [esp + 0x28]
mov dword [esp + 0xb8], eax
fild dword [esp + 0xb8]
fmul dword [esp + 0x24]
call fcn.00402588
add eax, dword [esp + 0x28]
mov edx, dword [esp + 0x5c]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x5c]
mov edi, dword [eax + 0xd8]
dec edi
cmp edi, 0
jl 0x4cbccd
imul eax, edi, 0x27
mov edx, dword [esp + 0x5c]
lea esi, [edx + eax*4 + 0xdc]
mov eax, dword [esi]
sub eax, dword [esp + 0x28]
mov dword [esp + 0xb8], eax
fild dword [esp + 0xb8]
fmul dword [esp + 0x24]
call fcn.00402588
add eax, dword [esp + 0x28]
mov dword [esi], eax
dec edi
cmp edi, 0xffffffff
jne 0x4cbc96
dec dword [esp + 0x50]
cmp dword [esp + 0x50], 0xffffffff
jne 0x4cbc34
cmp ebp, dword [ebx + 0x1ac]
je 0x4cbd20
cmp ebp, dword [ebx + 0x1b0]
je 0x4cbd20
cmp ebp, dword [ebx + 0x1b4]
je 0x4cbd20
cmp ebp, dword [ebx + 0x1b8]
je 0x4cbd20
cmp ebp, dword [ebx + 0x1bc]
je 0x4cbd20
cmp ebp, dword [ebx + 0x1c0]
je 0x4cbd20
cmp ebp, dword [ebx + 0x1c4]
je 0x4cbd20
cmp ebp, dword [ebx + 0x1c8]
jne 0x4cbead
mov eax, dword [ebx + 0x250]
mov eax, dword [eax + 0x18]
dec eax
cmp eax, 0
jl 0x4cbead
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x250]
mov eax, dword [eax + 0x1c]
mov edx, dword [esp + 0x50]
mov eax, dword [eax + edx*4]
mov dword [esp + 0x60], eax
cmp ebp, dword [ebx + 0x1ac]
jne 0x4cbd60
mov eax, dword [esp + 0x60]
xor edx, edx
mov dword [eax], edx
jmp 0x4cbe9e
cmp ebp, dword [ebx + 0x1b0]
jne 0x4cbd77
mov eax, dword [esp + 0x60]
mov dword [eax], 1
jmp 0x4cbe9e
cmp ebp, dword [ebx + 0x1b4]
jne 0x4cbd8e
mov eax, dword [esp + 0x60]
mov dword [eax], 2
jmp 0x4cbe9e
cmp ebp, dword [ebx + 0x1b8]
jne 0x4cbdf4
mov eax, dword [ebx + 0x1b8]
call fcn.0041fe98
test al, al
je 0x4cbdf4
mov eax, dword [ebx + 0x1b8]
call fcn.0041fad0
sub eax, dword [esp + 0x28]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x34]
add dword [eax + 4], edx
mov eax, dword [esp + 0x60]
mov edi, dword [eax + 0xd8]
dec edi
cmp edi, 0
jl 0x4cbe9e
imul eax, edi, 0x27
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x34]
add dword [edx + eax*4 + 0xdc], ecx
dec edi
cmp edi, 0xffffffff
jne 0x4cbdd7
jmp 0x4cbe9e
cmp ebp, dword [ebx + 0x1bc]
jne 0x4cbe1f
mov eax, dword [ebx + 0x1bc]
call fcn.0041fe98
test al, al
je 0x4cbe1f
mov eax, dword [ebx + 0x1bc]
call fcn.0041fad0
mov edx, dword [esp + 0x60]
mov dword [edx + 0x14], eax
jmp 0x4cbe9e
cmp ebp, dword [ebx + 0x1c0]
jne 0x4cbe4a
mov eax, dword [ebx + 0x1c0]
call fcn.0041fe98
test al, al
je 0x4cbe4a
mov eax, dword [ebx + 0x1c0]
call fcn.0041fad0
mov edx, dword [esp + 0x60]
mov dword [edx + 0x18], eax
jmp 0x4cbe9e
cmp ebp, dword [ebx + 0x1c4]
jne 0x4cbe75
mov eax, dword [ebx + 0x1c4]
call fcn.0041fe98
test al, al
je 0x4cbe75
mov eax, dword [ebx + 0x1c4]
call fcn.0041fad0
mov edx, dword [esp + 0x60]
mov dword [edx + 0x1c], eax
jmp 0x4cbe9e
cmp ebp, dword [ebx + 0x1c8]
jne 0x4cbe9e
mov eax, dword [ebx + 0x1c8]
call fcn.0041fe98
test al, al
je 0x4cbe9e
mov eax, dword [ebx + 0x1c8]
call fcn.0041fad0
mov edx, dword [esp + 0x60]
mov dword [edx + 0x20], eax
dec dword [esp + 0x50]
cmp dword [esp + 0x50], 0xffffffff
jne 0x4cbd37
mov eax, ebx
call fcn.004cdbfc
mov edi, eax
cmp ebp, dword [ebx + 0x1cc]
je 0x4cbeca
cmp ebp, dword [ebx + 0x1d4]
jne 0x4cbf94
cmp ebp, dword [ebx + 0x1cc]
jne 0x4cbef6
mov eax, dword [edi + 0x1c]
cmp dword [eax], 0
jne 0x4cbeea
mov eax, dword [ebx + 0x39c]
mov eax, dword [eax + 0x18]
dec eax
mov dword [esp + 0x3c], eax
jmp 0x4cbf1f
mov eax, dword [edi + 0x1c]
mov eax, dword [eax]
dec eax
mov dword [esp + 0x3c], eax
jmp 0x4cbf1f
mov eax, edi
call fcn.0064e250
mov edx, dword [ebx + 0x39c]
mov edx, dword [edx + 0x18]
dec edx
cmp eax, edx
jne 0x4cbf13
xor eax, eax
mov dword [esp + 0x3c], eax
jmp 0x4cbf1f
mov eax, edi
call fcn.0064e250
inc eax
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x39c]
mov eax, dword [eax + 0x1c]
mov edx, dword [esp + 0x3c]
mov eax, dword [eax + edx*4]
add eax, 0x2760
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 0x14]
push eax
mov al, byte [0x4ccc38]
push eax
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x70]
mov edx, dword [eax]
mov eax, dword [esp + 0x60]
call fcn.005be038
push 0
mov al, byte [0x4ccc38]
push eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x6c]
mov edx, dword [eax]
mov eax, dword [esp + 0x5c]
call fcn.005bb588
mov dl, 4
mov eax, dword [esp + 0x54]
call fcn.005bacb4
mov byte [ebx + 0x390], 1
cmp ebp, dword [ebx + 0x1d8]
je 0x4cbfc0
cmp ebp, dword [ebx + 0x1e0]
je 0x4cbfc0
cmp ebp, dword [ebx + 0x1dc]
je 0x4cbfc0
cmp ebp, dword [ebx + 0x1e4]
je 0x4cbfc0
cmp ebp, dword [ebx + 0x1e8]
jne 0x4cc16c
mov eax, dword [edi + 0x18]
dec eax
cmp eax, 0
jl 0x4cc16c
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x1c]
mov edx, dword [esp + 0x50]
mov esi, dword [eax + edx*4]
mov eax, dword [ebx + 0x250]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + esi*4]
mov dword [esp + 0x68], eax
cmp ebp, dword [ebx + 0x1d8]
jne 0x4cc02f
mov eax, dword [ebx + 0x1d8]
cmp byte [eax + 0x124], 2
jne 0x4cc01a
mov eax, dword [ebx + 0x39c]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + esi*4]
mov eax, dword [eax + 0x10]
mov edx, dword [esp + 0x68]
mov dword [edx + 0xc], eax
jmp 0x4cc023
mov eax, dword [esp + 0x68]
xor edx, edx
mov dword [eax + 0xc], edx
mov byte [ebx + 0x390], 1
jmp 0x4cc15d
cmp ebp, dword [ebx + 0x1e0]
jne 0x4cc06d
mov eax, dword [ebx + 0x1e0]
call fcn.00636288
dec eax
sete al
and eax, 0x7f
add eax, eax
mov ecx, 1
sub ecx, eax
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 0xc]
cdq
xor eax, edx
sub eax, edx
imul ecx, eax
mov eax, dword [esp + 0x68]
mov dword [eax + 0xc], ecx
jmp 0x4cc15d
cmp ebp, dword [ebx + 0x1e4]
jne 0x4cc0ca
mov eax, dword [ebx + 0x1e4]
mov al, byte [eax + 0x124]
sub al, 1
jb 0x4cc089
je 0x4cc099
jmp 0x4cc0a9
mov eax, dword [esp + 0x68]
mov byte [eax + 0x2750], 1
jmp 0x4cc15d
mov eax, dword [esp + 0x68]
mov byte [eax + 0x2750], 0
jmp 0x4cc15d
mov eax, dword [ebx + 0x39c]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + esi*4]
mov al, byte [eax + 0x2754]
mov edx, dword [esp + 0x68]
mov byte [edx + 0x2750], al
jmp 0x4cc15d
cmp ebp, dword [ebx + 0x1e8]
jne 0x4cc11e
mov eax, dword [ebx + 0x1e8]
mov al, byte [eax + 0x124]
sub al, 1
jb 0x4cc0e6
je 0x4cc0f3
jmp 0x4cc100
mov eax, dword [esp + 0x68]
mov byte [eax + 0x2751], 0
jmp 0x4cc15d
mov eax, dword [esp + 0x68]
mov byte [eax + 0x2751], 1
jmp 0x4cc15d
mov eax, dword [ebx + 0x39c]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + esi*4]
mov al, byte [eax + 0x2755]
mov edx, dword [esp + 0x68]
mov byte [edx + 0x2751], al
jmp 0x4cc15d
mov eax, dword [ebx + 0x1dc]
call fcn.0041fe98
test al, al
je 0x4cc15d
mov eax, dword [ebx + 0x1e0]
call fcn.00636288
dec eax
sete al
and eax, 0x7f
add eax, eax
mov esi, 1
sub esi, eax
mov eax, dword [ebx + 0x1dc]
call fcn.0041fad0
imul esi, eax
mov eax, dword [esp + 0x68]
mov dword [eax + 0xc], esi
dec dword [esp + 0x50]
cmp dword [esp + 0x50], 0xffffffff
jne 0x4cbfd1
mov eax, edi
call fcn.0064e5c0
cmp ebp, dword [ebx + 0x1ec]
je 0x4cc187
cmp ebp, dword [ebx + 0x1f4]
jne 0x4cc2b5
mov eax, ebx
call fcn.004cddf8
mov dword [esp + 0x6c], eax
mov eax, ebx
call fcn.004cdd68
mov dword [esp + 0x14], eax
cmp ebp, dword [ebx + 0x1ec]
jne 0x4cc1d9
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 0x1c]
cmp dword [eax], 0
jne 0x4cc1c9
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 8]
test eax, eax
jns 0x4cc1bf
add eax, 7
sar eax, 3
dec eax
mov dword [esp + 0x40], eax
jmp 0x4cc20e
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
dec eax
mov dword [esp + 0x40], eax
jmp 0x4cc20e
mov eax, dword [esp + 0x6c]
call fcn.0064e250
mov edx, dword [esp + 0x14]
mov edx, dword [edx + 8]
test edx, edx
jns 0x4cc1f0
add edx, 7
sar edx, 3
dec edx
cmp eax, edx
jne 0x4cc200
xor eax, eax
mov dword [esp + 0x40], eax
jmp 0x4cc20e
mov eax, dword [esp + 0x6c]
call fcn.0064e250
inc eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x14]
call fcn.004028c0
mov edx, dword [esp + 0x40]
mov eax, ebx
call fcn.004cdf94
mov dword [esp + 8], eax
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x300]
mov edx, dword [esp + 8]
mov ecx, dword [eax]
call dword [ecx]
mov eax, dword [esp + 8]
call fcn.005426b4
mov eax, dword [esp + 0x54]
lea edx, [eax + 0x300]
mov eax, dword [esp + 0x54]
call fcn.005bd750
mov eax, dword [esp + 0x54]
call fcn.005be678
call fcn.004fe3f4
mov eax, dword [esp + 0x54]
call fcn.005ba250
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x300]
mov eax, dword [eax + 4]
mov dword [esp + 0x70], eax
push 0
mov al, byte [0x4ccc38]
push eax
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x78]
mov edx, dword [eax]
mov eax, dword [esp + 0x5c]
call fcn.005bb588
mov dl, 4
mov eax, dword [esp + 0x54]
call fcn.005bacb4
mov byte [ebx + 0x390], 1
mov eax, dword [esp + 0x6c]
call fcn.0064e5c0
cmp ebp, dword [ebx + 0x1f8]
je 0x4cc319
cmp ebp, dword [ebx + 0x1fc]
je 0x4cc319
cmp ebp, dword [ebx + 0x200]
je 0x4cc319
cmp ebp, dword [ebx + 0x204]
je 0x4cc319
cmp ebp, dword [ebx + 0x208]
je 0x4cc319
cmp ebp, dword [ebx + 0x20c]
je 0x4cc319
cmp ebp, dword [ebx + 0x210]
je 0x4cc319
cmp ebp, dword [ebx + 0x214]
je 0x4cc319
cmp ebp, dword [ebx + 0x218]
je 0x4cc319
cmp ebp, dword [ebx + 0x21c]
je 0x4cc319
cmp ebp, dword [ebx + 0x220]
je 0x4cc319
cmp ebp, dword [ebx + 0x224]
jne 0x4cc939
cmp ebp, dword [ebx + 0x1f8]
je 0x4cc329
cmp ebp, dword [ebx + 0x1fc]
jne 0x4cc34f
mov edx, 0x80000000
mov eax, ebx
call fcn.004cdf94
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x1f8]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x1fc]
mov dword [esp + 0x10], eax
jmp 0x4cc372
xor ecx, ecx
mov dl, 1
mov eax, ebx
call fcn.004ce150
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x200]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x204]
mov dword [esp + 0x10], eax
cmp ebp, dword [esp + 0xc]
jne 0x4cc737
mov eax, dword [esp + 0xc]
call fcn.0041fe98
test al, al
je 0x4cc737
xor eax, eax
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 8]
call fcn.00542278
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x74]
mov edx, dword [eax]
mov eax, dword [esp + 0x54]
call fcn.005ebd44
mov esi, dword [eax + 0x275c]
lea ecx, [esp + 0x98]
mov eax, dword [esp + 0x74]
mov edx, dword [eax]
mov eax, dword [esp + 0x54]
call fcn.005ebd84
call fcn.0064dfa0
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 8]
call fcn.00542278
mov edx, dword [eax]
mov eax, dword [esp + 0x54]
call fcn.005eba64
mov edx, eax
mov eax, dword [esp + 0x18]
call fcn.0064e208
inc dword [esp + 0x50]
mov eax, dword [esp + 8]
call fcn.00542248
cmp eax, dword [esp + 0x50]
je 0x4cc43d
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 8]
call fcn.00542278
mov edx, dword [eax]
lea ecx, [esp + 0xbc]
mov eax, dword [esp + 0x54]
call fcn.005ebd84
mov eax, dword [esp + 0xbc]
cmp eax, dword [esp + 0x98]
je 0x4cc3d8
mov eax, dword [ebx + 0x250]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + esi*4]
mov dword [esp], eax
mov eax, dword [esp]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x10]
call fcn.00636288
test eax, eax
jne 0x4cc676
push 0x3e8
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x18]
mov edx, dword [esp + 0x10]
imul dword [edx + 0x158]
push eax
mov eax, dword [esp + 0x34]
push eax
call sub.kernel32.dll_MulDiv
mov edx, eax
mov eax, dword [esp + 0x78]
imul eax, dword [eax + 0xd8], 0x27
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx + eax*4 + 0x40]
mov ecx, dword [esp + 0x78]
sub eax, dword [ecx + 4]
mov ecx, dword [esp + 0x78]
mov ecx, dword [ecx + 0xd8]
mov esi, dword [esp + 0x18]
sub ecx, dword [esi + 0x18]
imul ecx, ecx, 0xb4
sub eax, ecx
call fcn.00652c54
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x18]
cdq
idiv ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x18]
dec eax
test eax, eax
jl 0x4cc716
inc eax
mov dword [esp + 0x7c], eax
xor edi, edi
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + edi*4]
mov dword [esp + 0x44], eax
imul eax, dword [esp + 0x44], 0x27
mov edx, dword [esp + 0x78]
mov eax, dword [edx + eax*4 + 0xdc]
mov dword [esp + 0x34], eax
cmp dword [esp + 0x44], 0
jne 0x4cc51a
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 4]
sub dword [esp + 0x34], eax
jmp 0x4cc52b
imul eax, dword [esp + 0x44], 0x27
mov edx, dword [esp + 0x78]
mov eax, dword [edx + eax*4 + 0x40]
sub dword [esp + 0x34], eax
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [esp]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x44]
call fcn.004cb9a4
mov esi, dword [esp + 0x44]
inc esi
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 0xd8]
dec eax
sub eax, esi
jl 0x4cc5f7
inc eax
mov dword [esp + 0x80], eax
cmp dword [esp + 0x34], 0
je 0x4cc5f7
mov edx, esi
mov eax, dword [esp + 0x18]
call fcn.0064e36c
test al, al
jne 0x4cc5e9
cmp dword [esp + 0x34], 0
jge 0x4cc5a0
mov ecx, dword [esp + 0x34]
neg ecx
mov eax, dword [esp]
mov edx, esi
call fcn.004cb9a4
xor eax, eax
mov dword [esp + 0x34], eax
jmp 0x4cc5e9
imul eax, esi, 0x27
mov edx, dword [esp + 0x78]
mov eax, dword [edx + eax*4 + 0xdc]
test esi, esi
jne 0x4cc5bb
mov edx, dword [esp + 0x78]
sub eax, dword [edx + 4]
jmp 0x4cc5c6
imul edx, esi, 0x27
mov ecx, dword [esp + 0x78]
sub eax, dword [ecx + edx*4 + 0x40]
mov edx, eax
sub edx, 0xb4
mov eax, dword [esp + 0x34]
call fcn.00652c54
sub dword [esp + 0x34], eax
mov ecx, eax
neg ecx
mov eax, dword [esp]
mov edx, esi
call fcn.004cb9a4
inc esi
dec dword [esp + 0x80]
jne 0x4cc567
mov esi, dword [esp + 0x44]
dec esi
cmp esi, 0
jl 0x4cc666
cmp dword [esp + 0x34], 0
je 0x4cc666
mov edx, esi
mov eax, dword [esp + 0x18]
call fcn.0064e36c
test al, al
jne 0x4cc660
imul eax, esi, 0x27
mov edx, dword [esp + 0x78]
mov eax, dword [edx + eax*4 + 0xdc]
test esi, esi
jne 0x4cc632
mov edx, dword [esp + 0x78]
sub eax, dword [edx + 4]
jmp 0x4cc63d
imul edx, esi, 0x27
mov ecx, dword [esp + 0x78]
sub eax, dword [ecx + edx*4 + 0x40]
mov edx, eax
sub edx, 0xb4
mov eax, dword [esp + 0x34]
call fcn.00652c54
sub dword [esp + 0x34], eax
mov ecx, eax
neg ecx
mov eax, dword [esp]
mov edx, esi
call fcn.004cb9a4
dec esi
cmp esi, 0xffffffff
jne 0x4cc601
inc edi
dec dword [esp + 0x7c]
jne 0x4cc4e4
jmp 0x4cc716
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 0x18]
dec edi
cmp edi, 0
jl 0x4cc716
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + edi*4]
mov dword [esp + 0x44], eax
imul eax, dword [esp + 0x44], 0x27
mov edx, dword [esp + 0x78]
mov eax, dword [edx + eax*4 + 0xdc]
mov dword [esp + 0x34], eax
cmp dword [esp + 0x44], 0
jne 0x4cc6bd
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 4]
sub dword [esp + 0x34], eax
jmp 0x4cc6ce
imul eax, dword [esp + 0x44], 0x27
mov edx, dword [esp + 0x78]
mov eax, dword [edx + eax*4 + 0x40]
sub dword [esp + 0x34], eax
mov eax, dword [esp + 0xc]
call fcn.0041fad0
sub dword [esp + 0x34], eax
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 0xd8]
dec eax
sub eax, esi
jl 0x4cc70c
inc eax
mov dword [esp + 0x7c], eax
imul eax, esi, 0x27
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x34]
sub dword [edx + eax*4 + 0xdc], ecx
inc esi
dec dword [esp + 0x7c]
jne 0x4cc6f3
dec edi
cmp edi, 0xffffffff
jne 0x4cc687
mov eax, dword [esp + 0x18]
call fcn.0064e5c0
mov eax, dword [esp + 8]
call fcn.00542248
cmp eax, dword [esp + 0x50]
jne 0x4cc393
jmp 0x4cc930
mov eax, dword [esp + 8]
call fcn.00542248
dec eax
cmp eax, 0
jl 0x4cc930
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 8]
call fcn.00542278
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x84]
mov edx, dword [eax]
mov eax, dword [esp + 0x54]
call fcn.005eba64
imul esi, eax, 0x27
mov eax, dword [esp + 0x84]
mov edx, dword [eax]
mov eax, dword [esp + 0x54]
call fcn.005ebd44
mov eax, dword [eax + 0x275c]
mov edx, dword [ebx + 0x250]
mov edx, dword [edx + 0x1c]
mov eax, dword [edx + eax*4]
lea eax, [eax + esi*4 + 0xdc]
mov dword [esp + 0x88], eax
cmp ebp, dword [esp + 0x10]
jne 0x4cc7d3
mov eax, dword [esp + 0x10]
call fcn.00636288
test eax, eax
sete al
mov edx, dword [esp + 0x88]
mov byte [edx + 0x14], al
mov byte [ebx + 0x390], 1
jmp 0x4cc921
cmp ebp, dword [ebx + 0x208]
jne 0x4cc7eb
mov eax, dword [esp + 0x88]
mov byte [eax + 0x15], 0
jmp 0x4cc921
cmp ebp, dword [ebx + 0x20c]
jne 0x4cc803
mov eax, dword [esp + 0x88]
mov byte [eax + 0x15], 1
jmp 0x4cc921
cmp ebp, dword [ebx + 0x210]
jne 0x4cc81b
mov eax, dword [esp + 0x88]
mov byte [eax + 0x15], 2
jmp 0x4cc921
cmp ebp, dword [ebx + 0x214]
jne 0x4cc868
mov eax, dword [ebx + 0x214]
call fcn.00637604
test al, al
je 0x4cc84b
mov eax, dword [esp + 0x88]
add eax, 4
mov edx, 4
call fcn.0062008c
jmp 0x4cc921
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x88]
lea esi, [eax + 0x18]
lea edi, [edx + 4]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
jmp 0x4cc921
cmp ebp, dword [ebx + 0x218]
jne 0x4cc899
mov eax, dword [ebx + 0x218]
call fcn.0041fe98
test al, al
je 0x4cc899
mov eax, dword [ebx + 0x218]
call fcn.0041fad0
mov edx, dword [esp + 0x88]
mov dword [edx + 4], eax
jmp 0x4cc921
cmp ebp, dword [ebx + 0x21c]
jne 0x4cc8c7
mov eax, dword [ebx + 0x21c]
call fcn.0041fe98
test al, al
je 0x4cc8c7
mov eax, dword [ebx + 0x21c]
call fcn.0041fad0
mov edx, dword [esp + 0x88]
mov dword [edx + 8], eax
jmp 0x4cc921
cmp ebp, dword [ebx + 0x220]
jne 0x4cc8f5
mov eax, dword [ebx + 0x220]
call fcn.0041fe98
test al, al
je 0x4cc8f5
mov eax, dword [ebx + 0x220]
call fcn.0041fad0
mov edx, dword [esp + 0x88]
mov dword [edx + 0xc], eax
jmp 0x4cc921
cmp ebp, dword [ebx + 0x224]
jne 0x4cc921
mov eax, dword [ebx + 0x224]
call fcn.0041fe98
test al, al
je 0x4cc921
mov eax, dword [ebx + 0x224]
call fcn.0041fad0
mov edx, dword [esp + 0x88]
mov dword [edx + 0x10], eax
dec dword [esp + 0x50]
cmp dword [esp + 0x50], 0xffffffff
jne 0x4cc74e
mov eax, dword [esp + 8]
call fcn.005426b4
cmp ebp, dword [ebx + 0x238]
jne 0x4ccaa1
cmp byte [ebx + 0x364], 0xff
je 0x4ccaa1
xor eax, eax
mov al, byte [ebx + 0x364]
mov edx, eax
shl eax, 3
sub eax, edx
lea eax, [ebx + eax*4 + 0x25c]
mov dword [esp + 0x8c], eax
cmp dword [ebx + 0x368], 0
je 0x4cca17
call fcn.0065867c
sub eax, dword [ebx + 0x368]
cmp eax, 0x3e8
jle 0x4cca17
mov eax, dword [esp + 0x8c]
cmp dword [eax + 4], 1
jl 0x4ccaa1
mov eax, dword [esp + 0x8c]
cmp dword [eax + 4], 0xff
jge 0x4ccaa1
mov eax, dword [esp + 0x8c]
mov edx, dword [eax]
mov eax, dword [ebx + 0x230]
mov eax, dword [eax + 0x120]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov dword [esp + 0x50], eax
cmp dword [esp + 0x50], 0
jl 0x4cc9eb
mov edx, dword [esp + 0x50]
mov eax, dword [ebx + 0x230]
call fcn.006362a4
mov eax, dword [esp + 0x8c]
mov eax, dword [eax + 8]
mov edx, dword [ebx + 0x234]
mov edx, dword [edx + 0x188]
mov dword [edx + 0x160], eax
mov eax, dword [ebx + 0x234]
mov edx, dword [eax]
call dword [edx + 0x38]
jmp 0x4ccaa1
mov al, byte [0x4ccc38]
mov byte [esp + 0x1c], al
mov al, byte [0x4ccc38]
mov byte [esp + 0x1d], al
mov eax, dword [esp + 0x8c]
cmp dword [eax + 4], 1
jne 0x4cca7e
mov eax, dword [ebx + 0x230]
call fcn.00636204
mov edx, dword [esp + 0x8c]
cmp eax, dword [edx]
jne 0x4cca7e
mov eax, dword [esp + 0x8c]
mov eax, dword [eax + 8]
mov edx, dword [ebx + 0x234]
mov edx, dword [edx + 0x188]
cmp eax, dword [edx + 0x160]
jne 0x4cca7e
mov al, byte [ebx + 0x364]
cmp al, 7
ja 0x4cca90
and eax, 0x7f
bts dword [esp + 0x1c], eax
jmp 0x4cca90
mov al, byte [ebx + 0x364]
cmp al, 7
ja 0x4cca90
and eax, 0x7f
bts dword [esp + 0x1d], eax
push 0
mov cl, byte [esp + 0x21]
mov dl, byte [esp + 0x20]
mov eax, ebx
call fcn.004cd654
cmp ebp, dword [ebx + 0x240]
jne 0x4ccab5
mov eax, dword [ebx + 0x240]
mov dword [esp + 0x20], eax
jmp 0x4ccad5
cmp ebp, dword [ebx + 0x244]
jne 0x4ccacf
mov eax, dword [ebx + 0x244]
mov eax, dword [eax + 0x188]
mov dword [esp + 0x20], eax
jmp 0x4ccad5
xor eax, eax
mov dword [esp + 0x20], eax
cmp dword [esp + 0x20], 0
je 0x4ccc24
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x160], 0x80000000
je 0x4ccc24
mov eax, dword [ebx + 0x23c]
call fcn.00636204
mov ecx, eax
mov dl, 1
mov eax, ebx
call fcn.004ce150
mov dword [esp + 0x90], eax
xor eax, eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x90]
call fcn.00542248
mov edi, eax
dec edi
cmp edi, 0
jl 0x4ccc09
mov edx, edi
mov eax, dword [esp + 0x90]
call fcn.00542278
mov esi, eax
mov edx, dword [esi]
mov eax, dword [esp + 0x54]
call fcn.005ebd44
mov eax, dword [eax + 0x275c]
mov edx, dword [ebx + 0x250]
mov edx, dword [edx + 0x1c]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x94], eax
cmp dword [esp + 0x50], 0
jne 0x4ccbd9
mov eax, dword [esp + 0x94]
cmp dword [eax + 0xcc], 0xff000000
je 0x4ccbc6
mov eax, dword [esp + 0x94]
mov esi, dword [eax + 0xd8]
dec esi
cmp esi, 0
jl 0x4ccbc6
imul eax, esi, 0x27
mov edx, dword [esp + 0x94]
lea eax, [edx + eax*4 + 0xdc]
cmp dword [eax + 0x88], 0xff000000
jne 0x4ccbc0
mov edx, dword [esp + 0x94]
mov edx, dword [edx + 0xcc]
mov dword [eax + 0x88], edx
dec esi
cmp esi, 0xffffffff
jne 0x4ccb90
mov eax, dword [esp + 0x94]
mov dword [eax + 0xcc], 0xff000000
jmp 0x4ccbff
mov edx, dword [esi]
mov eax, dword [esp + 0x54]
call fcn.005eba64
imul eax, eax, 0x27
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + 0x160]
mov dword [edx + eax*4 + 0x164], ecx
dec edi
cmp edi, 0xffffffff
jne 0x4ccb2f
inc dword [esp + 0x50]
cmp dword [esp + 0x50], 2
jne 0x4ccb17
mov eax, dword [esp + 0x90]
call fcn.005426b4
mov edx, ebp
mov eax, ebx
call fcn.004d00a0
add esp, 0xdc
pop ebp
pop edi
pop esi
pop ebx
ret