Function at 0x78d4b0
Capabilities:
Create thread
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
cmp eax, 1
je 0x78d4f0
cmp eax, 2
je 0x78d4e0
test eax, eax
jne 0x78d4d8
mov dword [ebp + 8], ecx
pop ebx
pop ebp
jmp 0x7caba0
pop ebx
mov eax, 0xffffffff
pop ebp
ret
mov dword [ebp + 0x10], edx
mov dword [ebp + 0xc], ecx
mov dword [ebp + 8], ebx
pop ebx
pop ebp
jmp fcn.007cd160
mov dword [ebp + 8], ebx
pop ebx
pop ebp
jmp fcn.007ca820
push ebp
mov eax, 0xfffffffc
mov ebp, esp
sub esp, 0xb8
mov dword [ebp - 8], esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], edi
cmp byte [esi + 2], 1
je 0x7cabcd
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 8]
test al, 1
je 0x7cabdb
mov eax, 0xffffffff
jmp 0x7cabc0
mov edx, dword [esi + 0xc]
mov ebx, edx
and ebx, 1
jne 0x7cabd4
test eax, eax
jle 0x7cabd4
test edx, edx
jle 0x7cabd4
mov dword [esp + 4], 0x40
mov dword [esp], 0x250
call fcn.007cf420
mov dword [ebp - 0x9c], eax
mov edx, dword [ebp - 0x9c]
mov eax, 0xfffffffe
test edx, edx
je 0x7cabc0
mov eax, dword [ebp - 0x9c]
mov dword [esp + 8], 0x250
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov eax, dword [esi + 4]
mov edx, dword [ebp - 0x9c]
mov dword [edx + 0x24], eax
mov eax, dword [esi + 0x28]
test al, 1
mov dword [edx + 0x28], eax
je 0x7cac50
or eax, 0x20
mov dword [edx + 0x28], eax
mov ecx, dword [ebp - 0x9c]
mov eax, dword [esi + 8]
mov dword [ecx], eax
mov eax, dword [esi + 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
add eax, 0xf
add edx, 0xf
shr eax, 4
shr edx, 4
mov dword [ecx + 0x10], eax
shl eax, 4
mov dword [ecx + 0x14], edx
shl edx, 4
sub eax, 0xffffff80
sub edx, 0xffffff80
mov dword [ecx + 0xc], edx
mov edx, 0x19
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x2c]
test eax, eax
cmovns ebx, dword [esi + 0x2c]
mov dword [ecx + 0x1c], ebx
mov eax, dword [esi + 0x2c]
test eax, eax
jle 0x7caca5
mov edx, dword [esi + 0x30]
mov ebx, dword [ebp - 0x9c]
mov eax, dword [ebx + 0x1c]
mov dword [ebx + 0x20], edx
test eax, eax
jle 0x7cad50
call fcn.007c9d90
mov edi, dword [ebp - 0x9c]
add ebx, 0x20
mov ecx, dword [edi + 0x1c]
mov dword [ebp - 0x98], eax
mov edx, ecx
mov eax, ecx
sar edx, 0x1f
idiv dword [ebp - 0x98]
mov edx, dword [edi + 0x20]
mov dword [edi + 0x1c], eax
mov eax, edx
sar edx, 0x1f
idiv dword [ebp - 0x98]
cmp eax, 0xffff
mov dword [edi + 0x20], eax
jle 0x7cbcfb
cmp eax, dword [edi + 0x1c]
jle 0x7cbd0e
mov edi, dword [ebp - 0x9c]
mov ecx, ebx
lea ebx, [edi + 0x1c]
push eax
fild dword [esp]
add esp, 4
fld dword [0xb9ff04]
fdivr st(1)
fnstcw word [ebp - 0x42]
movzx eax, word [ebp - 0x42]
mov ah, 0xc
mov word [ebp - 0x44], ax
fdiv st(1), st(0)
fxch st(1)
fldcw word [ebp - 0x44]
fistp qword [ebp - 0x50]
fldcw word [ebp - 0x42]
mov eax, dword [ebp - 0x50]
mov dword [ecx], eax
fild dword [ebx]
fdivrp st(1)
fldcw word [ebp - 0x44]
fistp qword [ebp - 0x50]
fldcw word [ebp - 0x42]
mov eax, dword [ebp - 0x50]
mov dword [ebx], eax
mov eax, dword [esi + 0x10]
test eax, eax
jle 0x7cba68
mov edx, dword [ebp - 0x9c]
mov dword [edx + 0x88], eax
shl eax, 4
mov dword [esp + 4], 0x40
mov dword [esp], eax
call fcn.007cf420
mov ebx, dword [ebp - 0x9c]
test eax, eax
mov ecx, eax
mov dword [ebx + 0x8c], eax
je 0x7cb9c5
mov eax, dword [ebx + 0x88]
mov edx, dword [esi + 0x14]
mov dword [esp], ecx
shl eax, 4
mov dword [esp + 8], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_memcpy
mov eax, dword [esi + 0x18]
test eax, eax
jle 0x7cb754
mov edx, dword [ebp - 0x9c]
mov dword [edx + 0x90], eax
shl eax, 3
mov dword [esp + 4], 0x40
mov dword [esp], eax
call fcn.007cf420
mov ecx, dword [ebp - 0x9c]
test eax, eax
mov dword [ecx + 0x94], eax
je 0x7cb9c5
mov edi, dword [ebp - 0x9c]
mov eax, dword [edi + 0x90]
test eax, eax
jle 0x7caf1f
lea eax, [ebp - 0x40]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x94], eax
mov ebx, dword [ebp - 0x68]
lea edx, [ebp - 0x18]
mov dword [ebp - 0x14], 0
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x18], 0x10202
mov dword [esp + 0xc], 0
shl ebx, 3
mov dword [esp + 8], edx
mov dword [esp + 4], 4
mov dword [esp], 0
call dword [eax + ebx]
test eax, eax
js 0x7cae56
mov ecx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0x14]
or dword [ecx + 0x18], eax
mov edi, dword [ebp - 0x94]
xor eax, eax
mov ecx, 0xa
cld
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x40]
mov dword [ebp - 0x40], 0x10202
mov edx, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x9c]
mov eax, dword [edx + 0x88]
mov dword [ebp - 0x3c], eax
mov eax, dword [edx + 0x8c]
mov dword [ebp - 0x38], eax
mov eax, dword [edx]
mov dword [ebp - 0x34], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x30], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [edx + 0x20]
mov edx, dword [esi + 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [edx + ebx + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0x94]
mov dword [eax + ebx], 0
mov eax, ebx
add eax, dword [ecx + 0x94]
mov dword [esp + 8], edi
mov dword [esp + 4], 1
add eax, 4
mov dword [esp + 0xc], eax
mov dword [esp], 0
call dword [edx + ebx]
test eax, eax
js 0x7caf06
mov edx, dword [ebp - 0x9c]
mov eax, dword [edx + 0x94]
mov edx, dword [esi + 0x1c]
mov edx, dword [edx + ebx]
mov dword [eax + ebx], edx
mov ebx, dword [ebp - 0x9c]
add dword [ebp - 0x68], 1
mov ecx, dword [ebp - 0x68]
cmp dword [ebx + 0x90], ecx
jg 0x7cae0e
mov edi, dword [ebp - 0x9c]
test byte [edi + 0x28], 4
jne 0x7caf32
mov eax, dword [edi + 0x18]
test al, 2
je 0x7caf41
mov edx, dword [ebp - 0x9c]
mov eax, dword [edx + 0x18]
or eax, 1
mov dword [edx + 0x18], eax
test al, 4
jne 0x7cbd5b
test al, 8
jne 0x7cbd25
mov edi, dword [esi + 0x24]
xor eax, eax
mov ecx, dword [ebp - 0x9c]
mov edx, eax
test edi, edi
cmovns edx, dword [esi + 0x24]
mov dword [ecx + 0x60], edx
mov ebx, dword [esi + 0x3c]
test ebx, ebx
cmovns eax, dword [esi + 0x3c]
mov dword [ecx + 0x2c], eax
mov eax, dword [esi + 0x40]
mov dword [ecx + 0x30], eax
xor ecx, ecx
mov eax, dword [esi + ecx*4 + 0x44]
mov edx, 2
mov ebx, dword [ebp - 0x9c]
test eax, eax
cmovle eax, edx
mov dl, 0x1f
mov dword [ebx + ecx*4 + 0x38], eax
mov eax, dword [esi + ecx*4 + 0x50]
test eax, eax
cmovle eax, edx
mov dword [ebx + ecx*4 + 0x44], eax
add ecx, 1
cmp ecx, 3
jne 0x7caf7b
mov edx, dword [esi + 0x38]
xor eax, eax
test edx, edx
cmovns eax, dword [esi + 0x38]
mov dword [ebx + 0x34], eax
mov eax, dword [esi + 0x34]
test eax, eax
jg 0x7cafcf
mov edx, dword [ebx + 0x20]
lea edx, [edx + edx*4]
add edx, edx
mov eax, edx
sar edx, 0x1f
idiv dword [ebx + 0x1c]
mov edi, dword [ebp - 0x9c]
mov dword [edi + 0x5c], eax
mov dword [esp + 4], 0x40
mov dword [esp], 0x148
call fcn.007cf420
mov dword [edi + 0xa0], eax
mov dword [esp + 4], 0x40
mov dword [esp], 0x148
call fcn.007cf420
mov ebx, dword [edi + 0xa0]
test ebx, ebx
mov dword [edi + 0xa4], eax
je 0x7cb973
test eax, eax
je 0x7cb973
mov dword [esp + 4], 0x40
mov eax, dword [edi + 0x10]
imul eax, dword [edi + 0x14]
imul eax, eax, 0x1cc
mov dword [esp], eax
call fcn.007cf420
mov dword [ebx + 0x44], eax
mov ebx, dword [edi + 0xa4]
mov dword [esp + 4], 0x40
mov eax, dword [edi + 0x10]
imul eax, dword [edi + 0x14]
imul eax, eax, 0x1cc
mov dword [esp], eax
call fcn.007cf420
mov dword [ebx + 0x44], eax
mov ebx, dword [edi + 0xa0]
mov eax, dword [ebx + 0x44]
test eax, eax
je 0x7cb945
mov eax, dword [edi + 0xa4]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x7cb945
mov dword [esp + 4], 0x40
mov dword [esp], 0x400
call fcn.007cf420
test eax, eax
mov dword [edi + 0x78], eax
je 0x7cb928
test byte [edi + 0x18], 1
je 0x7cb0eb
mov dword [edi + 0xb0], 0
mov dword [edi + 0xac], 0
mov dword [edi + 0xa8], 0
mov dword [edi + 0xbc], 0
mov dword [edi + 0xb8], 0
mov dword [edi + 0xb4], 0
mov eax, dword [ebp - 0x9c]
mov edx, eax
mov dword [eax + 0x130], 0
mov dword [eax + 0x12c], 0
mov dword [eax + 0x128], 0
mov dword [eax + 0x13c], 0
mov dword [eax + 0x138], 0
mov dword [eax + 0x134], 0
mov dword [eax + 0x148], 0
mov dword [eax + 0x144], 0
mov dword [eax + 0x140], 0
mov eax, dword [eax + 0xa0]
test byte [edx + 0x18], 1
mov dword [eax + 0x40], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x38], 0
mov eax, dword [edx + 0xa4]
mov dword [eax + 0x40], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x38], 0
mov dword [edx + 0xc8], 0
mov dword [edx + 0xc4], 0
mov dword [edx + 0xc0], 0
mov dword [edx + 0xd4], 0
mov dword [edx + 0xd0], 0
mov dword [edx + 0xcc], 0
mov dword [edx + 0xec], 0
mov dword [edx + 0xe8], 0
mov dword [edx + 0xe4], 0
je 0x7cb233
mov eax, dword [edx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edx + 8]
mov dword [esp + 4], eax
mov eax, edx
add eax, 0xa8
mov dword [esp], eax
call fcn.007c1610
test eax, eax
js 0x7cba87
mov ecx, dword [ebp - 0x9c]
mov eax, dword [ecx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ecx + 8]
mov dword [esp + 4], eax
mov eax, ecx
add eax, 0xb4
mov dword [esp], eax
call fcn.007c1610
test eax, eax
js 0x7cbb44
mov ebx, dword [ebp - 0x9c]
mov eax, dword [ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebx + 8]
add ebx, 0x128
mov dword [ebp - 0x88], ebx
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.007c1610
test eax, eax
js 0x7cb773
mov edi, dword [ebp - 0x9c]
mov eax, dword [edi + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
add edi, 0x134
mov dword [ebp - 0x8c], edi
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.007c1610
test eax, eax
js 0x7cb785
mov edx, dword [ebp - 0x9c]
mov eax, dword [edx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edx + 8]
add edx, 0x140
mov dword [ebp - 0x90], edx
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.007c1610
test eax, eax
js 0x7cbb79
mov ecx, dword [ebp - 0x9c]
mov eax, dword [ecx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ecx + 8]
mov dword [esp + 4], eax
mov eax, dword [ecx + 0xa0]
add eax, 0x38
mov dword [esp], eax
call fcn.007c1610
test eax, eax
js 0x7cbb00
mov ebx, dword [ebp - 0x9c]
mov eax, dword [ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0xa4]
add eax, 0x38
mov dword [esp], eax
call fcn.007c1610
test eax, eax
js 0x7cbabd
mov eax, dword [ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebx + 8]
add ebx, 0xc0
mov dword [ebp - 0x78], ebx
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.007c1610
test eax, eax
js 0x7cb7a6
mov edi, dword [ebp - 0x9c]
mov eax, dword [edi + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
add edi, 0xcc
mov dword [ebp - 0x7c], edi
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.007c1610
test eax, eax
js 0x7cbada
mov edx, dword [ebp - 0x9c]
mov eax, dword [edx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edx + 8]
add edx, 0xe4
mov dword [ebp - 0x80], edx
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.007c1610
test eax, eax
js 0x7cbbbc
mov ecx, dword [ebp - 0x9c]
mov eax, dword [ecx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ecx + 8]
add ecx, 0xfc
mov dword [ebp - 0x84], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.007c1610
test eax, eax
js 0x7cb7d5
mov ebx, dword [ebp - 0x9c]
mov eax, dword [ebx + 0x60]
mov dword [ebx + 0x118], 0
mov dword [ebx + 0x11c], 0
mov dword [ebx + 0x120], 0
test eax, eax
mov dword [ebx + 0x14c], 0xffffffff
mov dword [ebx + 0x124], 0
jle 0x7cb533
shl eax, 2
mov dword [esp + 4], 0x40
mov dword [esp], eax
call fcn.007cf420
test eax, eax
mov dword [ebx + 0x124], eax
je 0x7cb7d5
mov ebx, dword [ebx + 0x60]
test ebx, ebx
jle 0x7cb533
xor edx, edx
mov edi, dword [ebp - 0x9c]
mov dword [eax + edx*4], 0
add edx, 1
cmp dword [edi + 0x60], edx
jg 0x7cb43f
mov ecx, dword [edi + 0x60]
test ecx, ecx
jle 0x7cb533
mov dword [ebp - 0x58], 0
mov ebx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x9c]
shl ebx, 2
add ebx, dword [eax + 0x124]
mov dword [esp + 4], 0x40
mov dword [esp], 0x148
call fcn.007cf420
mov edx, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x58]
mov dword [ebx], eax
mov eax, dword [edx + 0x124]
mov ebx, dword [eax + ecx*4]
test ebx, ebx
je 0x7cbc70
mov dword [esp + 4], 0x40
mov eax, dword [edx + 0x10]
imul eax, dword [edx + 0x14]
imul eax, eax, 0x1cc
mov dword [esp], eax
call fcn.007cf420
mov edi, dword [ebp - 0x58]
mov dword [ebx + 0x44], eax
mov ebx, dword [ebp - 0x9c]
mov eax, dword [ebx + 0x124]
mov eax, dword [eax + edi*4]
mov edx, dword [eax + 0x44]
test edx, edx
je 0x7cbc70
mov dword [eax + 0x40], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x38], 0
mov eax, dword [ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x124]
mov eax, dword [eax + edi*4]
add eax, 0x38
mov dword [esp], eax
call fcn.007c1610
test eax, eax
js 0x7cbc70
add edi, 1
cmp dword [ebx + 0x60], edi
mov dword [ebp - 0x58], edi
jg 0x7cb466
mov eax, dword [ebp - 0x9c]
mov dword [eax + 0x108], 0
mov dword [eax + 0x10c], 0
mov dword [eax + 0x110], 0
mov dword [esp + 4], 0x40
mov eax, dword [eax + 0x60]
add eax, 1
imul eax, eax, 0xf0
mov dword [esp], eax
call fcn.007cf420
mov ecx, dword [ebp - 0x9c]
test eax, eax
mov dword [ecx + 0x114], eax
je 0x7cbc70
mov eax, dword [ecx + 0x60]
add eax, 1
test eax, eax
jle 0x7cb631
xor edx, edx
xor ecx, ecx
mov ebx, dword [ebp - 0x9c]
mov eax, ecx
add edx, 1
add ecx, 0xf0
add eax, dword [ebx + 0x114]
mov dword [eax + 0xec], 0
mov dword [eax + 0xe8], 0
mov dword [eax + 0xe4], 0
mov eax, dword [ebx + 0x60]
add eax, 1
cmp eax, edx
jg 0x7cb599
test eax, eax
jle 0x7cb631
xor ebx, ebx
mov dword [ebp - 0x5c], 0
mov edi, dword [ebp - 0x9c]
mov eax, dword [edi + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x5c]
add eax, dword [edi + 0x114]
add eax, 0xe4
mov dword [esp], eax
call fcn.007c1610
test eax, eax
js 0x7cbc05
mov edx, dword [ebp - 0x9c]
add ebx, 1
add dword [ebp - 0x5c], 0xf0
mov eax, dword [edx + 0x60]
add eax, 1
cmp eax, ebx
jg 0x7cb5e5
mov ecx, dword [ebp - 0x9c]
mov eax, dword [ecx + 0xa0]
mov dword [ecx + 0x248], 0
mov dword [ecx + 0x80], 0
mov ebx, dword [esi + 0x20]
mov dword [ecx + 0x70], 0
mov dword [ecx + 0x74], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov eax, dword [ecx + 0xa4]
test ebx, ebx
mov dword [ecx + 0x24c], 0xbf800000
mov dword [ebp - 0x74], ebx
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
jle 0x7cbbd3
mov edi, dword [ebp - 0x74]
mov ebx, dword [ecx + 0x14]
imul eax, edi, 0x68
mov dword [ecx + 0x240], edi
mov dword [esp + 4], 0x40
mov dword [ebp - 0x70], eax
mov dword [esp], eax
call fcn.007cf420
mov edx, dword [ebp - 0x9c]
test eax, eax
mov dword [edx + 0x244], eax
je 0x7cbbd3
lea eax, [ebx + edi - 1]
xor edx, edx
div edi
mov dword [ebp - 0x54], 0
shl eax, 2
mov dword [ebp - 0x64], eax
imul ecx, dword [ebp - 0x54], 0x68
mov edi, dword [ebp - 0x9c]
mov eax, dword [ebp - 0x64]
mov ebx, ecx
mov dword [ebp - 0x6c], ecx
add ebx, dword [edi + 0x244]
mov dword [esp + 4], 0x40
mov dword [esp], eax
call fcn.007cf420
mov edx, dword [edi + 0x244]
mov ecx, dword [ebp - 0x6c]
add ecx, edx
mov dword [ebx + 0x2c], eax
mov eax, dword [ecx + 0x2c]
test eax, eax
je 0x7cbbd3
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x7cb736
mov ebx, dword [ebp - 0x6c]
mov eax, dword [edx + ebx - 0x3c]
mov dword [ecx + 0x30], eax
add dword [ebp - 0x54], 1
mov edi, dword [ebp - 0x74]
cmp dword [ebp - 0x54], edi
jne 0x7cb6e4
mov ecx, dword [ebp - 0x70]
mov eax, dword [edx + ecx - 0x3c]
sub eax, 4
mov dword [edx + 0x30], eax
jmp 0x7cbbea
mov ebx, dword [ebp - 0x9c]
mov dword [ebx + 0x90], 0
mov dword [ebx + 0x94], 0
jmp 0x7cadea
mov edx, dword [ebp - 0x9c]
add edx, 0x134
mov dword [ebp - 0x8c], edx
mov ecx, dword [ebp - 0x9c]
mov ebx, dword [ebp - 0x9c]
add ecx, 0x140
add ebx, 0xc0
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x78], ebx
mov edi, dword [ebp - 0x9c]
mov eax, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x9c]
add edi, 0xcc
add eax, 0xe4
add edx, 0xfc
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x84], edx
mov eax, dword [ebp - 0x9c]
test byte [eax + 0x18], 1
je 0x7cb823
mov edx, eax
mov eax, dword [eax + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edx + 8]
mov dword [esp + 4], eax
mov eax, edx
add eax, 0xa8
mov dword [esp], eax
call fcn.007c1590
mov ecx, dword [ebp - 0x9c]
mov eax, dword [ecx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ecx + 8]
mov dword [esp + 4], eax
mov eax, ecx
add eax, 0xb4
mov dword [esp], eax
call fcn.007c1590
mov ebx, dword [ebp - 0x9c]
mov edi, dword [ebp - 0x88]
mov eax, dword [ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebx + 8]
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.007c1590
mov eax, dword [ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp], eax
call fcn.007c1590
mov eax, dword [ebx + 0xc]
mov edx, dword [ebp - 0x90]
mov dword [esp + 8], eax
mov eax, dword [ebx + 8]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.007c1590
mov eax, dword [ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0xa0]
add eax, 0x38
mov dword [esp], eax
call fcn.007c1590
mov eax, dword [ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0xa4]
add eax, 0x38
mov dword [esp], eax
call fcn.007c1590
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x78]
mov dword [esp + 8], eax
mov eax, dword [ebx + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.007c1590
mov eax, dword [ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebx + 8]
mov ebx, dword [ebp - 0x7c]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.007c1590
mov edi, dword [ebp - 0x9c]
mov eax, dword [edi + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x80]
mov dword [esp], eax
call fcn.007c1590
mov eax, dword [edi + 0xc]
mov edx, dword [ebp - 0x84]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.007c1590
mov ecx, dword [ebp - 0x9c]
mov eax, dword [ecx + 0x78]
mov dword [esp], eax
call fcn.007cf3f0
mov edi, dword [ebp - 0x9c]
mov ebx, dword [edi + 0xa0]
mov eax, dword [ebx + 0x44]
mov dword [esp], eax
call fcn.007cf3f0
mov edx, dword [ebp - 0x9c]
mov eax, dword [edx + 0xa4]
mov eax, dword [eax + 0x44]
mov dword [esp], eax
call fcn.007cf3f0
mov ecx, dword [ebp - 0x9c]
mov ebx, dword [ecx + 0xa0]
mov dword [esp], ebx
call fcn.007cf3f0
mov ebx, dword [ebp - 0x9c]
mov eax, dword [ebx + 0xa4]
mov dword [esp], eax
call fcn.007cf3f0
mov edi, dword [ebp - 0x9c]
mov eax, dword [edi + 0x18]
test al, 4
je 0x7cb9ad
mov eax, dword [edi + 0x98]
mov dword [esp], eax
call fcn.007cf3f0
mov eax, dword [edi + 0x18]
test al, 8
je 0x7cb9c5
mov edx, dword [ebp - 0x9c]
mov eax, dword [edx + 0x9c]
mov dword [esp], eax
call fcn.007cf3f0
mov ecx, dword [ebp - 0x9c]
mov ebx, dword [ecx + 0x90]
test ebx, ebx
jle 0x7cba21
xor ebx, ebx
mov edi, dword [ebp - 0x9c]
lea eax, [ebx*8]
add eax, dword [edi + 0x94]
mov edx, dword [eax]
test edx, edx
je 0x7cba10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 2
mov eax, dword [eax + 4]
mov dword [esp], eax
call edx
mov eax, dword [ebp - 0x9c]
add ebx, 1
cmp dword [eax + 0x90], ebx
jg 0x7cb9d7
mov edx, dword [ebp - 0x9c]
mov eax, dword [edx + 0x94]
mov dword [esp], eax
call fcn.007cf3f0
mov ecx, dword [ebp - 0x9c]
mov eax, dword [ecx + 0x8c]
mov dword [esp], eax
call fcn.007cf3f0
mov ebx, dword [ebp - 0x9c]
mov dword [esp], ebx
call fcn.007cf3f0
mov eax, 0xfffffffe
mov dword [esi + 0x5c], 0
jmp 0x7cabc0
mov edi, dword [ebp - 0x9c]
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0
jmp 0x7cadac
mov ecx, dword [ebp - 0x9c]
mov ebx, dword [ebp - 0x9c]
mov edi, dword [ebp - 0x9c]
add ecx, 0x128
add ebx, 0x134
add edi, 0x140
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x90], edi
mov eax, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x9c]
add eax, 0xc0
add edx, 0xcc
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x7c], edx
mov ecx, dword [ebp - 0x9c]
mov ebx, dword [ebp - 0x9c]
add ecx, 0xe4
add ebx, 0xfc
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x84], ebx
jmp 0x7cb7d5
mov edx, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x9c]
mov ebx, dword [ebp - 0x9c]
mov edi, dword [ebp - 0x9c]
add edx, 0xc0
add ecx, 0xcc
add ebx, 0xe4
add edi, 0xfc
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x84], edi
jmp 0x7cb7d5
mov edi, dword [ebp - 0x9c]
mov eax, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x9c]
add edi, 0x128
add eax, 0x134
add edx, 0x140
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x90], edx
mov ecx, dword [ebp - 0x9c]
mov ebx, dword [ebp - 0x9c]
mov edi, dword [ebp - 0x9c]
mov eax, dword [ebp - 0x9c]
add ecx, 0xc0
add ebx, 0xcc
add edi, 0xe4
add eax, 0xfc
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x84], eax
jmp 0x7cb7d5
mov edi, dword [ebp - 0x9c]
add edi, 0xfc
mov dword [ebp - 0x84], edi
jmp 0x7cb7d5
mov ebx, dword [ebp - 0x9c]
mov dword [esi + 0x20], 0
mov dword [ebx + 0x244], 0
mov edi, dword [ebp - 0x9c]
mov eax, dword [edi + 0x78]
mov dword [esi + 0x5c], edi
mov dword [esp], eax
call fcn.007cf3c0
xor eax, eax
jmp 0x7cabc0
mov eax, dword [edi + 0x60]
xor ebx, ebx
mov dword [ebp - 0x60], 0
add eax, 1
test eax, eax
jle 0x7cbc5c
mov edx, dword [ebp - 0x9c]
add ebx, 1
mov eax, dword [edx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edx + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x60]
add eax, dword [edx + 0x114]
add eax, 0xe4
mov dword [esp], eax
call fcn.007c1590
mov ecx, dword [ebp - 0x9c]
add dword [ebp - 0x60], 0xf0
mov eax, dword [ecx + 0x60]
add eax, 1
cmp eax, ebx
jg 0x7cbc18
mov ebx, dword [ebp - 0x9c]
mov eax, dword [ebx + 0x114]
mov dword [esp], eax
call fcn.007cf3f0
mov edi, dword [ebp - 0x9c]
mov eax, dword [edi + 0x60]
test eax, eax
jle 0x7cb7d5
mov eax, dword [edi + 0x124]
xor ebx, ebx
mov edx, dword [eax + ebx*4]
test edx, edx
je 0x7cbce0
mov ecx, dword [ebp - 0x9c]
mov eax, dword [ecx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ecx + 8]
mov dword [esp + 4], eax
lea eax, [edx + 0x38]
mov dword [esp], eax
call fcn.007c1590
mov edi, dword [ebp - 0x9c]
mov eax, dword [edi + 0x124]
mov eax, dword [eax + ebx*4]
mov eax, dword [eax + 0x44]
mov dword [esp], eax
call fcn.007cf3f0
mov eax, dword [edi + 0x124]
mov eax, dword [eax + ebx*4]
mov dword [esp], eax
call fcn.007cf3f0
mov eax, dword [edi + 0x124]
mov edx, dword [ebp - 0x9c]
add ebx, 1
cmp dword [edx + 0x60], ebx
jg 0x7cbc89
mov dword [esp], eax
call fcn.007cf3f0
jmp 0x7cb7d5
mov ecx, dword [ebp - 0x9c]
cmp dword [ecx + 0x1c], 0xffff
jle 0x7cad50
mov edx, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x9c]
mov eax, dword [edx + 0x1c]
add ecx, 0x1c
jmp 0x7cad10
mov edi, dword [ebp - 0x9c]
mov dword [esp + 4], 0x40
mov eax, dword [edi + 0x10]
imul eax, dword [edi + 0x14]
lea eax, [eax + eax*2]
shl eax, 3
mov dword [esp], eax
call fcn.007cf420
test eax, eax
mov dword [edi + 0x9c], eax
jne 0x7caf51
jmp 0x7cb98f
mov ecx, dword [ebp - 0x9c]
mov dword [esp + 4], 0x40
mov eax, dword [ecx + 0x10]
imul eax, dword [ecx + 0x14]
shl eax, 2
mov dword [esp], eax
call fcn.007cf420
mov ebx, dword [ebp - 0x9c]
test eax, eax
mov dword [ebx + 0x98], eax
je 0x7cb98f
mov eax, dword [ebx + 0x18]
jmp 0x7caf49