Function at 0x8189e0
Capabilities:
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [esp + 0x34]
mov edi, ecx
mov ecx, dword [ecx + 8]
mov byte [eax], 1
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
cmp dword [eax + 0x2c], 0
jle 0x818bda
mov dword [esp + 0x14], edx
mov eax, dword [esp + 4]
mov dword [esp + 0xc], 0
mov dword [esp], edi
mov ebp, dword [eax + 0x28]
xor eax, eax
mov dword [esp + 0x1c], eax
mov eax, dword [ebp]
mov esi, dword [eax + 0x14]
test byte [eax + 7], 1
jne 0x818a37
mov dword [esp + 0x10], 0
jmp 0x818a91
mov eax, dword [eax + 0x2c]
mov ecx, dword [esp + 4]
mov ebx, dword [eax + 0x28]
cmp dword [ecx + 0x24], 0
je 0x818a79
mov eax, dword [ebp + 4]
test byte [eax + 4], 0x20
je 0x818a79
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x818a5f
mov eax, dword [edi + 0x2c]
inc eax
mov dword [edi + 0x2c], eax
mov ecx, dword [esp + 8]
mov edx, 0x4d
mov dword [esp + 0xc], eax
push eax
push dword [esp + 0x18]
call fcn.007d10d0
add esp, 8
mov ecx, edi
call fcn.007fb640
push 0x10
mov dword [esp + 0x14], eax
push eax
push ebx
push edi
call fcn.007fc0d0
add esp, 0x10
test esi, esi
jne 0x818a9b
xor ebx, ebx
xor edi, edi
jmp 0x818ab9
mov ebx, dword [esi]
mov ecx, edi
mov edx, ebx
call fcn.007fa700
mov ecx, edi
mov edx, esi
push 1
push 0
mov edi, eax
push eax
call fcn.007fa730
add esp, 0xc
mov edx, dword [ebp + 0xc]
mov eax, dword [esp + 0x10]
test edx, edx
js 0x818ae6
test eax, eax
jne 0x818ad3
mov ecx, dword [esp]
call fcn.007fb640
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp]
push edi
push 1
mov dword [esp + 0x18], eax
push eax
call fcn.0082c0c0
add esp, 0xc
mov eax, dword [ebp + 4]
test byte [eax + 4], 0x20
jne 0x818af5
mov esi, dword [esp + 8]
jmp 0x818b67
test ebx, ebx
mov dword [esp + 0x18], ebp
jle 0x818b1c
add esi, 4
xor ebp, ebp
mov edx, dword [esi]
mov ecx, dword [esp]
call fcn.007d3920
inc ebp
cmp ebp, ebx
jge 0x818b18
add esi, 0x14
test eax, eax
je 0x818b02
test eax, eax
jne 0x818b24
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov ebp, dword [esp + 0xc]
mov edx, dword [esp + 4]
test ebp, ebp
jne 0x818b44
cmp dword [edx + 0x24], 0
jne 0x818b3a
xor ebp, ebp
jmp 0x818b44
mov ecx, dword [esp]
mov ebp, dword [ecx + 0x2c]
inc ebp
mov dword [ecx + 0x2c], ebp
mov esi, dword [esp + 8]
mov edx, 0x51
mov ecx, esi
push 0xfffffffffffffffe
push eax
push 0
push 0
mov dword [esp + 0x1c], ebp
push ebp
call fcn.007f75d0
add esp, 0x14
mov ebp, dword [esp + 0x18]
mov edx, 0x9a
mov ecx, esi
push dword [ebp + 8]
push edi
push 0
call fcn.007d10f0
add esp, 0xc
mov edx, dword [ebp + 4]
mov ecx, esi
push 0xfffffffffffffff8
call fcn.007f7b70
add esp, 4
movzx edx, bl
mov ecx, esi
call fcn.0078e010
mov ecx, dword [esp]
mov edx, edi
push ebx
call fcn.007faa50
add esp, 4
mov edx, dword [esp + 0x10]
test edx, edx
je 0x818bb2
mov ecx, esi
call fcn.007fbd70
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 4]
add ebp, 0x10
mov edi, dword [esp]
inc eax
cmp eax, dword [ecx + 0x2c]
jl 0x818a1d
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 8]
test esi, esi
jne 0x818bed
mov eax, dword [esp + 4]
xor ebx, ebx
test edx, edx
mov eax, dword [eax + 0x24]
je 0x818c04
test eax, eax
mov esi, edx
je 0x818c04
mov edx, 0x12
push esi
call fcn.007f9600
add esp, 4
mov ebx, eax
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x24]
mov dword [esp], ebx
test eax, eax
mov esi, dword [esp + 4]
jle 0x818c2d
mov ebx, dword [esi + 0x1c]
xor ebp, ebp
mov edx, dword [ebx + 0x14]
mov ecx, edi
push dword [ebx + 0x10]
call fcn.007f7750
add esp, 4
inc ebp
add ebx, 0x18
cmp ebp, dword [esi + 0x24]
jl 0x818c14
mov edx, dword [esp]
mov byte [esi], 0
test edx, edx
jne 0x818c3f
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp + 8]
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.007f75c0