Function at 0x80ffa0
Capabilities:
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [0xbd33e0]
mov edi, edx
mov ebp, ecx
xor eax, esp
mov dword [esp + 0x30], eax
mov eax, dword [edx + 0xc]
mov ebx, dword [ecx]
mov dword [esp], eax
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x14], eax
lea eax, [eax + 2]
mov dword [ecx + 0x28], eax
mov ecx, ebx
mov edx, dword [edx + 0x18]
call fcn.0078dee0
mov esi, eax
mov eax, dword [ebx + 0x10]
mov ecx, ebp
mov edx, 0x1b
mov ebx, esi
shl ebx, 4
push dword [eax + ebx]
push 0
mov ebx, edi
push dword [edi]
call fcn.008002d0
add esp, 0xc
test eax, eax
jne 0x8102ca
mov eax, dword [esp]
mov ecx, ebp
mov edx, esi
push dword [eax]
push 1
push dword [eax + 0x1c]
call fcn.007f78a0
add esp, 0xc
mov ecx, ebp
call fcn.007f7590
test eax, eax
je 0x8102ca
mov ecx, dword [esp + 0x48]
mov edi, ebp
mov dword [esp + 0x10], eax
mov dword [esp + 8], esi
test ecx, ecx
mov dword [esp + 4], ecx
jns 0x810041
mov eax, dword [ebx + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov ecx, edi
mov edx, ebx
mov ebp, ebx
inc eax
mov dword [esp + 0x1c], eax
call fcn.007f79a0
mov esi, dword [edi + 0x28]
mov ecx, eax
mov dword [esp + 0x28], ecx
lea eax, [esi + 1]
mov dword [esp + 0xc], esi
mov dword [edi + 0x28], eax
call fcn.008106a0
movzx ebx, word [ebx + 0x32]
mov ecx, dword [esp + 0x10]
mov edx, 0x6f
push 0xfffffffffffffff7
push eax
push ebx
push 0
push esi
call fcn.007f75d0
add esp, 0x14
mov ebx, dword [esp + 0x14]
mov ecx, edi
mov edx, ebx
push 0x60
push dword [esp + 4]
push dword [esp + 0x10]
call fcn.007f77f0
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, 0x25
push 0
push ebx
call fcn.007d10d0
add esp, 8
mov ecx, edi
mov dword [esp + 0x20], eax
call fcn.007fcfa0
mov ecx, edi
mov esi, eax
call fcn.008106b0
lea eax, [esp + 0x2c]
mov ecx, edi
mov dword [esp + 0x24], ebp
mov edx, ebp
push 0
push 0
push eax
push 0
push esi
push ebx
call fcn.008106c0
add esp, 0x18
mov ecx, dword [esp + 0x10]
mov edx, 0x82
mov dword [esp + 0x18], esi
push esi
mov esi, dword [esp + 0xc]
push dword [esp + 0x10]
call fcn.007d10d0
add esp, 8
mov edx, dword [esp + 0x2c]
mov ecx, edi
mov dword [esp], edi
call fcn.00810810
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov edx, 5
lea eax, [ebp + 1]
push eax
push ebx
mov ebx, dword [esp + 0x18]
call fcn.007d10d0
add esp, 8
mov ecx, ebx
mov edx, ebp
call fcn.007f75c0
cmp dword [esp + 0x48], 0
jns 0x810156
mov ecx, ebx
mov edx, 0x89
push esi
push dword [esp + 8]
call fcn.007d10d0
add esp, 8
mov ecx, ebx
mov edx, 0x61
push 0xfffffffffffffff7
push dword [esp + 0x2c]
push esi
push dword [esp + 0x10]
mov esi, dword [esp + 0x2c]
push esi
call fcn.007f75d0
add esp, 0x14
mov edx, dword [esp + 0x48]
mov ecx, ebx
shr edx, 0x1b
and edx, 0xfffffff0
xor edx, 0x11
call fcn.0078e010
mov ecx, ebx
mov edx, 0x23
push 0
push dword [esp + 0x10]
call fcn.007d10d0
add esp, 8
mov ebp, dword [esp + 0x24]
mov dword [esp + 4], eax
cmp byte [ebp + 0x36], 0
je 0x810207
mov ecx, ebx
mov edx, 1
call fcn.007f7790
mov ecx, ebx
mov edi, eax
call fcn.007fdcb0
mov dword [esp + 8], eax
movzx eax, word [ebp + 0x32]
mov ecx, ebx
mov edx, 0x7c
push eax
mov esi, ebp
mov ebp, dword [esp + 0x1c]
push ebp
push edi
push dword [esp + 0x18]
call fcn.0078dfd0
add esp, 0x10
mov ecx, dword [esp]
mov edx, 2
push esi
call fcn.00810820
add esp, 4
mov edx, edi
mov edi, esi
mov esi, dword [esp + 0x1c]
mov ecx, ebx
call fcn.007f75c0
jmp 0x810220
mov ecx, dword [esp]
call fcn.007fc3c0
mov ecx, ebx
call fcn.007fdcb0
mov edi, ebp
mov ebp, dword [esp + 0x18]
mov dword [esp + 8], eax
mov ecx, ebx
mov edx, 0x7d
push esi
push ebp
push dword [esp + 0x14]
call fcn.007d10f0
add esp, 0xc
test byte [edi + 0x39], 2
mov edi, esi
jne 0x81024d
mov ecx, ebx
mov edx, 0x81
push edi
call fcn.007f9600
add esp, 4
mov ecx, ebx
mov edx, 0x83
push ebp
push edi
call fcn.007d10d0
add esp, 8
mov ecx, ebx
mov edx, 0x10
call fcn.0078e010
mov ecx, dword [esp]
mov edx, ebp
call fcn.007fc440
mov ecx, ebx
mov edx, 3
push dword [esp + 8]
mov esi, dword [esp + 0x10]
push esi
call fcn.007d10d0
add esp, 8
mov edx, dword [esp + 4]
mov ecx, ebx
call fcn.007f75c0
mov ecx, ebx
mov edx, 0x74
push dword [esp + 0x14]
call fcn.007f9600
add esp, 4
mov ecx, ebx
mov edx, 0x74
push edi
call fcn.007f9600
add esp, 4
mov ecx, ebx
mov edx, 0x74
push esi
call fcn.007f9600
add esp, 4
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00989fe9
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret