Function at 0x8109c0
Capabilities:
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov ebx, ecx
mov ecx, dword [ecx + 8]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x10], edx
mov dword [esp], ecx
call fcn.007f2430
mov ecx, ebx
mov dword [esp + 0x14], eax
call fcn.007efdc0
test esi, esi
mov dword [esp + 4], eax
je 0x810a90
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp]
mov edi, esi
mov edx, 0x14
mov ecx, ebp
push esi
call fcn.007edd80
add esp, 4
mov esi, dword [esp + 0x2c]
mov ecx, ebx
mov dword [esp + 8], eax
call fcn.00804e40
lea ebx, [edi + 1]
mov ecx, ebp
mov edx, 0x56
push 0xfffffffffffffff7
push eax
push dword [esi + 0xc]
push ebx
push dword [esi + 8]
call fcn.007ebd50
add esp, 0x14
add eax, 2
mov ecx, ebp
mov edx, 0x10
push eax
push dword [esp + 8]
push eax
call fcn.007c5800
add esp, 0xc
mov edx, dword [esp + 8]
mov ecx, ebp
call fcn.007ebd40
mov eax, dword [esi + 0xc]
mov ecx, ebp
mov edx, 0x4d
dec eax
push eax
push ebx
mov ebx, dword [esp + 0x14]
push dword [esi + 8]
call fcn.007c5800
add esp, 0xc
mov ecx, ebp
mov edx, 0x45
push edi
push 1
call fcn.007c57e0
mov eax, dword [esp + 0xc]
add esp, 8
mov ecx, dword [ebx]
mov esi, eax
xor eax, eax
cmp byte [ecx + 0x51], 0
jne 0x810c92
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x30]
mov ecx, dword [esp]
mov edx, dword [eax + 0xc]
push esi
call fcn.008109a0
add esp, 4
mov al, byte [ebp]
add al, 0xf6
cmp al, 3
ja case.default.0x810ac7
movzx eax, al
jmp dword [eax*4 + 0xb5179c]
mov ecx, ebx
mov esi, ebx
call fcn.007f1720
mov ecx, esi
mov ebx, eax
call fcn.007f1720
mov edi, dword [esp]
mov dword [esp + 8], eax
mov edx, 0x5b
mov ecx, edi
push ebx
mov ebp, dword [esp + 0x30]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.007c5800
add esp, 0xc
mov ebp, dword [esp + 8]
mov ecx, edi
mov edx, 0x78
push ebp
mov eax, dword [esp + 0x34]
push dword [eax + 4]
call fcn.007c57e0
add esp, 8
mov ecx, edi
mov edx, 0x79
push ebp
push ebx
mov eax, dword [esp + 0x38]
push dword [eax + 4]
call fcn.007c5800
add esp, 0xc
mov ecx, edi
mov edx, 8
call fcn.00782720
mov ecx, esi
mov edx, ebp
call fcn.007f0bc0
mov ecx, esi
mov edx, ebx
call fcn.007f0bc0
jmp 0x810c4a
mov ecx, ebx
mov dword [esp + 0xc], ebx
call fcn.007f1720
mov ebp, dword [esp + 0x2c]
mov edi, eax
mov edx, 0x5b
mov eax, dword [ebp + 0xc]
mov ebp, dword [esp]
mov ecx, ebp
push eax
mov ebx, dword [esp + 0x34]
push dword [ebx + 0x10]
push edi
push eax
mov ebx, dword [esp + 0x3c]
push dword [ebx + 8]
call fcn.007ebd50
add esp, 0x14
mov ecx, ebp
mov edx, 0x83
push dword [ebx + 0xc]
push dword [ebx + 8]
push edi
mov eax, dword [esp + 0x3c]
push dword [eax + 4]
call fcn.007826e0
add esp, 0x10
mov ecx, dword [esp + 0xc]
mov edx, edi
mov ebx, esi
call fcn.007f0bc0
jmp 0x810c4e
mov ecx, ebx
cmp dword [ebx + 0x24], 0
mov ebx, dword [esp + 4]
jne 0x810c4e
mov ebp, dword [esp + 0x2c]
mov edx, dword [ebp + 8]
push dword [ebp + 0xc]
mov eax, dword [esp + 0x34]
push dword [eax + 4]
call fcn.0080d190
add esp, 8
jmp 0x810c4e
mov esi, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov eax, dword [esi + 8]
test eax, eax
jne 0x810c0a
mov edx, dword [ebp + 0xc]
mov ecx, ebx
call fcn.007eee80
mov dword [esi + 8], eax
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0xc], ecx
mov edx, dword [ebp + 8]
mov ecx, ebx
push dword [ebp + 0xc]
push eax
call fcn.0080d190
add esp, 8
mov ecx, dword [esp]
mov edx, 0xe
push dword [esi + 4]
call fcn.007edd80
add esp, 4
jmp 0x810c4a
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp]
mov edx, 0x50
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.007c57e0
add esp, 8
mov ebx, dword [esp + 4]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x34]
mov eax, dword [eax + 8]
test eax, eax
je 0x810c72
mov ecx, dword [esp]
mov edx, 0x3b
push dword [esp + 0x40]
push eax
call fcn.007c57e0
add esp, 8
mov edi, dword [esp]
mov edx, ebx
mov ecx, edi
call fcn.007f04f0
mov ecx, edi
mov edx, 0x41
push esi
call fcn.007edd80
add esp, 4
mov eax, dword [esp + 0x14]
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret