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

Disassembly:
mov eax, 0xac4c3b
call fcn.00a6fc7c
sub esp, 0x24
and dword [ebp - 0x18], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push dword [ebx + 0x20]
lea eax, [ebx + 0x18]
push eax
mov esi, ecx
call fcn.00416de8
pop ecx
cdq
pop ecx
mov ecx, 0x3e8
idiv ecx
push 0x64
pop ecx
mov eax, edx
cdq
idiv ecx
mov edx, esi
xor ecx, ecx
mov dword [ebp - 0x14], eax
call fcn.00416e36
lea edx, [esi + 0x30]
xor ecx, ecx
mov dword [esi + 8], eax
call fcn.00416e36
mov dword [esi + 0x38], eax
push dword [ebx + 0x44]
lea edi, [ebx + 0x3c]
push edi
call fcn.00416de8
pop ecx
pop ecx
lea edx, [esi + 0x60]
mov ecx, eax
call fcn.00416e36
mov dword [esi + 0x68], eax
push dword [ebx + 0x44]
push edi
call fcn.00416de8
pop ecx
pop ecx
lea edx, [esi + 0x90]
mov ecx, eax
call fcn.00416e36
cmp dword [ebp - 0x14], 5
mov dword [esi + 0x98], eax
jne 0x787af8
push dword [ebx + 0x20]
lea edi, [ebx + 0x18]
push edi
call fcn.00416de8
pop ecx
pop ecx
push 0xa
cdq
pop ecx
idiv ecx
cmp eax, 0x33
jne 0x787a07
push dword [ebx + 0x50]
lea edi, [ebx + 0x48]
push edi
call fcn.00416de8
push dword [ebx + 0x38]
mov dword [ebp - 0x14], eax
lea eax, [ebx + 0x30]
push eax
call fcn.00416de8
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x14]
fild dword [ebp + 0xc]
cdq
sub eax, edx
fmul qword [0xb06460]
sar eax, 1
mov dword [ebp + 0xc], eax
add esp, 0x10
fild dword [ebp + 0xc]
faddp st(1)
call fcn.00a70f94
lea edx, [esi + 0xf0]
mov ecx, eax
jmp 0x787a9b
push dword [ebx + 0x20]
push edi
call fcn.00416de8
pop ecx
pop ecx
push 0xa
pop ecx
cdq
idiv ecx
push dword [ebx + 0x50]
lea edi, [ebx + 0x48]
push edi
cmp eax, 0x34
jne 0x787a55
call fcn.00416de8
push dword [ebx + 0x38]
mov dword [ebp + 0xc], eax
lea eax, [ebx + 0x30]
push eax
call fcn.00416de8
add esp, 0x10
cdq
push 8
pop ecx
idiv ecx
mov ecx, eax
mov eax, dword [ebp + 0xc]
cdq
sub eax, edx
sar eax, 1
add ecx, eax
lea edx, [esi + 0xf0]
jmp 0x787a9b
call fcn.00416de8
push dword [ebx + 0x38]
mov dword [ebp + 0xc], eax
lea eax, [ebx + 0x30]
push eax
call fcn.00416de8
add esp, 0x10
cdq
push 4
pop ecx
idiv ecx
mov ecx, eax
mov eax, dword [ebp + 0xc]
cdq
sub eax, edx
sar eax, 1
add ecx, eax
lea edx, [esi + 0xf0]
mov dword [ebp + 0xc], ecx
call fcn.00416e36
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0xf8], eax
lea edx, [esi + 0xf0]
call fcn.00416e36
mov dword [esi + 0xf8], eax
push dword [ebx + 0x20]
lea eax, [ebx + 0x18]
push eax
call fcn.00416de8
pop ecx
pop ecx
push 0xa
cdq
pop ecx
idiv ecx
cmp eax, 0x33
jne 0x787b8b
push dword [ebx + 0x38]
lea eax, [ebx + 0x30]
push eax
call fcn.00416de8
push dword [ebx + 0x50]
mov dword [ebp + 0xc], eax
push edi
call fcn.00416de8
fild dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
add esp, 0x10
fmul qword [0xb00ae8]
fild dword [ebp - 0x14]
fmul qword [0xb05538]
jmp 0x787c25
push dword [ebx + 0x50]
lea edi, [ebx + 0x48]
push edi
call fcn.00416de8
push dword [ebx + 0x38]
mov dword [ebp + 0xc], eax
lea eax, [ebx + 0x30]
push eax
call fcn.00416de8
mov ecx, eax
mov eax, dword [ebp + 0xc]
cdq
sub eax, edx
mov dword [ebp + 0xc], eax
mov eax, ecx
add esp, 0x10
push 4
cdq
pop ecx
idiv ecx
sar dword [ebp + 0xc], 1
mov ecx, dword [ebp + 0xc]
lea edx, [esi + 0xf0]
add ecx, eax
call fcn.00416e36
cmp dword [ebp - 0x14], 3
mov dword [esi + 0xf8], eax
je 0x787bf5
cmp dword [ebp - 0x14], 4
je 0x787bf5
push dword [ebx + 0x38]
lea eax, [ebx + 0x30]
push eax
call fcn.00416de8
push dword [ebx + 0x50]
mov dword [ebp + 0xc], eax
push edi
call fcn.00416de8
fild dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
add esp, 0x10
fmul qword [0xafec18]
fild dword [ebp - 0x14]
fmul qword [0xafec20]
jmp 0x787c25
push dword [ebx + 0x20]
lea eax, [ebx + 0x18]
push eax
call fcn.00416de8
pop ecx
pop ecx
push 0xa
cdq
pop ecx
idiv ecx
push dword [ebx + 0x38]
cmp eax, 0x34
lea eax, [ebx + 0x30]
push eax
jne 0x787bd0
call fcn.00416de8
push dword [ebx + 0x50]
mov dword [ebp - 0x14], eax
push edi
call fcn.00416de8
mov dword [ebp + 0xc], eax
fild dword [ebp + 0xc]
add esp, 0x10
fmul qword [0xb05538]
fild dword [ebp - 0x14]
jmp 0x787c1f
call fcn.00416de8
push dword [ebx + 0x50]
mov dword [ebp - 0x14], eax
push edi
call fcn.00416de8
mov dword [ebp + 0xc], eax
fild dword [ebp + 0xc]
add esp, 0x10
fmul qword [0xb05538]
fild dword [ebp - 0x14]
jmp 0x787c1f
push dword [ebx + 0x38]
lea eax, [ebx + 0x30]
push eax
call fcn.00416de8
push dword [ebx + 0x50]
mov dword [ebp - 0x14], eax
push edi
call fcn.00416de8
mov dword [ebp + 0xc], eax
fild dword [ebp + 0xc]
add esp, 0x10
fmul qword [0xb05538]
fild dword [ebp - 0x14]
fmul qword [0xb04f78]
faddp st(1)
call fcn.00a70f94
lea edx, [esi + 0xc0]
mov ecx, eax
call fcn.00416e36
mov dword [esi + 0xc8], eax
push dword [ebx + 0x44]
lea eax, [ebx + 0x3c]
push eax
call fcn.00416de8
push dword [ebx + 0x38]
mov dword [ebp - 0x14], eax
lea eax, [ebx + 0x30]
push eax
call fcn.00416de8
push dword [ebx + 0x50]
mov dword [ebp + 0xc], eax
push edi
call fcn.00416de8
mov ecx, dword [ebp + 0xc]
add ecx, eax
add ecx, dword [ebp - 0x14]
add esp, 0x18
lea edx, [esi + 0x120]
call fcn.00416e36
push 0x64
lea edx, [esi + 0x150]
pop ecx
mov dword [esi + 0x128], eax
call fcn.00416e36
push 0x64
lea edx, [esi + 0x180]
pop ecx
mov dword [esi + 0x158], eax
call fcn.00416e36
push dword [ebp + 8]
mov dword [esi + 0x188], eax
call fcn.00771edf
or dword [ebp + 0xc], 0xffffffff
pop ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffe2
jge 0x787cce
mov edi, dword [ebp + 0x18]
lea ecx, [eax*8 + 0xf0]
jmp 0x787cd6
mov edi, dword [ebp + 0x14]
mov ecx, eax
shl ecx, 3
sub edi, ecx
cmp dword [edi + 4], 0
jne 0x787d77
cmp eax, 0xfffffff5
jne 0x787ff5
push dword [ebx + 0x20]
lea eax, [ebx + 0x18]
push eax
call fcn.00416de8
pop ecx
cdq
pop ecx
mov ecx, 0x3e8
idiv ecx
push 0x64
pop ecx
mov eax, edx
cdq
idiv ecx
cmp eax, 5
jne 0x787ff5
push dword [ebx + 0x14]
lea edi, [ebx + 0xc]
push edi
call fcn.00416de8
cmp eax, 0x1e
pop ecx
pop ecx
jg 0x787d44
push dword [ebx + 0x14]
push edi
call fcn.00416de8
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
pop ecx
pop ecx
fmul qword [0xb06458]
fadd qword [0xb04f48]
jmp 0x787d4a
fld qword [0xb06450]
push dword [esi + 8]
fstp qword [ebp - 0x2c]
push esi
call fcn.00416de8
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
pop ecx
pop ecx
fadd qword [ebp - 0x2c]
call fcn.00a70f94
mov edx, esi
mov ecx, eax
call fcn.00416e36
mov dword [esi + 8], eax
jmp 0x787ff5
cmp eax, 0xffffffea
je 0x787ff5
cmp dword [ebp + 0xc], 0xffffffe8
je 0x787ff5
cmp dword [ebp + 0xc], 0xffffffe9
je 0x787ff5
cmp dword [ebp + 0xc], 0xffffffe7
je 0x787ff5
mov ecx, esi
call fcn.00732ad3
test eax, eax
jne 0x787dc7
cmp dword [ebp + 0xc], 0xffffffee
je 0x787ff5
cmp dword [ebp + 0xc], 0xffffffed
je 0x787ff5
cmp dword [ebp + 0xc], 0xffffffec
je 0x787ff5
push dword [esi + 8]
mov edi, dword [edi + 4]
push esi
call fcn.00416de8
push dword [edi + 0x68]
mov dword [ebp - 0x14], eax
lea eax, [edi + 0x64]
push eax
call fcn.0047376f
movsx ecx, ax
add ecx, dword [ebp - 0x14]
add esp, 0x10
mov edx, esi
call fcn.00416e36
cmp dword [ebp + 0xc], 0xfffffff6
mov dword [esi + 8], eax
push dword [edi + 0x78]
lea eax, [edi + 0x74]
push eax
jne 0x787e18
call fcn.0047376f
movsx eax, ax
imul eax, dword [ebp - 0x24]
pop ecx
pop ecx
push 0x64
cdq
pop ecx
idiv ecx
jmp 0x787e22
call fcn.0047376f
pop ecx
pop ecx
movsx eax, ax
push dword [esi + 0x38]
mov dword [ebp - 0x14], eax
lea eax, [esi + 0x30]
push eax
call fcn.00416de8
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
add ecx, eax
lea edx, [esi + 0x30]
call fcn.00416e36
push dword [esi + 0x68]
mov dword [esi + 0x38], eax
lea eax, [esi + 0x60]
push eax
call fcn.00416de8
push dword [edi + 0x70]
mov dword [ebp - 0x14], eax
lea eax, [edi + 0x6c]
push eax
call fcn.0047376f
movsx ecx, ax
add ecx, dword [ebp - 0x14]
add esp, 0x10
lea edx, [esi + 0x60]
call fcn.00416e36
push dword [esi + 0x98]
mov dword [esi + 0x68], eax
lea eax, [esi + 0x90]
push eax
call fcn.00416de8
push dword [edi + 0x80]
mov dword [ebp - 0x14], eax
lea eax, [edi + 0x7c]
push eax
call fcn.0047376f
movsx ecx, ax
add ecx, dword [ebp - 0x14]
add esp, 0x10
lea edx, [esi + 0x90]
call fcn.00416e36
push dword [esi + 0xc8]
mov dword [esi + 0x98], eax
lea eax, [esi + 0xc0]
push eax
call fcn.00416de8
push dword [edi + 0x88]
mov dword [ebp - 0x14], eax
lea eax, [edi + 0x84]
push eax
call fcn.0047376f
movsx ecx, ax
add ecx, dword [ebp - 0x14]
add esp, 0x10
lea edx, [esi + 0xc0]
call fcn.00416e36
push dword [esi + 0xf8]
mov dword [esi + 0xc8], eax
lea eax, [esi + 0xf0]
push eax
call fcn.00416de8
push dword [edi + 0x90]
mov dword [ebp - 0x14], eax
lea eax, [edi + 0x8c]
push eax
call fcn.0047376f
movsx ecx, ax
add ecx, dword [ebp - 0x14]
add esp, 0x10
lea edx, [esi + 0xf0]
call fcn.00416e36
push dword [esi + 0x128]
mov dword [esi + 0xf8], eax
lea eax, [esi + 0x120]
push eax
call fcn.00416de8
push dword [edi + 0x98]
mov dword [ebp - 0x14], eax
lea eax, [edi + 0x94]
push eax
call fcn.0047376f
movsx ecx, ax
add ecx, dword [ebp - 0x14]
add esp, 0x10
lea edx, [esi + 0x120]
call fcn.00416e36
push dword [esi + 0x158]
mov dword [esi + 0x128], eax
lea eax, [esi + 0x150]
push eax
call fcn.00416de8
push dword [edi + 0xa0]
mov dword [ebp - 0x14], eax
lea eax, [edi + 0x9c]
push eax
call fcn.0047376f
movsx ecx, ax
add ecx, dword [ebp - 0x14]
add esp, 0x10
lea edx, [esi + 0x150]
call fcn.00416e36
push dword [esi + 0x188]
mov dword [esi + 0x158], eax
lea eax, [esi + 0x180]
push eax
call fcn.00416de8
push dword [edi + 0xa8]
add edi, 0xa4
push edi
mov dword [ebp - 0x14], eax
call fcn.0047376f
movsx ecx, ax
add ecx, dword [ebp - 0x14]
add esp, 0x10
lea edx, [esi + 0x180]
call fcn.00416e36
mov dword [esi + 0x188], eax
dec dword [ebp + 0xc]
cmp dword [ebp + 0xc], 0xffffffc4
jge 0x787cba
mov ecx, dword [0xbd8fec]
and dword [ebp - 0x10], 0
push 0xbe1314
push 0x2dc6c0
push dword [ebp + 8]
call fcn.0076eacd
test eax, eax
mov dword [ebp + 0xc], eax
je 0x78806f
push dword [esi + 0xc8]
lea edi, [esi + 0xc0]
push edi
call fcn.00416de8
pop ecx
pop ecx
push dword [ebp + 0xc]
mov ecx, dword [0xbe1314]
mov dword [ebp + 0x18], eax
call fcn.0076e2fa
push dword [eax + 0x144]
add eax, 0x13c
push eax
call fcn.00416de8
pop ecx
pop ecx
mov ecx, dword [ebp + 0x18]
add ecx, eax
mov edx, edi
call fcn.00416e36
mov dword [esi + 0xc8], eax
mov ecx, dword [0xbd8fec]
push 0xbe1318
push 0x3d0900
push dword [ebp + 8]
call fcn.0076eacd
test eax, eax
mov dword [ebp + 0xc], eax
je 0x788126
push dword [esi + 0xc8]
lea edi, [esi + 0xc0]
push edi
call fcn.00416de8
pop ecx
pop ecx
push dword [ebp + 0xc]
mov ecx, dword [0xbe1318]
mov dword [ebp + 0x18], eax
call fcn.0076e2fa
push dword [eax + 0x144]
add eax, 0x13c
push eax
call fcn.00416de8
pop ecx
pop ecx
mov ecx, dword [ebp + 0x18]
add ecx, eax
mov edx, edi
call fcn.00416e36
push dword [esi + 0xf8]
lea edi, [esi + 0xf0]
push edi
mov dword [esi + 0xc8], eax
call fcn.00416de8
pop ecx
pop ecx
push dword [ebp + 0xc]
mov ecx, dword [0xbe1318]
mov dword [ebp + 0x18], eax
call fcn.0076e2fa
push dword [eax + 0x150]
add eax, 0x148
push eax
call fcn.00416de8
pop ecx
pop ecx
mov ecx, dword [ebp + 0x18]
add ecx, eax
mov edx, edi
call fcn.00416e36
mov dword [esi + 0xf8], eax
mov ecx, dword [0xbd8fec]
push 0xbe1328
push 0xd59f80
push dword [ebp + 8]
call fcn.0076eacd
test eax, eax
mov dword [ebp + 0xc], eax
je 0x7881dd
push dword [esi + 0xc8]
lea edi, [esi + 0xc0]
push edi
call fcn.00416de8
pop ecx
pop ecx
push dword [ebp + 0xc]
mov ecx, dword [0xbe1328]
mov dword [ebp + 0x18], eax
call fcn.0076e2fa
push dword [eax + 0x144]
add eax, 0x13c
push eax
call fcn.00416de8
pop ecx
pop ecx
mov ecx, dword [ebp + 0x18]
add ecx, eax
mov edx, edi
call fcn.00416e36
push dword [esi + 0xf8]
lea edi, [esi + 0xf0]
push edi
mov dword [esi + 0xc8], eax
call fcn.00416de8
pop ecx
pop ecx
push dword [ebp + 0xc]
mov ecx, dword [0xbe1328]
mov dword [ebp + 0x18], eax
call fcn.0076e2fa
push dword [eax + 0x150]
add eax, 0x148
push eax
call fcn.00416de8
pop ecx
pop ecx
mov ecx, dword [ebp + 0x18]
add ecx, eax
mov edx, edi
call fcn.00416e36
mov dword [esi + 0xf8], eax
mov ecx, dword [0xbd8fec]
push 0xbe131c
push 0x4c4b40
push dword [ebp + 8]
call fcn.0076eacd
test eax, eax
mov dword [ebp + 0xc], eax
je 0x788294
push dword [esi + 0xc8]
lea edi, [esi + 0xc0]
push edi
call fcn.00416de8
pop ecx
pop ecx
push dword [ebp + 0xc]
mov ecx, dword [0xbe131c]
mov dword [ebp + 0x18], eax
call fcn.0076e2fa
push dword [eax + 0x144]
add eax, 0x13c
push eax
call fcn.00416de8
pop ecx
pop ecx
mov ecx, dword [ebp + 0x18]
add ecx, eax
mov edx, edi
call fcn.00416e36
push dword [esi + 0xf8]
lea edi, [esi + 0xf0]
push edi
mov dword [esi + 0xc8], eax
call fcn.00416de8
pop ecx
pop ecx
push dword [ebp + 0xc]
mov ecx, dword [0xbe131c]
mov dword [ebp + 0x18], eax
call fcn.0076e2fa
push dword [eax + 0x150]
add eax, 0x148
push eax
call fcn.00416de8
pop ecx
pop ecx
mov ecx, dword [ebp + 0x18]
add ecx, eax
mov edx, edi
call fcn.00416e36
mov dword [esi + 0xf8], eax
mov ecx, dword [0xbd8fec]
push 0xbe1320
push 0xe4e1c0
push dword [ebp + 8]
call fcn.0076eacd
test eax, eax
mov dword [ebp + 0xc], eax
je 0x78834b
push dword [esi + 0xc8]
lea edi, [esi + 0xc0]
push edi
call fcn.00416de8
pop ecx
pop ecx
push dword [ebp + 0xc]
mov ecx, dword [0xbe1320]
mov dword [ebp + 0x18], eax
call fcn.0076e2fa
push dword [eax + 0x144]
add eax, 0x13c
push eax
call fcn.00416de8
pop ecx
pop ecx
mov ecx, dword [ebp + 0x18]
add ecx, eax
mov edx, edi
call fcn.00416e36
push dword [esi + 0xf8]
lea edi, [esi + 0xf0]
push edi
mov dword [esi + 0xc8], eax
call fcn.00416de8
pop ecx
pop ecx
push dword [ebp + 0xc]
mov ecx, dword [0xbe1320]
mov dword [ebp + 0x18], eax
call fcn.0076e2fa
push dword [eax + 0x150]
add eax, 0x148
push eax
call fcn.00416de8
pop ecx
pop ecx
mov ecx, dword [ebp + 0x18]
add ecx, eax
mov edx, edi
call fcn.00416e36
mov dword [esi + 0xf8], eax
mov edi, dword [ebp + 8]
push dword [edi + 0x3d]
lea eax, [edi + 0x39]
push eax
call fcn.0047376f
pop ecx
movsx eax, ax
pop ecx
lea ecx, [ebp - 0x10]
push ecx
cdq
mov ecx, 0x3e8
idiv ecx
mov ecx, dword [0xbd8fec]
imul eax, eax, 0x989680
add eax, 0xc
push eax
push edi
call fcn.0076eacd
test eax, eax
mov dword [ebp + 0xc], eax
je 0x788490
push dword [esi + 8]
push esi
call fcn.00416de8
pop ecx
pop ecx
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov edi, eax
call fcn.0076e2fa
push dword [eax + 0x144]
add eax, 0x13c
push eax
call fcn.00416de8
pop ecx
pop ecx
lea ecx, [eax + edi]
mov edx, esi
call fcn.00416e36
push dword [esi + 0x68]
lea edi, [esi + 0x60]
push edi
mov dword [esi + 8], eax
call fcn.00416de8
pop ecx
pop ecx
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [ebp + 0x18], eax
call fcn.0076e2fa
push dword [eax + 0x150]
add eax, 0x148
push eax
call fcn.00416de8
pop ecx
pop ecx
mov ecx, dword [ebp + 0x18]
add ecx, eax
mov edx, edi
call fcn.00416e36
push dword [esi + 0xc8]
lea edi, [esi + 0xc0]
push edi
mov dword [esi + 0x68], eax
call fcn.00416de8
pop ecx
pop ecx
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [ebp + 0x18], eax
call fcn.0076e2fa
push dword [eax + 0x15c]
add eax, 0x154
push eax
call fcn.00416de8
pop ecx
pop ecx
mov ecx, dword [ebp + 0x18]
add ecx, eax
mov edx, edi
call fcn.00416e36
push dword [esi + 0xf8]
lea edi, [esi + 0xf0]
push edi
mov dword [esi + 0xc8], eax
call fcn.00416de8
pop ecx
pop ecx
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [ebp + 0x18], eax
call fcn.0076e2fa
push dword [eax + 0x15c]
add eax, 0x154
push eax
call fcn.00416de8
pop ecx
pop ecx
mov ecx, dword [ebp + 0x18]
add ecx, eax
mov edx, edi
call fcn.00416e36
mov dword [esi + 0xf8], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x5c]
xor edi, edi
cmp eax, edi
je 0x7884a1
add eax, 0xc
jmp 0x7884b4
push edi
lea ecx, [ebp - 0x30]
call fcn.004b69f4
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], edi
mov ecx, eax
call fcn.00429944
or dword [ebp - 4], 0xffffffff
test byte [ebp - 0x18], 1
mov dword [ebp + 0xc], eax
je 0x7884da
cmp dword [ebp - 0x28], edi
je 0x7884da
push dword [ebp - 0x28]
mov ecx, 0xbe1de0
call fcn.00402eee
push dword [ebx + 0x20]
xor eax, eax
lea edi, [ebx + 0x18]
push edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp + 0x14], eax
call fcn.00416de8
pop ecx
cdq
pop ecx
mov ecx, 0x3e8
idiv ecx
push 0x64
pop ecx
mov eax, edx
cdq
idiv ecx
cmp eax, 3
je 0x788534
push dword [ebx + 0x20]
push edi
call fcn.00416de8
pop ecx
pop ecx
push 0xa
cdq
pop ecx
idiv ecx
cmp eax, 0x29
je 0x788534
push dword [ebx + 0x20]
push edi
call fcn.00416de8
pop ecx
pop ecx
push 0xa
cdq
pop ecx
idiv ecx
cmp eax, 0x34
jne 0x78853b
mov dword [ebp + 0x14], 1
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00771b0b
add esp, 0x18
test eax, eax
je 0x78859a
push dword [esi + 0xc8]
lea edi, [esi + 0xc0]
push edi
call fcn.00416de8
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
add ecx, eax
mov edx, edi
call fcn.00416e36
push dword [esi + 8]
mov dword [esi + 0xc8], eax
push esi
call fcn.00416de8
pop ecx
pop ecx
mov ecx, dword [ebp - 0x20]
add ecx, eax
mov edx, esi
call fcn.00416e36
mov dword [esi + 8], eax
push dword [esi + 0x158]
lea edi, [esi + 0x150]
push edi
call fcn.00416de8
push dword [ebp + 8]
mov ebx, eax
call fcn.00772ee6
add eax, ebx
add esp, 0xc
mov edx, edi
mov ecx, eax
call fcn.00416e36
mov ebx, dword [ebp + 0x10]
mov dword [esi + 0x158], eax
push dword [ebx + 0x38]
lea edi, [ebx + 0x30]
push edi
call fcn.00416de8
test eax, eax
pop ecx
pop ecx
jle 0x7885f6
push dword [ebx + 0x38]
push edi
call fcn.00416de8
pop ecx
pop ecx
mov edx, esi
mov ecx, eax
call fcn.00416e36
mov dword [esi + 8], eax
push dword [ebx + 0x44]
lea edi, [ebx + 0x3c]
push edi
call fcn.00416de8
test eax, eax
pop ecx
pop ecx
jle 0x788620
push dword [ebx + 0x44]
push edi
call fcn.00416de8
pop ecx
pop ecx
lea edx, [esi + 0x30]
mov ecx, eax
call fcn.00416e36
mov dword [esi + 0x38], eax
push dword [ebx + 0x50]
lea edi, [ebx + 0x48]
push edi
call fcn.00416de8
test eax, eax
pop ecx
pop ecx
jle 0x78864a
push dword [ebx + 0x50]
push edi
call fcn.00416de8
pop ecx
pop ecx
lea edx, [esi + 0x60]
mov ecx, eax
call fcn.00416e36
mov dword [esi + 0x68], eax
push dword [ebx + 0x5c]
lea edi, [ebx + 0x54]
push edi
call fcn.00416de8
test eax, eax
pop ecx
pop ecx
jle 0x78867a
push dword [ebx + 0x5c]
push edi
call fcn.00416de8
pop ecx
pop ecx
lea edx, [esi + 0x90]
mov ecx, eax
call fcn.00416e36
mov dword [esi + 0x98], eax
push dword [ebx + 0x68]
lea edi, [ebx + 0x60]
push edi
call fcn.00416de8
test eax, eax
pop ecx
pop ecx
jle 0x7886aa
push dword [ebx + 0x68]
push edi
call fcn.00416de8
pop ecx
pop ecx
lea edx, [esi + 0xc0]
mov ecx, eax
call fcn.00416e36
mov dword [esi + 0xc8], eax
push dword [ebx + 0x74]
lea edi, [ebx + 0x6c]
push edi
call fcn.00416de8
test eax, eax
pop ecx
pop ecx
jle 0x7886da
push dword [ebx + 0x74]
push edi
call fcn.00416de8
pop ecx
pop ecx
lea edx, [esi + 0xf0]
mov ecx, eax
call fcn.00416e36
mov dword [esi + 0xf8], eax
push dword [ebx + 0x80]
lea edi, [ebx + 0x80]
lea eax, [ebx + 0x78]
push eax
call fcn.00416de8
test eax, eax
pop ecx
pop ecx
jle 0x788715
push dword [edi]
lea eax, [ebx + 0x78]
push eax
call fcn.00416de8
pop ecx
pop ecx
lea edx, [esi + 0x150]
mov ecx, eax
call fcn.00416e36
mov dword [esi + 0x158], eax
push dword [ebx + 0x8c]
lea edi, [ebx + 0x8c]
lea eax, [ebx + 0x84]
push eax
call fcn.00416de8
test eax, eax
pop ecx
pop ecx
jle 0x788756
push dword [edi]
lea eax, [ebx + 0x84]
push eax
call fcn.00416de8
pop ecx
pop ecx
lea edx, [esi + 0x180]
mov ecx, eax
call fcn.00416e36
mov dword [esi + 0x188], eax
push dword [esi + 8]
push esi
call fcn.00416de8
test eax, eax
pop ecx
pop ecx
jle 0x788769
mov ecx, eax
jmp 0x78876b
xor ecx, ecx
mov edi, 0x7cf
cmp ecx, edi
jl 0x788776
mov ecx, edi
mov edx, esi
call fcn.00416e36
push dword [esi + 0x38]
mov dword [esi + 8], eax
lea eax, [esi + 0x30]
push eax
call fcn.00416de8
test eax, eax
pop ecx
pop ecx
jg 0x788794
xor eax, eax
cmp eax, edi
mov ecx, eax
jl 0x78879c
mov ecx, edi
lea edx, [esi + 0x30]
call fcn.00416e36
push dword [esi + 0x68]
mov dword [esi + 0x38], eax
lea eax, [esi + 0x60]
push eax
call fcn.00416de8
test eax, eax
pop ecx
pop ecx
jg 0x7887bb
xor eax, eax
cmp eax, edi
mov ecx, eax
jl 0x7887c3
mov ecx, edi
lea edx, [esi + 0x60]
call fcn.00416e36
push dword [esi + 0x98]
mov dword [esi + 0x68], eax
lea eax, [esi + 0x90]
push eax
call fcn.00416de8
test eax, eax
pop ecx
pop ecx
jg 0x7887e8
xor eax, eax
cmp eax, edi
mov ecx, eax
jl 0x7887f0
mov ecx, edi
lea edx, [esi + 0x90]
call fcn.00416e36
push dword [esi + 0xc8]
lea edi, [esi + 0xc0]
push edi
mov dword [esi + 0x98], eax
call fcn.00416de8
test eax, eax
pop ecx
pop ecx
jg 0x78881b
xor eax, eax
mov ecx, 0x3e7
cmp eax, ecx
jge 0x788826
mov ecx, eax
mov edx, edi
call fcn.00416e36
push dword [esi + 0xf8]
lea edi, [esi + 0xf0]
push edi
mov dword [esi + 0xc8], eax
call fcn.00416de8
test eax, eax
pop ecx
pop ecx
jg 0x78884d
xor eax, eax
mov ecx, 0x3e7
cmp eax, ecx
jge 0x788858
mov ecx, eax
mov edx, edi
call fcn.00416e36
lea edi, [ebx + 0x98]
mov dword [esi + 0xf8], eax
push dword [edi]
add ebx, 0x90
push ebx
call fcn.00416de8
test eax, eax
pop ecx
pop ecx
je 0x78888e
push dword [edi]
push ebx
call fcn.00416de8
pop ecx
pop ecx
mov dword [ebp + 8], eax
jmp 0x788895
mov dword [ebp + 8], 0x8c
push dword [esi + 0x158]
lea edi, [esi + 0x150]
push edi
call fcn.00416de8
pop ecx
pop ecx
push 0x64
pop ebx
cmp eax, ebx
jg 0x7888b2
mov eax, ebx
mov ecx, dword [ebp + 8]
cmp eax, ecx
jge 0x7888bb
mov ecx, eax
mov edx, edi
call fcn.00416e36
push dword [esi + 0x188]
lea edi, [esi + 0x180]
push edi
mov dword [esi + 0x158], eax
call fcn.00416de8
cmp eax, ebx
pop ecx
pop ecx
jg 0x7888e2
mov eax, ebx
cmp eax, 0x7b
jl 0x7888ea
push 0x7b
pop eax
mov edx, edi
mov ecx, eax
call fcn.00416e36
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [esi + 0x188], eax
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14