Function at 0x81c1f0
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.007fdcb0
mov ecx, ebx
mov dword [esp + 0x14], eax
call fcn.007fb640
test esi, esi
mov dword [esp + 4], eax
je 0x81c2c0
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.007f9600
add esp, 4
mov esi, dword [esp + 0x2c]
mov ecx, ebx
mov dword [esp + 8], eax
call fcn.008106a0
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.007f75d0
add esp, 0x14
add eax, 2
mov ecx, ebp
mov edx, 0x10
push eax
push dword [esp + 8]
push eax
call fcn.007d10f0
add esp, 0xc
mov edx, dword [esp + 8]
mov ecx, ebp
call fcn.007f75c0
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.007d10f0
add esp, 0xc
mov ecx, ebp
mov edx, 0x45
push edi
push 1
call fcn.007d10d0
mov eax, dword [esp + 0xc]
add esp, 8
mov ecx, dword [ebx]
mov esi, eax
xor eax, eax
cmp byte [ecx + 0x51], 0
jne 0x81c4c2
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x30]
mov ecx, dword [esp]
mov edx, dword [eax + 0xc]
push esi
call fcn.0081c1d0
add esp, 4
mov al, byte [ebp]
add al, 0xf6
cmp al, 3
ja case.default.0x81c2f7
movzx eax, al
jmp dword [eax*4 + 0xb59dfc]
mov ecx, ebx
mov esi, ebx
call fcn.007fcfa0
mov ecx, esi
mov ebx, eax
call fcn.007fcfa0
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.007d10f0
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.007d10d0
add esp, 8
mov ecx, edi
mov edx, 0x79
push ebp
push ebx
mov eax, dword [esp + 0x38]
push dword [eax + 4]
call fcn.007d10f0
add esp, 0xc
mov ecx, edi
mov edx, 8
call fcn.0078e010
mov ecx, esi
mov edx, ebp
call fcn.007fc440
mov ecx, esi
mov edx, ebx
call fcn.007fc440
jmp 0x81c47a
mov ecx, ebx
mov dword [esp + 0xc], ebx
call fcn.007fcfa0
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.007f75d0
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.0078dfd0
add esp, 0x10
mov ecx, dword [esp + 0xc]
mov edx, edi
mov ebx, esi
call fcn.007fc440
jmp 0x81c47e
mov ecx, ebx
cmp dword [ebx + 0x24], 0
mov ebx, dword [esp + 4]
jne 0x81c47e
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.008189c0
add esp, 8
jmp 0x81c47e
mov esi, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov eax, dword [esi + 8]
test eax, eax
jne 0x81c43a
mov edx, dword [ebp + 0xc]
mov ecx, ebx
call fcn.007fa700
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.008189c0
add esp, 8
mov ecx, dword [esp]
mov edx, 0xe
push dword [esi + 4]
call fcn.007f9600
add esp, 4
jmp 0x81c47a
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp]
mov edx, 0x50
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.007d10d0
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 0x81c4a2
mov ecx, dword [esp]
mov edx, 0x3b
push dword [esp + 0x40]
push eax
call fcn.007d10d0
add esp, 8
mov edi, dword [esp]
mov edx, ebx
mov ecx, edi
call fcn.007fbd70
mov ecx, edi
mov edx, 0x41
push esi
call fcn.007f9600
add esp, 4
mov eax, dword [esp + 0x14]
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret