Function at 0x66d4f9
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 0x1c], edx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x38], ebx
mov esi, dword [ebx + 8]
mov ecx, esi
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x18], eax
call fcn.0064935e
mov dword [ebp - 0x24], eax
xor edx, edx
mov eax, dword [edi]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x28], edx
mov ebx, dword [eax + 4]
movzx ecx, byte [eax]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], ecx
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x38]
cmp dword [edi + 0x10], edx
je 0x66d57d
push dword [edi + 0x10]
mov ecx, esi
push dword [edi + 0xc]
push 0xe
pop edx
call fcn.00649192
mov edx, dword [ebp - 0x18]
pop ecx
pop ecx
mov ecx, esi
call fcn.006491a7
mov edx, dword [edi + 0x10]
mov ecx, esi
call fcn.006493a0
mov eax, dword [ebp + 0x10]
xor edx, edx
mov ecx, dword [ebp - 0xc]
mov edi, dword [edi + 8]
mov dword [ebp - 0x10], edi
mov edi, dword [ebp + 0xc]
cmp ecx, 9
je 0x66d5aa
cmp ecx, 0xd
je 0x66d5aa
cmp ecx, 0xa
je 0x66d5aa
mov ecx, ebx
call fcn.0065b3fb
mov edx, edi
mov dword [ebp - 8], eax
call fcn.0065b45d
xor edx, edx
jmp 0x66d5b0
mov eax, dword [eax + 8]
mov dword [ebp - 8], edx
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
sub eax, dword [ecx + 4]
test byte [ecx + 0x1c], 1
mov dword [ebp - 0x30], eax
je 0x66d65d
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x14], eax
inc eax
mov dword [ebx + 0x28], eax
cmp dword [ecx + 0x10], edx
je 0x66d5f0
push 0x14
pop edx
mov ecx, esi
call fcn.00649170
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x30]
inc ecx
add ecx, edi
push ecx
push dword [ebp - 0x2c]
mov ecx, esi
push dword [ebp - 0x14]
push 0x6f
pop edx
call fcn.0064910e
mov eax, dword [ebp - 0x28]
add esp, 0xc
test eax, eax
je 0x66d61a
mov edx, eax
mov ecx, esi
call fcn.00649643
push dword [ebp - 0x18]
mov ecx, esi
push dword [ebp - 0x10]
push 0x23
pop edx
call fcn.00649192
push dword [ebp - 0x24]
inc eax
mov ecx, esi
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x10]
call fcn.0066cbeb
add esp, 0xc
mov ecx, esi
push dword [ebp - 0x14]
push dword [ebp - 0x2c]
push dword [ebp - 0x10]
push 0x79
pop edx
call fcn.0064910e
add esp, 0xc
xor eax, eax
mov edx, eax
jmp 0x66d68f
push dword [ebp - 0x18]
mov ecx, esi
push dword [ebp - 0x10]
push 0x24
pop edx
call fcn.00649192
push dword [ebp - 0x24]
inc eax
mov ecx, esi
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x10]
call fcn.0066cbeb
mov eax, dword [ebp - 0x10]
xor edx, edx
add esp, 0xc
mov dword [ebp - 0x14], eax
inc edx
xor eax, eax
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], edx
test edi, edi
jle 0x66d6e4
mov ecx, dword [ebp - 0x3c]
mov ebx, dword [ebp - 4]
add ecx, 0x14
mov dword [ebp - 0x30], ecx
movzx ecx, word [ecx]
test cx, cx
je 0x66d6b0
dec ecx
jmp 0x66d6b6
mov ecx, edx
inc edx
mov dword [ebp - 0x2c], edx
add eax, ebx
push eax
push ecx
push dword [ebp - 0x14]
mov ecx, esi
push 0x60
pop edx
call fcn.0064910e
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov ecx, dword [ebp - 0x30]
inc eax
mov edx, dword [ebp - 0x2c]
add ecx, 0x18
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
cmp eax, edi
jl 0x66d6a5
mov ebx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov eax, ecx
sub eax, 0xa
je 0x66d7a6
dec eax
je 0x66d765
dec eax
je 0x66d733
dec eax
dec eax
je 0x66d733
mov eax, dword [ebp + 0x10]
cmp ecx, 9
mov ecx, esi
jne 0x66d725
push edi
push dword [eax + 8]
push 0x43
pop edx
call fcn.00649192
mov eax, dword [ebp + 0x10]
mov ecx, ebx
push edi
mov edx, dword [eax + 8]
call fcn.006596ff
add esp, 0xc
jmp 0x66d7a3
push dword [eax + 4]
push 0x10
pop edx
call fcn.0064917e
pop ecx
jmp 0x66d7a3
push dword [ebp - 8]
mov ecx, esi
push dword [ebp - 0x20]
push 0x73
pop edx
call fcn.00649192
push dword [ebp - 8]
mov ecx, esi
push dword [ebp - 4]
push dword [ebp - 0x20]
push 0x74
pop edx
call fcn.0064910e
add esp, 0x14
mov ecx, esi
push 8
pop edx
call fcn.0064962b
jmp 0x66d7a3
mov eax, dword [ebp + 0x10]
mov ecx, esi
push edi
push dword [eax + 0x10]
push dword [ebp - 8]
push edi
push dword [ebp - 4]
push 0x63
pop edx
call fcn.00649258
mov edx, dword [ebp - 4]
add esp, 0x14
mov ecx, ebx
push edi
call fcn.006596ff
pop ecx
push edi
push dword [ebp - 4]
mov ecx, esi
push dword [ebp - 8]
push dword [ebp - 0x20]
push 0x7e
pop edx
call fcn.0064930f
add esp, 0x10
mov ecx, dword [ebp - 0xc]
cmp dword [ebp - 8], 0
je 0x66d7ce
mov edx, dword [ebp - 4]
cmp ecx, 0xb
mov ecx, ebx
jne 0x66d7bf
push edi
call fcn.0065b493
pop ecx
jmp 0x66d7c4
call fcn.0065b41a
mov edx, dword [ebp - 8]
mov ecx, ebx
call fcn.0065b41a
mov edx, dword [ebp - 0x24]
mov ecx, esi
call fcn.006493a0
mov edi, dword [ebp + 8]
push dword [ebp - 0x28]
push dword [ebp - 0x10]
test byte [edi + 0x1c], 1
je 0x66d7eb
push 3
jmp 0x66d7ed
push 7
pop edx
call fcn.00649192
cmp dword [edi + 0xc], 0
pop ecx
pop ecx
je 0x66d809
push dword [edi + 0xc]
mov ecx, esi
push 0x34
pop edx
call fcn.0064917e
pop ecx
mov edx, dword [ebp - 0x18]
mov ecx, esi
call fcn.006493a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret