Function at 0x87027b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, ecx
push esi
push edi
mov esi, edx
mov dword [ebp - 4], ebx
mov edi, dword [ebx + 8]
mov edx, dword [ebp + 8]
mov ecx, dword [ebx]
call fcn.00870eed
movsx edx, word [edx + 0x2a]
mov ecx, dword [ebx + 0x28]
push 2
mov dword [ebp - 0x2c], eax
pop eax
add edx, eax
mov dword [ebp - 0x10], ecx
mov eax, dword [esi + 0x34]
push edx
push ecx
mov dword [ebp - 0xc], eax
lea eax, [ecx + 1]
mov dword [ebp - 8], edx
mov ecx, edi
push 0x6e
pop edx
mov dword [ebx + 0x28], eax
call fcn.00844d77
mov ecx, dword [ebx + 0x2c]
mov edx, esi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
inc eax
add eax, ecx
lea ebx, [ecx + 1]
mov dword [ebp - 0x20], eax
lea ecx, [eax + 1]
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], ecx
mov dword [eax + 0x2c], ecx
xor ecx, ecx
push ecx
push 4
push ecx
push ecx
push dword [ebp + 0x18]
mov ecx, eax
call fcn.00879734
add esp, 0x1c
mov dword [ebp - 0x18], eax
test eax, eax
je 0x8704fc
mov eax, dword [ebp + 8]
xor ecx, ecx
xor esi, esi
cmp cx, word [eax + 0x2a]
jge 0x870362
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + esi*4]
lea eax, [ebx + 2]
add eax, esi
push eax
test ecx, ecx
js 0x870336
mov eax, dword [ebp + 0xc]
imul edx, ecx, 0x18
mov ecx, dword [ebp - 4]
mov edx, dword [edx + eax + 4]
call fcn.0085600b
pop ecx
jmp 0x870353
push esi
push dword [ebp - 0xc]
mov edx, 0x9f
mov ecx, edi
call fcn.00844cf3
add esp, 0xc
xor edx, edx
inc edx
mov ecx, edi
call fcn.00845280
mov eax, dword [ebp + 8]
inc esi
movsx eax, word [eax + 0x2a]
cmp esi, eax
jl 0x870311
mov eax, dword [ebp + 8]
test byte [eax + 0x24], 0x20
jne 0x870395
mov esi, dword [ebp - 0xc]
mov ecx, edi
push ebx
push esi
push 0x7d
pop edx
call fcn.00844d77
mov edx, dword [ebp + 0x10]
lea eax, [ebx + 1]
pop ecx
pop ecx
push eax
test edx, edx
je 0x870390
mov esi, dword [ebp - 4]
mov ecx, esi
call fcn.0085600b
jmp 0x8703ce
push esi
push 0x7d
jmp 0x8703c2
mov ecx, eax
call fcn.00859f5b
push ebx
mov edx, 0x9f
mov ecx, edi
mov eax, dword [eax + 4]
movsx esi, word [eax]
push esi
push dword [ebp - 0xc]
call fcn.00844cf3
add esp, 0xc
lea eax, [ebx + 1]
push eax
lea eax, [ebx + 2]
add eax, esi
push eax
push 0x4c
pop edx
mov ecx, edi
call fcn.00844d77
mov esi, dword [ebp - 4]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
call fcn.00875975
mov dword [ebp - 0x24], eax
test eax, eax
je 0x8703fe
mov edx, dword [ebp - 0x14]
mov ecx, edi
call fcn.008453e3
push dword [ebp - 0xc]
mov ecx, edi
push 0x72
pop edx
call fcn.00844d63
mov esi, dword [ebp - 0x10]
pop ecx
jmp 0x87043e
mov ecx, esi
call fcn.0085d4f8
push dword [ebp - 0x20]
mov ecx, edi
push dword [ebp - 8]
push ebx
push 0x65
pop edx
call fcn.00844cf3
mov esi, dword [ebp - 0x10]
add esp, 0xc
mov ecx, edi
push dword [ebp - 0x1c]
push esi
push 0x75
pop edx
call fcn.00844d77
push dword [ebp - 0x1c]
mov ecx, edi
push dword [ebp - 0x20]
push esi
push 0x76
pop edx
call fcn.00844cf3
add esp, 0x14
cmp dword [ebp - 0x24], 0
jne 0x87047d
mov ecx, dword [ebp - 0x18]
call fcn.0087a027
push esi
push 0x25
pop edx
mov ecx, edi
call fcn.00844d63
xor esi, esi
mov dword [ebp - 0x14], eax
pop ecx
cmp dword [ebp - 8], esi
jle 0x87047d
lea eax, [esi + ebx]
mov ecx, edi
push eax
push esi
push dword [ebp - 0x10]
push 0x62
pop edx
call fcn.00844cf3
add esp, 0xc
inc esi
cmp esi, dword [ebp - 8]
jl 0x870462
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.00871c02
push 0xfffffffffffffff4
push dword [ebp - 0x2c]
mov ecx, edi
push ebx
push dword [ebp - 8]
push 0
push 0xc
pop edx
call fcn.00844e3d
mov eax, dword [ebp + 0x1c]
add esp, 0x14
movzx edx, ax
cmp eax, 0xb
mov ecx, edi
push 2
pop eax
cmove edx, eax
call fcn.00845280
mov ecx, dword [ebp - 4]
call fcn.0085d505
cmp dword [ebp - 0x24], 0
jne 0x8704f4
mov esi, dword [ebp - 0x14]
mov ecx, edi
mov ebx, dword [ebp - 0x10]
lea eax, [esi + 1]
push eax
push ebx
push 7
pop edx
call fcn.00844d77
mov edx, esi
mov ecx, edi
call fcn.00845298
push 0
push ebx
push 0x72
pop edx
mov ecx, edi
call fcn.00844d77
add esp, 0x10
jmp 0x8704fc
mov ecx, dword [ebp - 0x18]
call fcn.0087a027
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret