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

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xc8
push ebx
push esi
xor esi, esi
push edi
mov ebx, ecx
mov dword [ebp + 0x74], esi
call fcn.0078937f
cmp dword [ebx + 8], esi
mov dword [ebp + 0x64], esi
mov dword [ebp + 0x38], esi
jbe 0x78d9a7
mov edx, dword [ebx + 0x60]
mov ecx, dword [ebx + 0x14]
mov esi, dword [ebx + 8]
mov eax, dword [ecx]
cmp edx, dword [eax]
jne 0x78d9a1
mov eax, dword [eax + 8]
cmp dword [ebp + 0x64], eax
ja 0x78d9a1
inc eax
mov dword [ebp + 0x64], eax
add ecx, 4
dec esi
jne 0x78d98f
test byte [ebx + 0x90], 1
je 0x78daf8
mov ecx, dword [ebx + 0xc]
xor eax, eax
test ecx, ecx
mov dword [ebp + 0x50], ecx
mov dword [ebp + 0x5c], eax
jbe 0x78daf8
mov ecx, dword [ebx + 0x18]
mov esi, dword [ecx + eax*4]
mov ecx, esi
call fcn.00785538
test eax, eax
jne 0x78dae8
mov eax, dword [esi + 0xc]
test eax, eax
je 0x78dae8
mov edx, dword [esi + 0x10]
mov edx, dword [edx]
mov ecx, dword [ebx + 0x14]
mov edx, dword [ecx + edx*4]
mov edx, dword [edx]
mov edi, dword [ebx + 0x10]
mov edx, dword [edi + edx*4]
test byte [edx + 4], 0x10
je 0x78dae8
xor edx, edx
cmp edx, dword [esi + 4]
jae 0x78da2b
mov edi, dword [esi + 8]
mov dword [ebp + 0x68], edi
mov edi, dword [ebp + 0x68]
mov edi, dword [edi]
mov edi, dword [ecx + edi*4]
cmp edx, dword [edi + 0xc]
jne 0x78da28
add dword [ebp + 0x68], 4
inc edx
cmp edx, dword [esi + 4]
jb 0x78da11
cmp edx, dword [esi + 4]
je 0x78dae8
push 0xffffffffffffffff
and eax, 0xffffff
push 0xffffffffffffffff
or eax, 0x10000000
push eax
mov ecx, ebx
call fcn.00784f82
cmp eax, 0xffffffff
je 0x78ed18
mov ecx, dword [ebx + 0x18]
mov eax, dword [ecx + eax*4]
push esi
mov ecx, eax
mov dword [ebp + 0x68], eax
call fcn.007854e4
and dword [ebp + 0x6c], 0
cmp dword [esi + 0xc], 0
jbe 0x78dade
mov eax, dword [ebp + 0x6c]
fldz
mov ecx, dword [esi + 0x10]
mov edx, dword [ebp + 0x68]
mov edx, dword [edx + 0x10]
mov edi, eax
shl edi, 2
mov ecx, dword [edi + ecx]
push ecx
push ecx
fstp qword [esp]
push eax
push dword [ebp + 0x64]
mov dword [edi + edx], ecx
push dword [ebx + 0x60]
mov ecx, ebx
call fcn.00784f26
mov ecx, dword [esi + 0x10]
mov dword [edi + ecx], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [ebp + 0x68]
mov edx, dword [eax + 8]
mov ecx, dword [edi + ecx]
mov dword [edi + edx], ecx
mov eax, dword [eax + 8]
mov ecx, dword [edi + eax]
cmp ecx, 0xffffffff
je 0x78ed18
mov edx, dword [ebp + 0x68]
mov edx, dword [edx + 0x10]
mov eax, dword [ebx + 0x14]
mov edx, dword [edi + edx]
mov edx, dword [eax + edx*4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [edx + 0x18]
inc dword [ebp + 0x6c]
mov dword [eax + 0x18], ecx
mov eax, dword [ebp + 0x6c]
cmp eax, dword [esi + 0xc]
jb 0x78da6b
inc dword [ebp + 0x64]
mov dword [ebp + 0x74], 1
mov eax, dword [ebp + 0x5c]
inc eax
cmp eax, dword [ebp + 0x50]
mov dword [ebp + 0x5c], eax
jb 0x78d9c7
test byte [ebx + 0x93], 2
je 0x78dc61
and dword [ebp + 0x70], 0
cmp dword [ebx + 0xc], 0
jbe 0x78dc61
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebp + 0x70]
mov esi, dword [eax + ecx*4]
mov ecx, esi
mov dword [ebp + 0x5c], esi
call fcn.007855e7
test eax, eax
je 0x78dc52
lea ecx, [ebp + 0x60]
xor eax, eax
inc eax
push ecx
mov dword [ebp + 0x68], eax
push eax
mov ecx, esi
jmp 0x78dc42
xor ecx, ecx
test eax, eax
jbe 0x78db5c
mov edx, dword [ebx + 0x14]
mov esi, dword [ebp + 0x60]
mov esi, dword [esi + ecx*4]
mov esi, dword [edx + esi*4]
cmp dword [esi + 0xc], ecx
jne 0x78db5c
inc ecx
cmp ecx, eax
jb 0x78db49
cmp ecx, eax
je 0x78dc35
mov eax, dword [ebp + 0x58]
push 0xffffffffffffffff
and eax, 0xffffff
push 0xffffffffffffffff
or eax, 0x10000000
push eax
mov ecx, ebx
call fcn.00784f82
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp + 0x50], edi
je 0x78ed18
mov eax, dword [ebx + 0x18]
mov esi, dword [eax + edi*4]
push dword [ebp + 0x5c]
mov ecx, esi
call fcn.007854e4
and dword [ebp + 0x6c], 0
cmp dword [ebp + 0x58], 0
jbe 0x78dc1d
mov ecx, dword [esi + 8]
fldz
mov eax, dword [ebp + 0x6c]
mov edx, dword [ebp + 0x60]
push ecx
push ecx
fstp qword [esp]
mov edi, eax
push eax
push dword [ebp + 0x64]
shl edi, 2
mov edx, dword [edi + edx]
mov dword [edi + ecx], edx
push dword [ebx + 0x60]
mov ecx, ebx
call fcn.00784f26
mov ecx, dword [ebp + 0x60]
mov dword [edi + ecx], eax
mov ecx, dword [ebp + 0x60]
mov eax, dword [esi + 0x10]
mov ecx, dword [edi + ecx]
mov dword [edi + eax], ecx
mov eax, dword [esi + 0x10]
mov ecx, dword [edi + eax]
cmp ecx, 0xffffffff
je 0x78ed18
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x14]
mov edx, dword [edi + edx]
mov edx, dword [eax + edx*4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [edx + 0x18]
inc dword [ebp + 0x6c]
mov dword [eax + 0x18], ecx
mov eax, dword [ebp + 0x6c]
cmp eax, dword [ebp + 0x58]
jb 0x78dba5
mov edi, dword [ebp + 0x50]
jmp 0x78dc1d
lea eax, [eax + edi*4]
mov ecx, dword [eax - 4]
mov dword [eax], ecx
dec edi
cmp edi, dword [ebp + 0x70]
mov eax, dword [ebx + 0x18]
ja 0x78dc14
inc dword [ebp + 0x70]
inc dword [ebp + 0x64]
mov dword [eax + edi*4], esi
mov dword [ebp + 0x74], 1
inc dword [ebp + 0x68]
mov ecx, dword [ebp + 0x5c]
lea eax, [ebp + 0x60]
push eax
push dword [ebp + 0x68]
call fcn.007854fe
test eax, eax
mov dword [ebp + 0x58], eax
jne 0x78db40
inc dword [ebp + 0x70]
mov eax, dword [ebp + 0x70]
cmp eax, dword [ebx + 0xc]
jb 0x78db13
and dword [ebp + 0x70], 0
cmp dword [ebx + 0xc], 0
jbe 0x78de03
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebp + 0x70]
mov edi, dword [eax + ecx*4]
mov eax, dword [edi]
and eax, 0xff000000
cmp eax, 0x34000000
mov dword [ebp + 0x5c], edi
jne 0x78ddf4
cmp dword [edi + 4], 4
jne 0x78dce0
mov eax, dword [edi + 8]
mov ecx, dword [ebx + 0x14]
mov edx, dword [eax]
mov edx, dword [ecx + edx*4]
mov esi, dword [ebx + 0x10]
mov dword [ebp + 0x50], edx
mov edx, dword [edx]
mov edx, dword [esi + edx*4]
test byte [edx + 5], 1
jne 0x78dce0
mov edx, dword [ebp + 0x50]
cmp dword [edx + 0xc], 0
jne 0x78dce0
mov edx, dword [eax + 4]
mov edx, dword [ecx + edx*4]
cmp dword [edx + 0xc], 1
jne 0x78dce0
mov edx, dword [eax + 8]
mov edx, dword [ecx + edx*4]
cmp dword [edx + 0xc], 2
jne 0x78dce0
mov eax, dword [eax + 0xc]
mov eax, dword [ecx + eax*4]
cmp dword [eax + 0xc], 3
je 0x78ddf4
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x10000004
mov ecx, ebx
call fcn.00784f82
push 0xffffffffffffffff
push 0xffffffffffffffff
mov esi, eax
push 0x34000004
mov ecx, ebx
mov dword [ebp + 0x50], esi
call fcn.00784f82
cmp esi, 0xffffffff
je 0x78ed18
cmp eax, 0xffffffff
je 0x78ed18
mov ecx, dword [ebx + 0x18]
mov esi, dword [ecx + esi*4]
mov eax, dword [ecx + eax*4]
push edi
mov ecx, esi
mov dword [ebp + 0x68], eax
call fcn.007854e4
mov ecx, dword [ebp + 0x68]
push edi
call fcn.007854e4
and dword [ebp + 0x74], 0
mov eax, dword [ebp + 0x5c]
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 0x74]
cmp edx, ecx
mov eax, dword [eax + 8]
jae 0x78dd4d
mov eax, dword [eax + edx*4]
jmp 0x78dd51
mov eax, dword [eax + ecx*4 - 4]
mov ecx, dword [ebp + 0x74]
fldz
mov edx, dword [esi + 8]
push ecx
push ecx
fstp qword [esp]
push ecx
push dword [ebp + 0x64]
mov edi, ecx
shl edi, 2
mov dword [edi + edx], eax
push dword [ebx + 0x60]
mov ecx, ebx
call fcn.00784f26
mov ecx, dword [ebp + 0x68]
mov edx, dword [ecx + 8]
mov dword [edi + edx], eax
mov eax, dword [ecx + 8]
mov ecx, dword [esi + 0x10]
mov eax, dword [edi + eax]
mov dword [edi + ecx], eax
mov eax, dword [esi + 0x10]
mov ecx, dword [edi + eax]
cmp ecx, 0xffffffff
je 0x78ed18
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x14]
mov edx, dword [edi + edx]
mov edx, dword [eax + edx*4]
mov eax, dword [eax + ecx*4]
inc dword [ebp + 0x74]
cmp dword [ebp + 0x74], 4
mov ecx, dword [edx + 0x18]
mov dword [eax + 0x18], ecx
jb 0x78dd38
mov ecx, dword [ebp + 0x50]
jmp 0x78ddc4
lea eax, [eax + ecx*4]
mov edx, dword [eax - 4]
mov dword [eax], edx
dec ecx
cmp ecx, dword [ebp + 0x70]
mov eax, dword [ebx + 0x18]
ja 0x78ddbb
mov edi, dword [ebp + 0x70]
mov ecx, dword [ebp + 0x5c]
mov dword [eax + edi*4], esi
xor esi, esi
inc esi
inc edi
push esi
mov dword [ebp + 0x70], edi
call fcn.00784bd1
dec dword [ebx + 0xc]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebp + 0x68]
inc dword [ebp + 0x64]
mov dword [eax + edi*4], ecx
mov dword [ebp + 0x74], esi
inc dword [ebp + 0x70]
mov eax, dword [ebp + 0x70]
cmp eax, dword [ebx + 0xc]
jb 0x78dc6f
test byte [ebx + 0x90], 6
je 0x78e35b
xor edx, edx
cmp dword [ebx + 0xc], edx
mov dword [ebp + 0x60], edx
jbe 0x78e030
mov eax, dword [ebx + 0x18]
mov esi, dword [eax + edx*4]
mov eax, dword [esi]
and eax, 0xff000000
cmp eax, 0x10000000
mov dword [ebp + 0x3c], esi
jne 0x78e023
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx]
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + ecx*4]
mov ecx, dword [ecx]
mov edi, dword [ebx + 0x10]
mov ecx, dword [edi + ecx*4]
test byte [ecx + 4], 0x10
jne 0x78e023
and dword [ebp + 0x6c], 0
cmp dword [esi + 0xc], 0
jbe 0x78de90
mov ecx, dword [esi + 8]
mov edi, dword [ecx]
mov edi, dword [eax + edi*4]
mov edi, dword [edi + 0x2c]
mov dword [ebp + 0x50], edi
mov dword [ebp + 0x68], ecx
mov ecx, dword [ebp + 0x68]
mov ecx, dword [ecx]
mov ecx, dword [eax + ecx*4]
mov edi, dword [ebp + 0x50]
cmp edi, dword [ecx + 0x2c]
jne 0x78de90
inc dword [ebp + 0x6c]
mov ecx, dword [ebp + 0x6c]
add dword [ebp + 0x68], 4
cmp ecx, dword [esi + 0xc]
jb 0x78de71
mov eax, dword [ebp + 0x6c]
cmp eax, dword [esi + 0xc]
je 0x78e023
mov eax, dword [esi + 4]
and dword [ebp + 0x70], 0
and dword [ebp + 0x74], 0
test eax, eax
jbe 0x78dfc5
mov edx, dword [ebp + 0x74]
mov ecx, dword [esi + 8]
lea edi, [ecx + edx*4]
mov edx, dword [edi]
cmp edx, 0xffffffff
je 0x78df9a
mov ecx, dword [ebx + 0x14]
mov edx, dword [ecx + edx*4]
mov edx, dword [edx + 0x2c]
mov dword [ebp + 0x54], edx
xor edx, edx
cmp dword [ebp + 0x74], eax
jae 0x78defe
sub eax, dword [ebp + 0x74]
mov dword [ebp + 0x68], edi
mov dword [ebp + 0x5c], eax
mov eax, dword [ebp + 0x68]
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x78def5
mov eax, dword [ecx + eax*4]
mov edi, dword [ebp + 0x54]
cmp edi, dword [eax + 0x2c]
jne 0x78def5
inc edx
add dword [ebp + 0x68], 4
dec dword [ebp + 0x5c]
jne 0x78dedf
push 0xffffffffffffffff
and edx, 0xffffff
push 0xffffffffffffffff
or edx, 0x10000000
push edx
mov ecx, ebx
call fcn.00784f82
cmp eax, 0xffffffff
je 0x78ed18
mov ecx, dword [ebx + 0x18]
mov edi, dword [ecx + eax*4]
push esi
mov ecx, edi
mov dword [ebp + 0x4c], edi
call fcn.007854e4
mov eax, dword [ebp + 0x74]
inc dword [ebp + 0x70]
cmp eax, dword [esi + 4]
mov dword [ebp + 0x6c], eax
jae 0x78df9a
and dword [ebp + 0x5c], 0
mov eax, dword [ebp + 0x6c]
mov ecx, dword [esi + 8]
shl eax, 2
mov ecx, dword [eax + ecx]
cmp ecx, 0xffffffff
je 0x78df8f
mov edx, dword [ebx + 0x14]
mov ecx, dword [edx + ecx*4]
mov edx, dword [ebp + 0x54]
cmp edx, dword [ecx + 0x2c]
jne 0x78df8f
mov edx, dword [edi + 0x10]
mov ecx, dword [esi + 0x10]
mov edi, dword [eax + ecx]
mov ecx, dword [ebp + 0x5c]
mov dword [ecx + edx], edi
mov edx, dword [esi + 8]
mov edi, dword [ebp + 0x4c]
mov edi, dword [edi + 8]
mov edx, dword [eax + edx]
mov dword [ecx + edi], edx
mov edx, dword [esi + 8]
or dword [eax + edx], 0xffffffff
mov edi, dword [ebp + 0x4c]
add ecx, 4
mov dword [ebp + 0x5c], ecx
inc dword [ebp + 0x6c]
mov eax, dword [ebp + 0x6c]
cmp eax, dword [esi + 4]
jb 0x78df42
inc dword [ebp + 0x74]
mov eax, dword [esi + 4]
cmp dword [ebp + 0x74], eax
jb 0x78deaf
cmp dword [ebp + 0x70], 0
jbe 0x78dfc5
mov ecx, dword [ebp + 0x70]
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x18]
sub eax, ecx
lea esi, [edx + eax*4]
lea edi, [ebp]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x3c]
mov eax, dword [ebx + 0xc]
dec eax
cmp eax, dword [ebp + 0x60]
jbe 0x78dfe8
mov edx, eax
sub edx, dword [ebp + 0x70]
shl edx, 2
mov ecx, dword [ebx + 0x18]
mov edi, dword [ecx + edx]
sub edx, 4
dec eax
cmp eax, dword [ebp + 0x60]
mov dword [ecx + eax*4], edi
ja 0x78dfd6
xor eax, eax
cmp dword [ebp + 0x70], eax
jbe 0x78e008
mov ecx, dword [ebp + 0x60]
shl ecx, 2
mov edi, dword [ebp + eax*4]
mov edx, dword [ebx + 0x18]
mov dword [ecx + edx], edi
inc eax
add ecx, 4
cmp eax, dword [ebp + 0x70]
jb 0x78dff5
xor edi, edi
inc edi
push edi
mov ecx, esi
call fcn.00784bd1
mov eax, dword [ebp + 0x60]
mov ecx, dword [ebp + 0x70]
dec dword [ebx + 0xc]
lea edx, [eax + ecx - 1]
mov dword [ebp + 0x74], edi
inc edx
cmp edx, dword [ebx + 0xc]
mov dword [ebp + 0x60], edx
jb 0x78de1e
and dword [ebp + 0x60], 0
cmp dword [ebx + 0xc], 0
jbe 0x78e35b
mov eax, dword [ebp + 0x60]
mov ecx, dword [ebx + 0x18]
shl eax, 2
mov edi, dword [eax + ecx]
mov eax, dword [edi]
and eax, 0xff000000
cmp eax, 0x10000000
mov dword [ebp + 0x50], edi
jne 0x78e34c
mov esi, dword [edi + 0x10]
mov eax, dword [ebx + 0x14]
mov ecx, dword [esi]
mov ecx, dword [eax + ecx*4]
mov ecx, dword [ecx]
mov edx, dword [ebx + 0x10]
mov ecx, dword [edx + ecx*4]
test byte [ecx + 4], 0x10
jne 0x78e34c
mov edx, dword [edi + 0xc]
xor ecx, ecx
and dword [ebp + 0x6c], ecx
and dword [ebp + 0x70], ecx
test edx, edx
jbe 0x78e0fa
mov edx, dword [edi + 8]
mov dword [ebp + 0x68], esi
sub dword [ebp + 0x68], edx
mov dword [ebp + 0x48], edx
mov edx, dword [ebp + 0x48]
mov esi, dword [edx]
mov esi, dword [eax + esi*4]
mov esi, dword [esi + 0xc]
mov dword [ebp + 0x5c], esi
mov esi, dword [ebp + 0x68]
mov edx, dword [esi + edx]
mov edx, dword [eax + edx*4]
mov edx, dword [edx + 0xc]
cmp edx, dword [ebp + 0x5c]
jne 0x78e0b7
inc ecx
and dword [ebp + 0x58], 0
cmp dword [ebp + 0x70], 0
jbe 0x78e0eb
mov edx, dword [edi + 8]
mov dword [ebp + 0x44], edx
mov edx, dword [ebp + 0x44]
mov edx, dword [edx]
mov edx, dword [eax + edx*4]
mov esi, dword [ebp + 0x5c]
cmp dword [edx + 0xc], esi
je 0x78e0e8
inc dword [ebp + 0x58]
mov edx, dword [ebp + 0x58]
add dword [ebp + 0x44], 4
cmp edx, dword [ebp + 0x70]
jb 0x78e0c7
jmp 0x78e0eb
inc dword [ebp + 0x6c]
inc dword [ebp + 0x70]
mov edx, dword [edi + 0xc]
add dword [ebp + 0x48], 4
cmp dword [ebp + 0x70], edx
jb 0x78e097
cmp ecx, edx
je 0x78e34c
mov eax, dword [ebp + 0x6c]
inc eax
cmp eax, edx
je 0x78e34c
cmp ecx, 1
ja 0x78e11d
cmp dword [ebp + 0x6c], 0
je 0x78e34c
and dword [ebp + 0x70], 0
cmp ecx, 1
jbe 0x78e1c6
push 0xffffffffffffffff
and ecx, 0xffffff
or ecx, 0x10000000
push 0xffffffffffffffff
push ecx
mov ecx, ebx
call fcn.00784f82
cmp eax, 0xffffffff
je 0x78ed18
mov ecx, dword [ebx + 0x18]
mov eax, dword [ecx + eax*4]
push edi
mov ecx, eax
mov dword [ebp + 0x5c], eax
call fcn.007854e4
xor eax, eax
cmp dword [edi + 0xc], eax
mov dword [ebp + 0x70], 1
mov dword [ebp + 0x6c], eax
jbe 0x78e1c6
mov dword [ebp + 0x54], eax
mov eax, dword [ebp + 0x6c]
mov esi, dword [edi + 8]
mov ecx, dword [edi + 0x10]
mov edx, dword [ebx + 0x14]
shl eax, 2
mov esi, dword [eax + esi]
mov esi, dword [edx + esi*4]
mov ecx, dword [eax + ecx]
mov edx, dword [edx + ecx*4]
mov edx, dword [edx + 0xc]
cmp edx, dword [esi + 0xc]
jne 0x78e1bb
mov edx, dword [ebp + 0x5c]
mov esi, dword [edx + 0x10]
mov edx, dword [ebp + 0x54]
mov dword [edx + esi], ecx
mov ecx, dword [edi + 8]
mov esi, dword [ebp + 0x5c]
mov ecx, dword [eax + ecx]
mov esi, dword [esi + 8]
mov dword [edx + esi], ecx
mov ecx, dword [edi + 8]
or dword [eax + ecx], 0xffffffff
add edx, 4
mov dword [ebp + 0x54], edx
inc dword [ebp + 0x6c]
mov eax, dword [ebp + 0x6c]
cmp eax, dword [edi + 0xc]
jb 0x78e170
mov eax, dword [edi + 4]
and dword [ebp + 0x74], 0
test eax, eax
jbe 0x78e2cf
mov edx, dword [ebp + 0x74]
mov ecx, dword [edi + 8]
lea esi, [ecx + edx*4]
mov edx, dword [esi]
cmp edx, 0xffffffff
je 0x78e2c0
mov ecx, dword [ebx + 0x14]
mov edx, dword [ecx + edx*4]
mov edx, dword [edx + 0xc]
mov dword [ebp + 0x54], edx
xor edx, edx
cmp dword [ebp + 0x74], eax
jae 0x78e224
sub eax, dword [ebp + 0x74]
mov dword [ebp + 0x48], esi
mov dword [ebp + 0x5c], eax
mov eax, dword [ebp + 0x48]
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x78e21b
mov eax, dword [ecx + eax*4]
mov esi, dword [ebp + 0x54]
cmp esi, dword [eax + 0xc]
jne 0x78e21b
inc edx
add dword [ebp + 0x48], 4
dec dword [ebp + 0x5c]
jne 0x78e205
push 0xffffffffffffffff
and edx, 0xffffff
push 0xffffffffffffffff
or edx, 0x10000000
push edx
mov ecx, ebx
call fcn.00784f82
cmp eax, 0xffffffff
je 0x78ed18
mov ecx, dword [ebx + 0x18]
mov esi, dword [ecx + eax*4]
push edi
mov ecx, esi
mov dword [ebp + 0x4c], esi
call fcn.007854e4
mov eax, dword [ebp + 0x74]
inc dword [ebp + 0x70]
cmp eax, dword [edi + 4]
mov dword [ebp + 0x6c], eax
jae 0x78e2c0
and dword [ebp + 0x5c], 0
mov eax, dword [ebp + 0x6c]
mov ecx, dword [edi + 8]
shl eax, 2
mov ecx, dword [eax + ecx]
cmp ecx, 0xffffffff
je 0x78e2b5
mov edx, dword [ebx + 0x14]
mov ecx, dword [edx + ecx*4]
mov edx, dword [ebp + 0x54]
cmp edx, dword [ecx + 0xc]
jne 0x78e2b5
mov edx, dword [esi + 0x10]
mov ecx, dword [edi + 0x10]
mov esi, dword [eax + ecx]
mov ecx, dword [ebp + 0x5c]
mov dword [ecx + edx], esi
mov edx, dword [edi + 8]
mov esi, dword [ebp + 0x4c]
mov esi, dword [esi + 8]
mov edx, dword [eax + edx]
mov dword [ecx + esi], edx
mov edx, dword [edi + 8]
or dword [eax + edx], 0xffffffff
mov esi, dword [ebp + 0x4c]
add ecx, 4
mov dword [ebp + 0x5c], ecx
inc dword [ebp + 0x6c]
mov eax, dword [ebp + 0x6c]
cmp eax, dword [edi + 4]
jb 0x78e268
inc dword [ebp + 0x74]
mov eax, dword [edi + 4]
cmp dword [ebp + 0x74], eax
jb 0x78e1d5
cmp dword [ebp + 0x70], 0
jbe 0x78e2eb
mov ecx, dword [ebp + 0x70]
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x18]
sub eax, ecx
lea esi, [edx + eax*4]
lea edi, [ebp]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 0x50]
mov eax, dword [ebx + 0xc]
dec eax
cmp eax, dword [ebp + 0x60]
jbe 0x78e30e
mov edx, eax
sub edx, dword [ebp + 0x70]
shl edx, 2
mov ecx, dword [ebx + 0x18]
mov esi, dword [ecx + edx]
sub edx, 4
dec eax
cmp eax, dword [ebp + 0x60]
mov dword [ecx + eax*4], esi
ja 0x78e2fc
xor eax, eax
cmp dword [ebp + 0x70], eax
jbe 0x78e32e
mov ecx, dword [ebp + 0x60]
shl ecx, 2
mov esi, dword [ebp + eax*4]
mov edx, dword [ebx + 0x18]
mov dword [ecx + edx], esi
inc eax
add ecx, 4
cmp eax, dword [ebp + 0x70]
jb 0x78e31b
xor esi, esi
inc esi
push esi
mov ecx, edi
call fcn.00784bd1
mov eax, dword [ebp + 0x60]
mov ecx, dword [ebp + 0x70]
dec dword [ebx + 0xc]
lea eax, [eax + ecx - 1]
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x74], esi
inc dword [ebp + 0x60]
mov eax, dword [ebp + 0x60]
cmp eax, dword [ebx + 0xc]
jb 0x78e03e
cmp dword [ebp + 0x74], 0
je 0x78e368
mov ecx, ebx
call fcn.0078937f
mov esi, dword [ebp + 0x64]
shl esi, 2
push esi
call fcn.0082119a
test eax, eax
pop ecx
mov dword [ebp + 0x38], eax
je 0x78ed18
mov ecx, esi
mov esi, dword [ebp + 0x38]
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
xor edx, edx
rep stosb byte es:[edi], al
cmp dword [ebx + 8], edx
jbe 0x78e3c5
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + edx*4]
and dword [eax + 0x40], 0
mov ecx, dword [ebx + 0x60]
cmp ecx, dword [eax]
jne 0x78e3bf
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
lea ecx, [esi + ecx*4]
cmp eax, dword [ecx]
jb 0x78e3bf
inc eax
mov dword [ecx], eax
inc edx
cmp edx, dword [ebx + 8]
jb 0x78e39e
mov eax, dword [ebx + 0xc]
test eax, eax
ja 0x78e3e7
and dword [ebp + 0x68], 0
push dword [ebp + 0x38]
call fcn.008214bd
mov eax, dword [ebp + 0x68]
pop ecx
pop edi
pop esi
pop ebx
add ebp, 0x78
leave
ret
mov eax, dword [ebp + 0x5c]
mov ecx, dword [ebx + 0x18]
dec eax
mov esi, dword [ecx + eax*4]
mov ecx, esi
mov dword [ebp + 0x5c], eax
call fcn.00785538
test eax, eax
jne 0x78ed09
mov edi, dword [esi]
and edi, 0xffffff
cmp dword [esi + 0xc], eax
je 0x78e4f2
mov ecx, esi
call fcn.0078557b
test eax, eax
je 0x78e42b
push 1
push edi
lea eax, [ebp + 0x20]
push eax
push dword [esi + 0x10]
jmp 0x78e4eb
mov ecx, esi
call fcn.007855b1
test eax, eax
je 0x78e456
push 1
push edi
lea eax, [ebp + 0x20]
push eax
push dword [esi + 0x10]
mov ecx, ebx
call fcn.007892a0
push 0
push edi
lea eax, [ebp + 0x20]
push eax
push dword [esi + 8]
jmp 0x78e4eb
mov ecx, esi
call fcn.007855c3
test eax, eax
je 0x78e495
push 1
push edi
lea eax, [ebp + 0x20]
push eax
push dword [esi + 0x10]
mov ecx, ebx
call fcn.007892a0
push 0
push edi
lea eax, [ebp + 0x20]
push eax
push dword [esi + 8]
mov ecx, ebx
call fcn.007892a0
mov ecx, dword [esi + 8]
push 0
lea eax, [ebp + 0x20]
push edi
push eax
mov eax, dword [esi + 0xc]
lea eax, [ecx + eax*4]
jmp 0x78e4ea
mov ecx, esi
call fcn.007855d5
test eax, eax
je 0x78e4f2
push 1
push edi
lea eax, [ebp + 0x20]
push eax
push dword [esi + 0x10]
mov ecx, ebx
call fcn.007892a0
push 0
push edi
lea eax, [ebp + 0x20]
push eax
push dword [esi + 8]
mov ecx, ebx
call fcn.007892a0
mov ecx, dword [esi + 8]
push 0
push edi
lea eax, [ebp + 0x20]
push eax
mov eax, dword [esi + 0xc]
lea eax, [ecx + eax*4]
push eax
mov ecx, ebx
call fcn.007892a0
mov ecx, dword [esi + 8]
push 0
lea eax, [ebp + 0x20]
push edi
push eax
mov eax, dword [esi + 0xc]
lea eax, [ecx + eax*8]
push eax
mov ecx, ebx
call fcn.007892a0
xor eax, eax
lea edi, [ebp + 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov ecx, esi
stosd dword es:[edi], eax
call fcn.00785545
test eax, eax
je 0x78e5f6
mov eax, dword [esi + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx + eax*4]
mov edx, dword [ebx + 0x10]
mov dword [ebp + 0x4c], eax
mov eax, dword [eax]
mov edi, dword [edx + eax*4]
mov eax, dword [edi + 4]
test al, 4
jne 0x78e5f6
test byte [ebx + 0x90], 1
je 0x78e53c
test al, 0x10
jne 0x78e5f6
mov eax, dword [esi + 8]
mov edx, dword [eax]
mov edx, dword [ecx + edx*4]
mov edi, dword [ebx + 0x60]
cmp edi, dword [edx]
jne 0x78e5f6
and dword [ebp + 0x74], 0
cmp dword [esi + 4], 0
jbe 0x78e5f6
mov edx, dword [ebx + 0x34]
mov dword [ebp + 0x48], eax
and edx, 8
lea eax, [ebp + 0x10]
sub dword [ebp + 0x48], eax
mov dword [ebp + 0x50], edx
cmp dword [ebp + 0x50], 0
mov edx, dword [ebp + 0x74]
mov eax, dword [ebp + 0x48]
lea eax, [eax + edx*4]
mov eax, dword [ebp + eax + 0x10]
mov eax, dword [ecx + eax*4]
mov edi, dword [eax + 0x2c]
mov edx, dword [ebx + 0x18]
mov edx, dword [edx + edi*4]
je 0x78e5a3
mov edi, dword [ebp + 0x4c]
mov edi, dword [edi + 0x44]
test edi, edi
je 0x78e5a3
mov eax, dword [eax + 0x44]
test eax, eax
je 0x78e5a3
cmp edi, eax
jne 0x78e5f6
mov eax, dword [edx + 0xc]
and dword [ebp + 0x6c], 0
test eax, eax
mov dword [ebp + 0x54], eax
jbe 0x78e5d4
mov edx, dword [edx + 0x10]
mov eax, dword [edx]
mov eax, dword [ecx + eax*4]
mov edi, dword [ebp + 0x5c]
cmp edi, dword [eax + 0x38]
jne 0x78e5d4
cmp edi, dword [eax + 0x3c]
jne 0x78e5d4
inc dword [ebp + 0x6c]
mov eax, dword [ebp + 0x6c]
add edx, 4
cmp eax, dword [ebp + 0x54]
jb 0x78e5b4
mov eax, dword [ebp + 0x54]
cmp dword [ebp + 0x6c], eax
jne 0x78e5e7
mov eax, dword [ebp + 0x74]
mov dword [ebp + eax*4 + 0x10], 1
inc dword [ebp + 0x74]
mov eax, dword [ebp + 0x74]
cmp eax, dword [esi + 4]
jb 0x78e56f
mov ecx, esi
call fcn.007855b1
test eax, eax
jne 0x78e623
mov ecx, esi
call fcn.007855c3
test eax, eax
jne 0x78e623
mov ecx, esi
call fcn.007855d5
test eax, eax
jne 0x78e623
mov dword [ebp + eax*4 - 0x20], eax
inc eax
cmp eax, 4
jb 0x78e617
jmp 0x78e65a
and dword [ebp + 0x6c], 0
cmp dword [esi + 0xc], 0
jbe 0x78e65a
mov eax, dword [esi + 0x10]
mov ecx, dword [ebx + 0x14]
lea edx, [ebp - 0x20]
sub eax, edx
mov edx, dword [ebp + 0x6c]
shl edx, 2
inc dword [ebp + 0x6c]
lea edi, [eax + edx]
mov edi, dword [ebp + edi - 0x20]
mov edi, dword [ecx + edi*4]
mov edi, dword [edi + 0xc]
mov dword [ebp + edx - 0x20], edi
mov edx, dword [ebp + 0x6c]
cmp edx, dword [esi + 0xc]
jb 0x78e638
and dword [ebp + 0x54], 0
lea eax, [ebp + 0x60]
push eax
push 0
jmp 0x78ec49
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor ecx, ecx
cmp dword [ebp + 0x58], ecx
stosd dword es:[edi], eax
mov dword [ebp + 0x70], ecx
mov dword [ebp + 0x4c], ecx
stosd dword es:[edi], eax
mov dword [ebp + 0x74], ecx
jbe 0x78e856
mov ecx, dword [ebp + 0x74]
mov eax, dword [ebp + 0x60]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebx + 0x60]
cmp ecx, dword [eax]
mov dword [ebp + 0x68], eax
jne 0x78e841
mov edx, dword [eax + 0x2c]
cmp edx, 0xffffffff
je 0x78e841
cmp dword [eax + 0x40], 0
je 0x78e6bc
mov dword [ebp + 0x70], 1
mov eax, dword [eax + 0xc]
lea eax, [ebp + eax*4 - 0x10]
mov ecx, dword [eax]
test ecx, ecx
jne 0x78e6cc
inc dword [ebp + 0x4c]
inc ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x18]
mov edi, dword [eax + edx*4]
mov ecx, edi
mov dword [ebp + 0x3c], edi
call fcn.007855b1
test eax, eax
jne 0x78e719
mov ecx, edi
call fcn.007855c3
test eax, eax
jne 0x78e719
mov ecx, edi
call fcn.007855d5
test eax, eax
jne 0x78e719
inc eax
cmp dword [edi + 0xc], eax
jbe 0x78e70e
mov ecx, dword [ebp + 0x74]
mov edx, dword [ebp + 0x68]
cmp ecx, dword [edx + 0xc]
jne 0x78e82f
mov ecx, dword [ebp + 0x68]
mov ecx, dword [ecx + 0xc]
jmp 0x78e829
mov edx, dword [ebp + 0x68]
cmp dword [edx + 0x40], 0
je 0x78e813
mov eax, dword [ebp + 0x74]
mov ecx, dword [ebp + eax*4 - 0x20]
cmp ecx, dword [edx + 0xc]
mov dword [ebp + 0x34], ecx
je 0x78e813
mov ecx, dword [edi + 0xc]
or dword [ebp + 0x44], 0xffffffff
or dword [ebp + 0x6c], 0xffffffff
and dword [ebp + 0x64], 0
test ecx, ecx
mov dword [ebp + 0x50], ecx
jbe 0x78e813
mov ecx, dword [ebp + 0x60]
lea eax, [ecx + eax*4]
mov ecx, dword [edi + 0x10]
mov dword [ebp + 0x40], eax
mov eax, dword [eax]
mov dword [ebp + 0x30], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp + 0x48], ecx
mov ecx, dword [ebp + 0x48]
mov ecx, dword [ecx]
cmp dword [ebp + 0x30], ecx
jne 0x78e77a
mov edx, dword [ebp + 0x64]
mov dword [ebp + 0x44], edx
mov ecx, dword [eax + ecx*4]
mov edx, dword [ebp + 0x34]
cmp edx, dword [ecx + 0xc]
jne 0x78e78b
mov ecx, dword [ebp + 0x64]
mov dword [ebp + 0x6c], ecx
inc dword [ebp + 0x64]
mov ecx, dword [ebp + 0x64]
add dword [ebp + 0x48], 4
cmp ecx, dword [ebp + 0x50]
jb 0x78e76a
mov edx, dword [ebp + 0x44]
cmp edx, 0xffffffff
je 0x78e813
mov eax, dword [ebp + 0x6c]
cmp eax, 0xffffffff
je 0x78e813
mov ecx, eax
mov eax, dword [edi + 8]
mov edx, dword [eax + edx*4]
shl ecx, 2
cmp edx, dword [eax + ecx]
mov dword [ebp + 0x30], ecx
jne 0x78e813
mov edx, dword [ebp + 0x50]
lea ecx, [edx + edx]
cmp dword [edi + 4], ecx
mov dword [ebp + 0x34], ecx
jb 0x78e7e3
mov edi, dword [ebp + 0x44]
mov ecx, dword [ebp + 0x6c]
add edi, edx
mov edi, dword [eax + edi*4]
add ecx, edx
cmp edi, dword [eax + ecx*4]
jne 0x78e810
mov ecx, dword [ebp + 0x34]
mov edi, dword [ebp + 0x3c]
lea edx, [edx + edx*2]
cmp dword [edi + 4], edx
jb 0x78e800
mov edi, dword [ebp + 0x44]
mov edx, dword [ebp + 0x6c]
add edi, ecx
add edx, ecx
mov ecx, dword [eax + edi*4]
cmp ecx, dword [eax + edx*4]
jne 0x78e810
mov edi, dword [ebp + 0x3c]
mov eax, dword [edi + 0x10]
mov ecx, dword [ebp + 0x30]
mov eax, dword [ecx + eax]
mov ecx, dword [ebp + 0x40]
mov dword [ecx], eax
jmp 0x78e813
mov edi, dword [ebp + 0x3c]
push dword [edi]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x20]
test eax, eax
je 0x78e832
mov eax, dword [ebp + 0x68]
mov ecx, dword [eax + 0xc]
xor eax, eax
inc eax
cmp dword [ebp + ecx*4 - 0x10], eax
jbe 0x78e832
mov dword [ebp + 0x70], eax
inc dword [ebp + 0x74]
mov eax, dword [ebp + 0x74]
cmp eax, dword [ebp + 0x58]
jb 0x78e686
mov eax, dword [ebp + 0x58]
cmp dword [ebp + 0x74], eax
jae 0x78e850
mov dword [ebp + 0x70], 1
cmp dword [ebp + 0x70], 0
jne 0x78e8bb
mov ecx, esi
call fcn.00785545
test eax, eax
jne 0x78e87f
mov ecx, dword [ebp + eax*4 - 0x10]
cmp ecx, dword [ebp + 0x58]
je 0x78e872
inc eax
cmp eax, 4
jb 0x78e861
jmp 0x78e879
mov dword [ebp + 0x70], 1
cmp dword [ebp + 0x70], 0
jne 0x78e8bb
mov eax, dword [ebp + 0x60]
mov eax, dword [eax]
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 8]
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x4c]
cmp edx, dword [ecx + eax*4]
je 0x78e8c9
xor ecx, ecx
xor eax, eax
cmp dword [esi + 0xc], ecx
jbe 0x78e8c9
cmp dword [ebp + eax*4 + 0x10], ecx
je 0x78e8af
inc eax
cmp eax, dword [esi + 0xc]
jb 0x78e8a1
jmp 0x78e8b6
mov dword [ebp + 0x70], 1
cmp dword [ebp + 0x70], ecx
je 0x78e8c9
xor eax, eax
lea edi, [ebp + 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
jmp 0x78ec3f
xor eax, eax
cmp dword [ebp + 0x58], eax
mov dword [ebp + 0x74], eax
jbe 0x78e987
jmp 0x78e8dc
mov eax, dword [ebp + 0x74]
cmp dword [ebp + eax*4 + 0x10], 0
je 0x78e8f2
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx + eax*4]
mov dword [ebp + eax*4 - 0x30], ecx
jmp 0x78e977
mov ecx, dword [ebp + 0x74]
mov eax, dword [ebp + 0x60]
mov edx, dword [ebx + 0x14]
mov eax, dword [eax + ecx*4]
mov edi, dword [edx + eax*4]
mov edx, dword [edi + 0xc]
cmp dword [ebp + edx*4 - 0x10], 1
jne 0x78e918
mov dword [ebp + ecx*4 - 0x30], eax
mov eax, dword [ebp + ecx*4 - 0x20]
mov dword [edi + 0xc], eax
jmp 0x78e97a
mov eax, dword [ebp + 0x74]
fldz
push ecx
push ecx
fstp qword [esp]
push dword [ebp + eax*4 - 0x20]
mov ecx, ebx
push dword [edi + 8]
push dword [edi]
call fcn.00784f26
cmp eax, 0xffffffff
mov ecx, dword [ebp + 0x74]
mov dword [ebp + ecx*4 - 0x30], eax
je 0x78ed18
mov ecx, dword [ebx + 0x14]
shl eax, 2
mov ecx, dword [eax + ecx]
push edi
mov dword [ebp + 0x40], eax
call fcn.007857c5
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebp + 0x40]
mov eax, dword [ecx + eax]
mov ecx, dword [edi + 0x18]
mov dword [eax + 0x18], ecx
mov eax, dword [edi + 8]
mov ecx, dword [ebp + 0x38]
lea eax, [ecx + eax*4]
inc dword [eax]
mov eax, dword [edi + 0xc]
lea eax, [ebp + eax*4 - 0x10]
dec dword [eax]
mov ecx, dword [ebp + 0x74]
inc ecx
cmp ecx, dword [ebp + 0x58]
mov dword [ebp + 0x74], ecx
jb 0x78e8d9
and dword [ebp + 0x6c], 0
cmp dword [ebp + 0x58], 0
jbe 0x78ec15
mov ecx, dword [ebp + 0x60]
mov eax, dword [ebp + 0x6c]
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx + eax*4]
cmp dword [eax + 0x40], 0
mov dword [ebp + 0x44], eax
jne 0x78ec06
and dword [ebp + 0x64], 0
mov edx, dword [ebp + 0x6c]
jmp 0x78e9ee
mov eax, dword [ebp + 0x60]
mov eax, dword [eax + edx*4]
mov ecx, dword [ebx + 0x14]
mov edi, dword [ebp + 0x44]
mov ecx, dword [ecx + eax*4]
mov edi, dword [edi + 0x2c]
cmp edi, dword [ecx + 0x2c]
jne 0x78e9ed
mov edi, dword [ebp + 0x64]
shl edi, 2
inc dword [ebp + 0x64]
mov dword [ebp + edi - 0x40], eax
mov eax, dword [ebp + edx*4 - 0x30]
mov dword [ebp + edi - 0x50], eax
mov dword [ecx + 0x40], 1
inc edx
cmp edx, dword [ebp + 0x58]
jb 0x78e9ba
mov eax, dword [ebp + 0x44]
mov ecx, dword [ebx + 0x18]
mov eax, dword [eax + 0x2c]
mov edi, dword [ecx + eax*4]
mov ecx, edi
call fcn.007855b1
test eax, eax
jne 0x78ea65
mov ecx, edi
call fcn.007855c3
test eax, eax
jne 0x78ea65
mov ecx, edi
call fcn.007855d5
test eax, eax
jne 0x78ea65
and dword [ebp + 0x68], eax
cmp dword [edi + 0xc], eax
jbe 0x78ec06
mov eax, dword [edi + 0x10]
mov edx, dword [ebp + 0x68]
lea eax, [eax + edx*4]
mov dword [ebp + 0x40], eax
mov eax, dword [eax]
xor ecx, ecx
mov edx, dword [ebp + 0x60]
cmp eax, dword [edx + ecx*4]
je 0x78ea4c
inc ecx
cmp ecx, dword [ebp + 0x58]
jb 0x78ea3c
jmp 0x78ea55
mov eax, dword [ebp + ecx*4 - 0x30]
mov ecx, dword [ebp + 0x40]
mov dword [ecx], eax
inc dword [ebp + 0x68]
mov eax, dword [ebp + 0x68]
cmp eax, dword [edi + 0xc]
jb 0x78ea2c
jmp 0x78ec06
and dword [ebp + 0x74], 0
cmp dword [ebp + 0x64], 0
jbe 0x78eaad
mov edx, dword [edi + 0xc]
and dword [ebp + 0x68], 0
test edx, edx
jbe 0x78eaa2
mov eax, dword [ebp + 0x74]
mov ecx, dword [ebp + eax*4 - 0x40]
mov eax, dword [edi + 0x10]
cmp dword [eax], ecx
je 0x78ea98
inc dword [ebp + 0x68]
mov edx, dword [edi + 0xc]
add eax, 4
cmp dword [ebp + 0x68], edx
jb 0x78ea84
jmp 0x78eaa2
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x74]
mov dword [ebp + ecx*4], eax
inc dword [ebp + 0x74]
mov eax, dword [ebp + 0x74]
cmp eax, dword [ebp + 0x64]
jb 0x78ea72
push 0x38
call fcn.0082119a
test eax, eax
pop ecx
je 0x78eac5
mov ecx, eax
call fcn.007851ab
mov dword [ebp + 0x70], eax
jmp 0x78eac9
and dword [ebp + 0x70], 0
cmp dword [ebp + 0x70], 0
je 0x78ed18
mov ecx, edi
call fcn.007855b1
test eax, eax
je 0x78eae3
mov eax, dword [ebp + 0x64]
jmp 0x78eaf8
mov ecx, edi
call fcn.007855c3
test eax, eax
mov eax, dword [ebp + 0x64]
je 0x78eaf5
add eax, eax
jmp 0x78eaf8
lea eax, [eax + eax*2]
mov ecx, dword [ebp + 0x70]
push 0
push dword [ebp + 0x64]
push eax
mov eax, dword [edi]
xor eax, dword [ebp + 0x64]
and eax, 0xffffff
xor eax, dword [edi]
push eax
call fcn.00785202
test eax, eax
mov dword [ebp + 0x68], eax
jl 0x78ed24
mov ecx, dword [ebp + 0x70]
push edi
call fcn.007854e4
test eax, eax
mov dword [ebp + 0x68], eax
jl 0x78ed24
mov eax, dword [ebp + 0x64]
and dword [ebp + 0x74], 0
test eax, eax
jbe 0x78ebe0
lea ecx, [eax + eax*2]
mov dword [ebp + 0x40], ecx
lea ecx, [eax + eax]
shl ecx, 2
shl eax, 2
mov dword [ebp + 0x3c], ecx
mov dword [ebp + 0x4c], eax
mov eax, dword [ebp + 0x70]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp + 0x74]
mov edx, dword [ebp + eax*4 - 0x50]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp + eax*4]
mov ecx, dword [edi + 8]
mov eax, dword [ecx + eax*4]
mov edx, dword [ebp + 0x70]
mov ecx, dword [ebp + 0x74]
mov edx, dword [edx + 8]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp + 0x64]
mov ecx, dword [ebp + 0x70]
add eax, eax
cmp dword [ecx + 4], eax
jb 0x78eba2
mov eax, dword [edi + 0xc]
mov edx, dword [ebp + 0x74]
add eax, dword [ebp + edx*4]
mov edx, dword [edi + 8]
mov eax, dword [edx + eax*4]
mov ecx, dword [ecx + 8]
mov edx, dword [ebp + 0x4c]
mov dword [edx + ecx], eax
mov eax, dword [ebp + 0x40]
mov ecx, dword [ebp + 0x70]
cmp dword [ecx + 4], eax
jb 0x78ebc9
mov edx, dword [edi + 0xc]
mov eax, dword [ebp + 0x74]
mov eax, dword [ebp + eax*4]
mov ecx, dword [ecx + 8]
lea eax, [eax + edx*2]
mov edx, dword [edi + 8]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp + 0x3c]
mov dword [edx + ecx], eax
inc dword [ebp + 0x74]
mov eax, dword [ebp + 0x74]
add dword [ebp + 0x4c], 4
add dword [ebp + 0x3c], 4
cmp eax, dword [ebp + 0x64]
jb 0x78eb56
mov eax, dword [ebp + 0x44]
mov eax, dword [eax + 0x2c]
mov ecx, dword [ebx + 0x18]
mov ecx, dword [ecx + eax*4]
test ecx, ecx
je 0x78ebf7
push 1
call fcn.00784bd1
mov eax, dword [ebp + 0x44]
mov eax, dword [eax + 0x2c]
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebp + 0x70]
mov dword [ecx + eax*4], edx
inc dword [ebp + 0x6c]
mov eax, dword [ebp + 0x6c]
cmp eax, dword [ebp + 0x58]
jb 0x78e995
xor eax, eax
cmp dword [ebp + 0x58], eax
jbe 0x78ec3f
mov ecx, dword [ebp + eax*4 - 0x30]
mov edx, dword [ebp + 0x60]
mov dword [edx + eax*4], ecx
mov ecx, dword [ebp + 0x60]
mov ecx, dword [ecx + eax*4]
mov edx, dword [ebx + 0x14]
mov ecx, dword [edx + ecx*4]
inc eax
cmp eax, dword [ebp + 0x58]
mov dword [ecx + 0x40], 1
jb 0x78ec1c
inc dword [ebp + 0x54]
lea eax, [ebp + 0x60]
push eax
push dword [ebp + 0x54]
mov ecx, esi
call fcn.007854fe
test eax, eax
mov dword [ebp + 0x58], eax
jne 0x78e669
mov ecx, esi
call fcn.00785545
test eax, eax
je 0x78ed09
xor edx, edx
xor ecx, ecx
cmp dword [esi + 0xc], edx
mov dword [ebp + 0x54], edx
jbe 0x78eceb
cmp dword [ebp + edx*4 + 0x10], 0
jne 0x78ec95
mov eax, dword [esi + 0x10]
mov edx, dword [eax + edx*4]
mov dword [eax + ecx*4], edx
mov eax, dword [esi + 8]
mov edx, dword [ebp + 0x54]
mov edx, dword [eax + edx*4]
mov dword [eax + ecx*4], edx
inc ecx
jmp 0x78ecdf
mov edi, dword [esi + 0x10]
mov edx, dword [ebx + 0x14]
mov eax, ecx
shl eax, 2
mov edi, dword [eax + edi]
mov edi, dword [edx + edi*4]
cmp dword [edi + 0x44], 0
mov dword [ebp + 0x40], edi
jne 0x78ecdf
mov edi, dword [esi + 8]
mov edi, dword [eax + edi]
mov edx, dword [edx + edi*4]
mov edx, dword [edx + 0x44]
mov edi, dword [ebp + 0x40]
mov dword [edi + 0x44], edx
mov edi, dword [esi + 8]
mov edi, dword [eax + edi]
mov edx, dword [ebx + 0x14]
mov edx, dword [edx + edi*4]
mov edi, dword [esi + 0x10]
mov edi, dword [eax + edi]
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + edi*4]
mov edx, dword [edx + 0x48]
mov dword [eax + 0x48], edx
mov edx, dword [ebp + 0x54]
inc edx
cmp edx, dword [esi + 0xc]
mov dword [ebp + 0x54], edx
jb 0x78ec76
mov edx, ecx
and edx, 0xffffff
mov eax, ecx
or edx, 0x10000000
neg eax
sbb eax, eax
and eax, edx
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 0xc], ecx
cmp dword [ebp + 0x5c], 0
ja 0x78e3e4
jmp 0x78e3cc
mov dword [ebp + 0x68], 0x8007000e
jmp 0x78e3d0
mov ecx, dword [ebp + 0x70]
push 1
call fcn.00784bd1
jmp 0x78e3d0