Function at 0x7cbda0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x7cc
mov dword [ebp - 0x77c], edx
mov ecx, dword [ebp - 0x77c]
lea esi, [ebp - 0x357]
mov ebx, dword [ebp - 0x77c]
and esi, 0xffffffc0
mov dword [ebp - 0x778], eax
mov eax, dword [edx + 0x10]
mov edx, dword [edx + 0x14]
mov ecx, dword [ecx + 0xc]
mov ebx, dword [ebx + 0x1c]
mov dword [ebp - 0x744], eax
lea eax, [ebp - 0x6d5]
and eax, 0xffffffc0
mov dword [ebp - 0x74c], ecx
mov ecx, dword [ebp - 0x778]
mov dword [ebp - 0x750], ebx
mov ebx, dword [ebp - 0x778]
mov dword [ebp - 0x768], eax
mov dword [ebp - 0x748], edx
mov edx, dword [ebp - 0x778]
mov ecx, dword [ecx + 0xa4]
mov ebx, dword [ebx + 0x10]
mov dword [ebp - 0x76c], esi
mov esi, dword [ebp - 0x778]
mov edx, dword [edx + 0xa0]
mov dword [ebp - 0x758], ecx
mov eax, dword [ebp - 0x758]
add ecx, 0x38
mov dword [ebp - 0x774], ebx
mov esi, dword [esi + 0x14]
mov dword [ebp - 0x75c], edx
mov ebx, dword [eax + 0x13c]
mov dword [ebp - 0x754], ecx
mov dword [ebp - 0x770], esi
test ebx, ebx
je 0x7ccfb7
mov ebx, dword [ebp - 0x778]
mov edx, 1
mov esi, dword [ebp - 0x75c]
sub edx, dword [ebx + 0x64]
mov dword [ebx + 0x64], edx
mov dword [esi + 0x1c], edx
mov eax, dword [ebx + 0x68]
test byte [esi + 0xc], 2
mov dword [esi + 0x20], eax
je 0x7cbef3
mov eax, dword [ebp - 0x758]
cmp dword [eax + 0x140], edx
je 0x7cbef3
mov dword [esp + 0x1c], edx
mov eax, dword [ebx + 0x6c]
mov edx, dword [ebp - 0x758]
and eax, 4
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0xe4]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0xcc]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0xc0]
mov dword [esp + 4], eax
mov eax, dword [edx + 0x38]
mov dword [esp], eax
call fcn.007bf0c0
mov eax, dword [esi + 0x1c]
mov ecx, dword [ebp - 0x758]
mov dword [ecx + 0x140], eax
mov esi, dword [ebp - 0x778]
xor ecx, ecx
mov ebx, dword [ebp - 0x75c]
mov edx, dword [esi + 0xa0]
mov eax, esi
mov dword [ebx + 0x138], 0
mov dword [ebx + 0x130], 0
mov dword [ebx + 0x12c], 0
mov dword [ebx + 0x128], 0
mov dword [ebx + 0x124], 0
mov dword [ebx + 0x120], 0
mov dword [ebx + 0x11c], 0
mov dword [ebx + 0x14], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x10
call fcn.007c9e40
mov edx, ebx
mov eax, esi
call fcn.007c9dc0
test byte [ebx + 8], 8
jne 0x7ccd82
mov eax, dword [ebp - 0x778]
mov edx, dword [ebp - 0x778]
mov ecx, dword [ebp - 0x778]
mov ebx, dword [ebp - 0x778]
add eax, 0xe4
add edx, 0xcc
add ecx, 0xc0
add ebx, 0xfc
mov dword [ebp - 0x788], eax
mov dword [ebp - 0x784], edx
mov dword [ebp - 0x780], ecx
mov dword [ebp - 0x78c], ebx
mov esi, dword [ebp - 0x778]
mov edx, dword [esi + 0x240]
test edx, edx
jle 0x7ccf60
mov eax, dword [esi + 0x14]
mov ecx, edx
xor esi, esi
xor ebx, ebx
sub eax, 1
add eax, edx
xor edx, edx
div ecx
lea edi, [eax*4]
mov eax, dword [ebp - 0x778]
mov ecx, dword [eax + 0x244]
mov eax, dword [ecx + ebx + 0x2c]
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov edx, dword [ebp - 0x778]
mov eax, dword [ebp - 0x75c]
mov ecx, dword [edx + 0x244]
mov dword [ecx + ebx + 4], edx
mov edx, dword [ebp - 0x758]
mov dword [ecx + ebx + 8], eax
mov eax, dword [ebp - 0x780]
mov dword [ecx + ebx + 0xc], edx
mov edx, dword [ebp - 0x784]
mov dword [ecx + ebx + 0x10], eax
mov eax, dword [ebp - 0x788]
mov dword [ecx + ebx + 0x14], edx
mov edx, dword [ebp - 0x78c]
mov dword [ecx + ebx + 0x18], eax
mov dword [ecx + ebx + 0x1c], edx
mov edx, dword [ebp - 0x778]
mov eax, dword [edx + 0x240]
mov dword [ecx + ebx + 0x28], esi
mov dword [ecx + ebx + 0x24], eax
mov eax, dword [edx + 8]
shl eax, 4
imul eax, esi
add esi, 1
add eax, dword [edx + 0xc4]
mov dword [ecx + ebx + 0x20], eax
add ebx, 0x68
cmp dword [edx + 0x240], esi
jg 0x7cc00d
cmp dword [edx + 0x240], 1
jle 0x7cc11a
mov edi, 1
mov esi, 0x68
mov ecx, dword [ebp - 0x778]
mov ebx, esi
add edi, 1
add esi, 0x68
add ebx, dword [ecx + 0x244]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], fcn.007dfa40
mov dword [esp + 4], 0
mov dword [esp], 0
call sub.KERNEL32.dll_CreateThread
mov dword [ebx], eax
mov ebx, dword [ebp - 0x778]
sub esp, 0x18
cmp dword [ebx + 0x240], edi
jg 0x7cc0bd
mov ecx, dword [ebx + 0x244]
mov dword [esp], ecx
call fcn.007dfa40
mov esi, dword [ebp - 0x778]
cmp dword [esi + 0x240], 1
jle 0x7cc18b
mov esi, 1
mov ebx, 0x68
mov edx, dword [ebp - 0x778]
add esi, 1
mov dword [esp + 4], 0xffffffff
mov eax, dword [edx + 0x244]
mov eax, dword [eax + ebx]
mov dword [esp], eax
call sub.KERNEL32.dll_WaitForSingleObject
mov ecx, dword [ebp - 0x778]
mov eax, dword [ecx + 0x244]
sub esp, 8
mov eax, dword [eax + ebx]
add ebx, 0x68
mov dword [esp], eax
call sub.KERNEL32.dll_CloseHandle
mov eax, dword [ebp - 0x778]
sub esp, 4
cmp dword [eax + 0x240], esi
jg 0x7cc13b
mov edx, dword [ebp - 0x75c]
mov ecx, dword [ebp - 0x778]
mov dword [edx + 0x20], 0
mov eax, dword [ecx + 0x240]
test eax, eax
jle 0x7cc1ea
mov ecx, dword [ecx + 0x244]
xor ebx, ebx
imul eax, ebx, 0x68
mov esi, dword [ebp - 0x75c]
mov edx, dword [ecx + eax + 0x58]
add dword [esi + 0x120], edx
mov edx, dword [ecx + eax + 0x5c]
add dword [esi + 0x124], edx
mov eax, dword [ecx + eax + 0x60]
cmp eax, dword [esi + 0x20]
jbe 0x7cc1d9
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x778]
add ebx, 1
cmp dword [eax + 0x240], ebx
jg 0x7cc1b0
mov eax, dword [ebp - 0x75c]
mov ebx, dword [ebp - 0x778]
mov edx, dword [eax + 0x30]
mov esi, dword [ebx + 0x20]
mov ebx, dword [ebp - 0x75c]
mov eax, edx
sar edx, 0x1f
idiv esi
mov ecx, eax
mov eax, dword [ebp - 0x758]
mov dword [ebx + 0x2c], edx
mov edx, dword [eax + 0x30]
mov eax, edx
sar edx, 0x1f
idiv esi
mov edx, dword [ebp - 0x778]
sub ecx, eax
mov eax, dword [ebx + 0x44]
mov dword [ebx + 0x28], ecx
mov ecx, dword [ebp - 0x77c]
mov eax, dword [eax + 0xf0]
mov dword [esp + 0xc], 1
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
mov dword [esp + 0x10], eax
mov dword [esp], ecx
call fcn.007d8280
mov eax, dword [ebp - 0x770]
test eax, eax
jle 0x7cc515
add ebx, 0x38
mov dword [ebp - 0x790], ebx
mov ebx, dword [ebp - 0x75c]
mov dword [ebp - 0x760], 0
add ebx, 0x11c
mov dword [ebp - 0x794], ebx
mov esi, dword [ebp - 0x774]
mov dword [ebp - 0x764], 0
test esi, esi
jle 0x7cc4fc
nop
mov esi, dword [ebp - 0x778]
mov eax, dword [ebp - 0x760]
imul eax, dword [esi + 0x10]
add eax, dword [ebp - 0x764]
imul esi, eax, 0x1cc
mov eax, dword [ebp - 0x75c]
add esi, dword [eax + 0x44]
mov eax, dword [esi + 0xec]
sub eax, 3
cmp eax, 1
jbe 0x7cc8b8
mov edx, dword [ebp - 0x75c]
mov ecx, dword [ebp - 0x778]
mov ebx, dword [ebp - 0x76c]
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x38], eax
mov eax, dword [edx + 8]
mov edx, dword [ebp - 0x78c]
and eax, 4
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx]
mov ecx, dword [ebp - 0x788]
mov dword [esp + 0x24], ebx
mov ebx, dword [ebp - 0x784]
mov dword [esp + 0x1c], edx
mov edx, dword [ebp - 0x754]
mov dword [esp + 0x28], eax
mov eax, dword [ebp - 0x790]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp - 0x760]
mov dword [esp + 0x14], ebx
mov ebx, dword [ebp - 0x764]
mov dword [esp + 0xc], edx
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x780]
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
mov dword [esp], esi
mov dword [esp + 0x10], eax
call fcn.007e5040
mov edi, dword [esi + 0x15c]
xor eax, eax
mov dword [esi + 0xf8], 0
test edi, edi
jne 0x7cca45
mov ebx, dword [esi + 0x158]
test ebx, ebx
je 0x7cc414
test eax, eax
jne 0x7cca30
mov edx, dword [ebp - 0x778]
mov eax, dword [edx + 0x10]
sub eax, 1
cmp eax, dword [ebp - 0x764]
je 0x7ccbbb
lea edx, [esi + 0x1cc]
mov eax, dword [edx + 0xec]
cmp eax, 2
je 0x7cca30
cmp eax, 0x10
je 0x7cca30
lea ebx, [esi - 0x1cc]
mov eax, dword [edx + 0xf0]
mov ecx, dword [ebx + 0xf0]
sub eax, ecx
add eax, 2
cmp eax, 4
ja 0x7cca30
mov dword [esi + 0xf0], ecx
mov eax, dword [edx + 0xf0]
mov dword [esi + 0x158], 0
sub eax, ecx
mov dword [edx + 0x158], eax
mov eax, dword [esi + 0x15c]
test eax, eax
jne 0x7cc445
mov ecx, dword [esi]
test ecx, ecx
jne 0x7cc445
mov edx, dword [esi + 4]
test edx, edx
jne 0x7cc445
mov eax, dword [esi + 8]
test eax, eax
jne 0x7cc445
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x7cc445
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x7cc445
mov eax, dword [esi + 0x14]
test eax, eax
je 0x7ccc30
mov ecx, dword [ebp - 0x75c]
add dword [ecx + 0x12c], 1
mov edi, dword [esi + 0x15c]
test edi, edi
je 0x7cc9f8
mov eax, dword [ebp - 0x75c]
xor edi, edi
mov ecx, dword [esi + 0xec]
mov ebx, dword [eax + 0x14]
cmp ebx, 3
je 0x7cca18
mov edx, dword [ebp - 0x778]
lea eax, [esi + 0x124]
test byte [edx + 0x6c], 4
cmove eax, esi
mov edx, dword [eax]
or edx, dword [eax + 4]
sete al
and eax, edi
cmp ecx, 0x10
je 0x7cc863
test eax, eax
jne 0x7cc863
mov edx, dword [ebp - 0x778]
mov ecx, dword [ebp - 0x77c]
mov ebx, dword [ebp - 0x768]
mov eax, dword [edx + 0xa0]
mov dword [esp + 4], esi
mov esi, dword [ebp - 0x75c]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ebx
add eax, 0x11c
mov dword [esp + 0x10], eax
mov dword [esp], esi
call fcn.007ba950
add dword [ebp - 0x764], 1
mov eax, dword [ebp - 0x764]
cmp dword [ebp - 0x774], eax
jne 0x7cc2a0
add dword [ebp - 0x760], 1
mov edx, dword [ebp - 0x760]
cmp dword [ebp - 0x770], edx
jne 0x7cc287
call dword [0xc24ac4]
mov ecx, dword [ebp - 0x75c]
mov ebx, dword [ecx + 0x124]
test ebx, ebx
jne 0x7cc535
mov dword [ecx + 0x124], 1
mov ebx, dword [ebp - 0x75c]
fild dword [ebx + 0x120]
fild dword [ebx + 0x124]
fdivp st(1)
fld st(0)
fsqrt
fld st(0)
fucompi st(0)
jp 0x7cc559
je 0x7ccc29
fstp st(0)
fstp qword [esp]
call sub.msvcrt.dll_sqrt
mov eax, dword [ebp - 0x778]
fstp dword [ebp - 0x73c]
fld dword [ebp - 0x73c]
fld st(0)
mov ecx, dword [eax + 0x68]
mov eax, 0x10
shl eax, cl
push eax
fild dword [esp]
add esp, 4
fld st(1)
fmul dword [0xb9ff08]
fucompi st(1)
jbe 0x7cc59d
cmp ecx, 5
jbe 0x7ccc8a
fxch st(1)
fmul dword [0xb9ff0c]
fxch st(1)
fucomi st(1)
fstp st(1)
ja 0x7ccc58
fstp st(0)
mov ebx, dword [ebp - 0x770]
mov esi, dword [ebp - 0x778]
imul ebx, dword [ebp - 0x774]
mov edx, dword [ebp - 0x778]
mov eax, dword [ebp - 0x75c]
fstp dword [esi + 0x24c]
mov esi, ebx
imul esi, dword [edx + 0x34]
mov edx, 0x51eb851f
mov ecx, dword [eax + 0x128]
add ecx, dword [eax + 0x12c]
mov eax, esi
imul edx
sar esi, 0x1f
sar edx, 5
sub edx, esi
cmp ecx, edx
jg 0x7ccc9f
mov edx, dword [ebp - 0x778]
mov eax, dword [edx + 0x118]
cmp eax, dword [edx + 0x11c]
jge 0x7cc621
test byte [edx + 0x28], 2
jne 0x7ccc9f
mov ecx, dword [ebp - 0x75c]
mov dword [ecx + 0x130], ebx
mov ebx, dword [ebp - 0x77c]
mov dword [ecx + 0x11c], 0
mov dword [ecx + 0x12c], 0
mov dword [ecx + 0x128], 0
mov edx, dword [ebx + 0x14]
mov eax, dword [edx]
mov dword [ebx + 0x10], edx
bswap eax
mov dword [ebx], eax
mov eax, dword [edx + 4]
mov edx, dword [ebx + 0x1c]
bswap eax
mov dword [ebx + 4], eax
test edx, edx
jne 0x7ccffd
mov esi, dword [ebp - 0x77c]
mov dword [esi + 8], 0
mov eax, dword [ebp - 0x77c]
xor edi, edi
mov ecx, dword [ebp - 0x75c]
mov ebx, dword [ebp - 0x75c]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0x778]
mov esi, dword [edx + 0x20]
mov edx, dword [ecx + 0x30]
mov eax, edx
sar edx, 0x1f
idiv esi
mov ecx, eax
mov eax, dword [ebp - 0x758]
mov dword [ebx + 0x2c], edx
mov edx, dword [eax + 0x30]
mov eax, edx
sar edx, 0x1f
idiv esi
mov edx, dword [ebp - 0x778]
sub ecx, eax
mov eax, dword [ebx + 0x44]
mov dword [ebx + 0x28], ecx
mov ecx, dword [ebp - 0x77c]
mov eax, dword [eax + 0xf0]
mov dword [esp], ecx
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
call fcn.007d8280
mov ebx, dword [ebp - 0x758]
mov esi, dword [ebp - 0x75c]
mov eax, dword [ebx + 0x18]
mov edx, dword [ebx + 0x34]
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [ebx + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [ebx + 0x30]
mov ebx, dword [ebp - 0x778]
mov dword [esi + 0x34], edx
mov dword [esi + 0x30], eax
mov esi, dword [ebp - 0x754]
mov eax, dword [ebx + 4]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x75c]
add eax, 0x38
mov dword [esp], eax
call fcn.007c1250
mov edx, dword [ebp - 0x774]
mov eax, dword [ebp - 0x75c]
imul edx, dword [ebp - 0x770]
mov ebx, dword [ebp - 0x758]
mov ecx, dword [eax + 0x44]
imul eax, edx, 0x1cc
mov edx, dword [ebx + 0x44]
mov dword [esp], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_memcpy
mov esi, dword [ebp - 0x77c]
mov edx, 8
mov ebx, dword [esi + 0xc]
mov eax, ebx
and eax, 7
sub edx, eax
mov eax, ebx
neg eax
mov esi, dword [edx*4 + 0xb9fedc]
lea ecx, [eax + 0x20]
sub ecx, edx
cmp ecx, 0x20
ja 0x7ccd14
mov eax, dword [ebp - 0x77c]
shl esi, cl
or dword [eax + 8], esi
lea eax, [edx + ebx]
mov edx, dword [ebp - 0x77c]
cmp eax, 0x1f
mov dword [edx + 0xc], eax
jbe 0x7cd093
mov eax, dword [edx + 8]
mov ecx, edx
mov edx, dword [edx + 0x10]
bswap eax
mov dword [edx], eax
add edx, 4
sub dword [ecx + 0xc], 0x20
mov dword [ecx + 0x10], edx
mov dword [ecx + 8], 0
mov esi, dword [ebp - 0x77c]
mov eax, dword [ebp - 0x77c]
neg dword [ebp - 0x74c]
mov ecx, dword [ebp - 0x77c]
mov esi, dword [esi + 0x1c]
sub dword [ebp - 0x74c], esi
mov eax, dword [eax + 0xc]
add dword [ebp - 0x74c], eax
mov eax, dword [ebp - 0x74c]
add eax, dword [ebp - 0x750]
sub edx, dword [ecx + 0x14]
mov ebx, dword [ebp - 0x748]
sub dword [ebp - 0x744], ebx
lea eax, [eax + edx*8]
mov edx, dword [ebp - 0x744]
mov esi, dword [ebp - 0x75c]
shl edx, 3
sub eax, edx
shr eax, 3
mov dword [esi + 0x118], eax
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
sub ebx, 1
je 0x7cca91
mov ebx, dword [ebp - 0x77c]
mov eax, 0x80000000
mov dword [esi + 0xec], 0x10
mov ecx, dword [ebx + 0xc]
shr eax, cl
add ecx, 1
or dword [ebx + 8], eax
cmp ecx, 0x1f
mov dword [ebx + 0xc], ecx
jbe 0x7cc4e3
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 8]
bswap eax
mov dword [edx], eax
add edx, 4
sub dword [ebx + 0xc], 0x20
mov dword [ebx + 0x10], edx
mov dword [ebx + 8], 0
jmp 0x7cc4e3
mov eax, dword [esi + 0x158]
mov dword [esi + 0xec], 3
mov dword [esi + 0x18], 0
mov dword [esi + 0x10], 0
test eax, eax
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0xc], 0
mov dword [esi + 4], 0
mov dword [esi + 0x150], 0
mov dword [esi + 0x14c], 0
mov dword [esi + 0x148], 0
mov dword [esi + 0x144], 0
mov dword [esi + 0x154], 0
je 0x7cc93f
mov dword [esi + 0xec], 4
mov edx, dword [ebp - 0x768]
mov ecx, dword [ebp - 0x76c]
mov ebx, dword [ebp - 0x760]
mov eax, dword [ebp - 0x764]
mov dword [esp + 0x18], edx
mov edx, dword [ebp - 0x75c]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp - 0x778]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], edx
mov dword [esp], ecx
mov dword [esp + 8], esi
call fcn.0079e470
mov ebx, dword [ebp - 0x768]
mov edx, dword [ebp - 0x778]
mov ecx, dword [ebp - 0x760]
mov dword [esp + 0x10], ebx
mov ebx, dword [ebp - 0x764]
mov eax, dword [edx + 0x10]
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x75c]
mov dword [esp], eax
call fcn.007d1fb0
mov edx, dword [ebp - 0x75c]
mov ecx, dword [ebp - 0x794]
mov ebx, dword [ebp - 0x77c]
mov eax, dword [ebp - 0x768]
add dword [edx + 0x128], 1
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], edx
call fcn.007ba950
jmp 0x7cc4e3
mov ecx, dword [esi + 0xec]
test ecx, ecx
sete al
movzx edi, al
mov eax, dword [ebp - 0x75c]
mov ebx, dword [eax + 0x14]
cmp ebx, 3
jne 0x7cc47a
cmp dword [esi + 0x1c0], 1
sete al
and eax, edi
jmp 0x7cc497
mov eax, dword [esi + 0x15c]
mov dword [esi + 0xec], 1
jmp 0x7cc414
mov eax, dword [ebp - 0x768]
mov edx, dword [ebp - 0x76c]
mov ecx, dword [ebp - 0x760]
mov dword [esp + 0xc], ebx
mov ebx, dword [ebp - 0x75c]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x778]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0079de40
movzx eax, al
mov dword [esi + 0x15c], eax
jmp 0x7cc384
mov ecx, dword [ebp - 0x778]
mov ebx, dword [ebp - 0x778]
mov ecx, dword [ecx + 0x118]
cmp ecx, dword [ebx + 0x11c]
mov dword [ebp - 0x740], ecx
jge 0x7cc86c
mov ebx, dword [esi + 0xf0]
mov edi, ecx
shl edi, 2
jmp 0x7ccae4
mov edx, dword [ebp - 0x778]
add edi, 4
add dword [ebp - 0x740], 1
mov eax, dword [ebp - 0x740]
cmp dword [edx + 0x11c], eax
jle 0x7cc86c
mov eax, dword [ebp - 0x778]
imul edx, ebx, 0x1e
mov ecx, dword [eax + 8]
mov eax, dword [ebp - 0x760]
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
imul eax, ecx
mov ecx, dword [ebp - 0x778]
add eax, dword [ebp - 0x764]
mov edx, dword [ecx + 0x124]
shl eax, 4
mov edx, dword [edx + edi]
mov ebx, dword [edx + 0x38]
lea edx, [eax + ebx]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x758]
add eax, dword [edx + 0x38]
mov dword [esp], eax
call dword [0xc24aa4]
mov ebx, dword [esi + 0xf0]
imul edx, ebx, 0x1e
cmp eax, edx
jl 0x7ccac2
mov ecx, dword [ebp - 0x778]
test byte [ecx + 0x6c], 4
je 0x7ccbe2
mov eax, dword [ebp - 0x764]
mov ebx, dword [ebp - 0x760]
mov dword [esp + 0x14], 0
mov edx, dword [ebp - 0x75c]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
mov eax, dword [ecx + 0x10]
mov dword [esp + 4], eax
mov eax, dword [edx + 0x44]
mov dword [esp], eax
call fcn.007d1790
mov ecx, eax
mov eax, edx
neg ecx
neg eax
mov dword [esi + 0x104], ecx
mov dword [esi + 0x108], eax
mov dword [esi + 0xec], 0
mov dword [esi + 0x15c], 0
jmp 0x7cc4a8
mov eax, dword [edx + 0x14]
sub eax, 1
cmp eax, dword [ebp - 0x760]
jne 0x7cc3b2
mov eax, dword [esi + 0x15c]
mov dword [esi + 0x158], 0
jmp 0x7cc414
mov ecx, dword [ebp - 0x760]
mov ebx, dword [ebp - 0x764]
mov edx, dword [ebp - 0x778]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp - 0x75c]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov eax, dword [edx + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ecx + 0x44]
mov dword [esp], eax
call fcn.007d1330
jmp 0x7ccb8e
fstp st(1)
jmp 0x7cc563
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x7cc445
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x7cc445
mov ebx, dword [ebp - 0x75c]
add dword [ebx + 0x130], 1
jmp 0x7cc452
mov ebx, dword [ebp - 0x778]
fld dword [0xb9ff10]
fmul dword [ebx + 0x24c]
fxch st(1)
fucompi st(1)
fstp st(0)
jbe 0x7cc5b3
cmp ecx, 1
jbe 0x7cc5b3
lea eax, [ecx - 1]
mov dword [ebx + 0x68], eax
jmp 0x7cc5b3
fstp st(0)
fstp st(0)
mov edx, dword [ebp - 0x778]
lea eax, [ecx + 1]
mov dword [edx + 0x68], eax
jmp 0x7cc5b3
mov esi, dword [ebp - 0x778]
mov edi, 1
mov eax, dword [esi + 0xa0]
mov dword [eax + 0x13c], 0
mov dword [eax + 0x140], 0xffffffff
mov eax, esi
add eax, 0x128
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x780]
mov dword [esp], eax
call fcn.007bf090
mov edx, dword [ebp - 0x784]
mov eax, esi
add eax, 0x134
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.007bf090
mov ecx, dword [ebp - 0x788]
mov eax, esi
add eax, 0x140
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.007bf090
jmp 0x7cc78c
lea ebx, [ebx + edx - 0x20]
mov eax, esi
mov ecx, ebx
shr eax, cl
mov ecx, dword [ebp - 0x77c]
or dword [ecx + 8], eax
mov eax, edx
add eax, dword [ecx + 0xc]
sub eax, ebx
cmp eax, 0x1f
mov dword [ecx + 0xc], eax
jbe 0x7cd015
mov edx, dword [ecx + 0x10]
mov eax, dword [ecx + 8]
bswap eax
mov dword [edx], eax
add edx, 4
sub dword [ecx + 0xc], 0x20
mov dword [ecx + 0x10], edx
mov dword [ecx + 8], 0
mov ecx, 0x20
mov eax, ebx
sub ecx, ebx
shl esi, cl
mov ecx, dword [ebp - 0x77c]
add eax, dword [ecx + 0xc]
or dword [ecx + 8], esi
cmp eax, 0x1f
mov dword [ecx + 0xc], eax
jbe 0x7cc7f7
mov eax, dword [ecx + 8]
bswap eax
jmp 0x7cc7e4
mov eax, dword [ebp - 0x778]
add esi, 0xe4
mov edx, dword [ebp - 0x778]
mov dword [esp + 0x1c], esi
mov ebx, dword [ebp - 0x758]
mov dword [ebp - 0x788], esi
mov esi, dword [ebp - 0x75c]
add eax, 0xcc
add edx, 0xc0
mov dword [ebp - 0x780], edx
mov ecx, dword [ebp - 0x780]
lea edx, [ebp - 0x738]
mov dword [esp + 0x18], eax
mov dword [ebp - 0x784], eax
mov eax, dword [ebp - 0x778]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov eax, dword [esi + 0x44]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.007dc8b0
mov eax, dword [ebp - 0x738]
mov dword [esi + 0x48], eax
mov eax, dword [ebp - 0x734]
sub esp, 4
test byte [esi + 0x11], 2
mov dword [esi + 0x4c], eax
mov eax, dword [ebp - 0x730]
mov dword [esi + 0x50], eax
mov eax, dword [ebp - 0x72c]
mov dword [esi + 0x54], eax
mov eax, dword [ebp - 0x728]
mov dword [esi + 0x58], eax
mov eax, dword [ebp - 0x724]
mov dword [esi + 0x5c], eax
jne 0x7cd023
mov edx, dword [ebp - 0x778]
mov ebx, dword [ebp - 0x75c]
mov ecx, dword [ebp - 0x754]
mov esi, dword [ebp - 0x75c]
mov eax, dword [edx + 0xfc]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
add esi, 0x48
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x75c]
add eax, 0x38
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x44]
mov dword [esp + 4], edx
mov dword [esp], esi
mov dword [esp + 8], eax
call fcn.007dbbf0
mov edx, dword [ebp - 0x778]
mov edi, dword [ebp - 0x75c]
mov ebx, dword [edx + 0x14]
imul ebx, dword [edx + 0x10]
add edi, 0xdc
mov dword [esp + 0x14], edi
lea ebx, [eax + ebx*2]
mov eax, dword [edx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [edx]
mov dword [esp + 8], esi
mov dword [esp + 4], 3
mov dword [esp], 3
mov dword [esp + 0xc], eax
call fcn.007beb90
test ebx, ebx
js 0x7cd0a1
mov esi, dword [ebp - 0x778]
mov ecx, dword [ebp - 0x75c]
mov ebx, dword [ebp - 0x754]
mov edx, dword [esi + 8]
mov dword [esp + 0x2c], 0
mov eax, dword [ecx + 0x44]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x6c]
shr eax, 2
and eax, 1
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x68]
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
mov eax, edx
shr eax, 1
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x10]
add esi, 0xfc
mov dword [esp + 4], ebx
mov dword [esp], edi
mov dword [esp + 8], eax
call fcn.007beea0
mov dword [ebp - 0x78c], esi
mov esi, dword [ebp - 0x778]
mov edx, dword [esi + 0x240]
test edx, edx
jg 0x7cbfe8
mov edx, dword [ebp - 0x78c]
mov ecx, dword [ebp - 0x788]
mov ebx, dword [ebp - 0x784]
mov esi, dword [ebp - 0x780]
mov dword [esp + 0x18], edx
mov eax, dword [ebp - 0x758]
mov dword [esp + 0x14], ecx
mov edx, dword [ebp - 0x75c]
mov ecx, dword [ebp - 0x778]
mov dword [esp + 0x1c], 0x100000
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], ecx
call fcn.007e0460
jmp 0x7cc1ea
mov edx, dword [ebp - 0x778]
mov dword [esp + 0x14], 0
mov eax, dword [edx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [edx]
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edx + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.007c0bb0
mov ecx, dword [ebp - 0x758]
mov dword [ecx + 0x13c], 1
jmp 0x7cbe65
mov ecx, 0x20
mov eax, 0xffffffff
sub ecx, edx
shl eax, cl
and eax, dword [ebx]
mov dword [ebx + 8], eax
jmp 0x7cc67d
mov eax, dword [ebp - 0x77c]
mov edx, dword [eax + 0x10]
jmp 0x7ccd55
mov eax, dword [ebp - 0x754]
mov edx, dword [ebp - 0x788]
mov ecx, dword [ebp - 0x784]
mov ebx, dword [ebp - 0x780]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x75c]
mov dword [esp + 0x24], edx
mov edx, dword [ebp - 0x758]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp - 0x75c]
mov dword [esp + 0x1c], ebx
mov ebx, dword [ebp - 0x778]
add eax, 0x38
mov esi, dword [ebp - 0x75c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ebx
mov eax, dword [ecx + 0x44]
add esi, 0x48
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.007dbd30
jmp 0x7cce86
mov ebx, dword [ebp - 0x77c]
mov edx, dword [ebx + 0x10]
jmp 0x7cc7f7
mov ecx, dword [ebp - 0x75c]
mov edx, dword [ecx + 0x50]
test edx, edx
jne 0x7cd0c0
mov eax, dword [ecx + 0x54]
test eax, eax
jne 0x7cd0c0
mov eax, dword [ecx + 0x58]
test eax, eax
je 0x7cd147
mov ebx, dword [ebp - 0x75c]
mov esi, dword [ebp - 0x778]
mov ecx, dword [ebp - 0x778]
mov dword [ebx + 0x14], 3
mov edx, dword [esi + 8]
add esi, 0xfc
mov dword [esp + 0x2c], esi
mov eax, dword [ebx + 0x44]
mov dword [ebp - 0x78c], esi
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x20], 0
mov ebx, dword [ebp - 0x754]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 0x6c]
shr eax, 2
and eax, 1
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0x68]
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
mov eax, edx
shr eax, 1
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 4], ebx
mov dword [esp], edi
mov dword [esp + 8], eax
call fcn.007beea0
jmp 0x7cbfd4
mov eax, dword [ecx + 0x5c]
test eax, eax
je 0x7cced3
jmp 0x7cd0c0