Function at 0x65b76b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
lea eax, [ebp - 4]
push ebx
push esi
push edi
push eax
push 0x654e50
push 0x654e40
push 7
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.0065bc50
test eax, eax
js 0x65b995
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
test eax, eax
js 0x65b98c
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x18]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
test eax, eax
js 0x65b983
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
push edx
push 0x654e20
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x65b97a
mov esi, dword [ebp + 0x1c]
mov edi, dword [0x66c118]
lea eax, [esi + 1]
push eax
push 0
push 0x11
call edi
mov ebx, eax
mov dword [ebp - 0x24], ebx
test ebx, ebx
je 0x65b971
lea eax, [ebp - 0x1c]
push eax
push ebx
call dword [0x66c124]
test eax, eax
js 0x65b96a
push esi
push dword [ebp + 0x18]
push dword [ebp - 0x1c]
call fcn.0065d1f0
add esp, 0xc
push ebx
call dword [0x66c120]
test eax, eax
js 0x65b96a
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x20]
push edx
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb4]
test eax, eax
js 0x65b96a
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0xc]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
test eax, eax
js 0x65b96a
mov esi, dword [0x66c114]
lea eax, [ebp - 0x38]
push eax
call esi
lea eax, [ebp - 0x48]
push eax
call esi
push 1
push 0
push 0xc
call edi
mov dword [ebp - 0x10], eax
test eax, eax
je 0x65b961
mov esi, dword [ebp + 8]
push esi
push 0
push 8
call edi
mov dword [ebp - 0x30], eax
test eax, eax
je 0x65b958
and dword [ebp - 0x28], 0
mov eax, 0x2008
mov edi, dword [0x66c11c]
mov word [ebp - 0x38], ax
xor eax, eax
mov dword [ebp - 8], eax
test esi, esi
jle 0x65b8cf
mov ebx, dword [ebp + 0xc]
push dword [ebx + eax*4]
call dword [0x66c12c]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x30]
call edi
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, esi
jl 0x65b8ae
mov ebx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x28]
push eax
push esi
call edi
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x48]
push edx
push esi
sub esp, 0x10
mov esi, 0x653170
mov ecx, dword [eax]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x94]
test eax, eax
jns 0x65b946
cmp eax, 0x8002000e
jne 0x65b92b
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x48]
push edx
push 0
sub esp, 0x10
mov esi, 0x653170
mov ecx, dword [eax]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x94]
test eax, eax
jns 0x65b946
push eax
call fcn.0065abd5
pop ecx
push 0x10
push 0x654f68
push 0x654fdc
push 0
call dword [0x66c140]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push dword [ebp - 0x30]
call dword [0x66c128]
push dword [ebp - 0x10]
call dword [0x66c128]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push ebx
call dword [0x66c128]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0x2710
call dword [fcn.0066c010]
push 0
call fcn.0065c8e1
int3