Function at 0x65e276
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
mov eax, edx
xor ecx, ecx
mov dword [ebp - 8], eax
inc ecx
mov esi, 0x4a4dec
mov ebx, dword [edi]
cmp byte [ebx + 0x99], 0
je 0x65e2be
cmp dword [ebx + 0x94], ecx
jne 0x65e2be
movzx eax, byte [ebx + 0x98]
mov edx, 0x4a4cdc
cmp eax, ecx
mov dword [ebp - 4], eax
mov ecx, ebx
cmovne edx, esi
call fcn.00632789
jmp 0x65e314
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
push esi
mov ecx, edi
call fcn.0065e18e
mov dword [ebp - 4], eax
pop ecx
pop ecx
test eax, eax
js 0x65e409
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x65e305
cmp dword [esi + 4], 0
jbe 0x65e2fe
cmp eax, 1
je 0x65e2fe
push 0x4ac018
push edi
call fcn.00634527
pop ecx
pop ecx
jmp 0x65e409
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x10]
mov ecx, ebx
mov edx, eax
mov dword [ebp - 8], eax
call fcn.0065e0b5
mov ecx, dword [ebp - 8]
mov esi, eax
mov eax, dword [ecx]
mov dword [edi + 0x17c], eax
mov eax, dword [ecx + 4]
mov dword [edi + 0x180], eax
test esi, esi
je 0x65e409
mov edx, esi
mov ecx, edi
call fcn.0065e1f2
test eax, eax
jne 0x65e400
cmp byte [ebx + 0x98], 1
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
push 1
pop eax
cmove ecx, eax
mov eax, dword [ebx + 0x10]
shl edx, 4
mov dword [ebp - 0x10], edx
mov dword [ebp + 0xc], ecx
mov edx, dword [edx + eax]
xor eax, eax
inc eax
mov dword [ebp - 0xc], edx
cmp ecx, eax
mov eax, 0x4a4cdc
push edx
mov ecx, 0x4a4dec
cmovne eax, ecx
mov ecx, edi
push 0
push eax
push 0x12
pop edx
call fcn.0065d74f
add esp, 0xc
test eax, eax
jne 0x65e400
cmp dword [ebp + 0x14], eax
jne 0x65e3b5
push dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push esi
movzx edx, byte [ecx + eax*2 + 0x4a7170]
mov ecx, edi
call fcn.0065d74f
add esp, 0xc
test eax, eax
jne 0x65e400
cmp byte [edi + 0x190], 0
jne 0x65e432
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + eax]
mov ecx, edi
mov dword [ebp - 0xc], eax
call fcn.0066bbae
test eax, eax
jne 0x65e400
push dword [ebp - 0xc]
mov edx, esi
mov ecx, ebx
call fcn.0065db61
pop ecx
test eax, eax
je 0x65e410
cmp dword [ebp + 0x18], 0
jne 0x65e3f6
push dword [ebp - 8]
push 0x4ac044
jmp 0x65e427
mov edx, dword [ebp - 4]
mov ecx, edi
call fcn.006616df
mov edx, esi
mov ecx, ebx
call fcn.00632404
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 0xc]
mov edx, esi
mov ecx, ebx
call fcn.0065dd1a
pop ecx
test eax, eax
je 0x65e432
push esi
push 0x4ac05c
push edi
call fcn.00634527
add esp, 0xc
jmp 0x65e400
push 0
push 0x50
mov ecx, ebx
call fcn.006325bb
pop ecx
pop ecx
mov ecx, eax
mov dword [ebp - 0xc], ecx
test ecx, ecx
jne 0x65e454
inc dword [edi + 0x24]
mov dword [edi + 0xc], 7
jmp 0x65e400
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
mov word [ecx + 0x28], ax
mov dword [ecx], esi
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + edx + 0xc]
mov dword [ecx + 0x48], eax
xor eax, eax
inc eax
mov dword [ecx + 0x20], eax
mov eax, 0xc8
mov word [ecx + 0x2c], ax
cmp byte [edi + 0x12], 0
mov dword [edi + 0x1b0], ecx
jne 0x65e49f
push 0x4a4a5c
push esi
call fcn.00690450
pop ecx
pop ecx
test eax, eax
jne 0x65e49f
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + 0x48]
mov dword [eax + 0x48], ecx
cmp byte [ebx + 0x99], 0
jne 0x65e409
mov ecx, edi
call fcn.0066df3f
mov esi, eax
mov dword [ebp - 0x10], esi
test esi, esi
je 0x65e409
push dword [ebp - 4]
xor eax, eax
mov ecx, edi
lea edx, [eax + 1]
call fcn.00661769
cmp dword [ebp + 0x14], 0
pop ecx
je 0x65e4e2
mov edx, 0x99
mov ecx, esi
call fcn.00649170
mov eax, dword [edi + 0x2c]
mov ecx, esi
inc eax
mov dword [ebp - 8], eax
mov dword [edi + 0x60], eax
inc eax
push 2
mov dword [edi + 0x64], eax
inc eax
push eax
push dword [ebp - 4]
mov dword [ebp - 0xc], eax
push 0x65
pop edx
mov dword [edi + 0x2c], eax
call fcn.0064910e
mov edx, dword [ebp - 4]
add esp, 0xc
mov ecx, esi
call fcn.00649b76
push dword [ebp - 0xc]
mov ecx, esi
push 0x15
pop edx
call fcn.0064917e
test byte [ebx + 0x18], 2
mov esi, eax
pop ecx
push 4
pop ecx
push 1
pop eax
cmovne ecx, eax
push ecx
mov ecx, dword [ebp - 0x10]
push 2
push dword [ebp - 4]
push 0x66
pop edx
call fcn.0064910e
movzx eax, byte [ebx + 0x42]
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov ecx, ebx
push eax
push 5
push dword [ebp - 4]
push 0x66
pop edx
call fcn.0064910e
add esp, 0xc
mov edx, esi
mov ecx, ebx
call fcn.00649643
cmp dword [ebp + 0x10], 0
jne 0x65e590
cmp dword [ebp + 0x14], 0
jne 0x65e590
mov eax, dword [ebp - 8]
mov edx, 0x87
inc eax
mov ecx, ebx
push eax
push dword [ebp - 4]
call fcn.00649192
mov dword [edi + 0x80], eax
jmp 0x65e5a1
mov eax, dword [ebp - 8]
mov ecx, ebx
inc eax
push eax
push 0
push 0x38
pop edx
call fcn.00649192
mov edx, dword [ebp - 4]
pop ecx
pop ecx
mov ecx, edi
call fcn.0065e0d7
mov edi, dword [ebp - 8]
mov ecx, ebx
push edi
push 0
push 0x73
pop edx
call fcn.00649192
mov esi, dword [ebp - 0xc]
mov ecx, ebx
push 0xffffffffffffffff
push 0x4a971c
push 0
push esi
push 6
push 0x3d
pop edx
call fcn.00649258
add esp, 0x1c
mov ecx, ebx
push edi
push esi
push 0
push 0x74
pop edx
call fcn.0064910e
add esp, 0xc
mov ecx, ebx
push 8
pop edx
call fcn.0064962b
push 0x70
pop edx
call fcn.00649170
jmp 0x65e409