Function at 0x860d27
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0xc], edi
call fcn.00869fa5
mov esi, eax
mov eax, dword [edi + 0x28]
dec eax
mov ecx, esi
mov dword [ebp - 8], eax
call fcn.00844fbd
cmp dword [ebp + 0x1c], 0
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 4], eax
jge 0x860d6b
movzx ecx, byte [ebx + 0x18]
push eax
push ecx
push 0x2f
pop edx
mov ecx, esi
call fcn.00844d77
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x14], eax
cmp dword [ebx + 0x14], eax
jle 0x860da1
mov edi, dword [ebp - 4]
mov ecx, dword [ebp + 0x14]
push edi
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebp + 0x18]
inc ecx
add eax, ecx
mov ecx, esi
push eax
push 0x32
pop edx
call fcn.00844d77
mov eax, dword [ebp - 0x14]
inc eax
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
cmp eax, dword [ebx + 0x14]
jl 0x860d78
mov edi, dword [ebp - 0xc]
cmp dword [ebp + 0x20], 0
jne 0x860fc7
cmp dword [ebp + 0xc], 0
mov ecx, edi
jne 0x860e77
call fcn.00857103
push eax
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x18]
inc eax
add ecx, eax
push ecx
push 0x4c
pop edx
mov ecx, esi
call fcn.00844d77
push 0
push dword [ebp + 0x10]
mov ecx, esi
push 0x11
pop edx
call fcn.00844d77
mov dword [ebp + 0x20], eax
add esp, 0x10
mov eax, dword [ebp + 8]
cmp eax, dword [ebx]
jne 0x860e1d
cmp dword [ebp + 0x1c], 1
jne 0x860e1d
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp - 4]
push dword [ebp + 0x18]
push 0x35
pop edx
call fcn.00844cf3
add esp, 0xc
mov edx, 0x90
mov ecx, esi
call fcn.00845280
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov ecx, edi
push 0x6a
push eax
push dword [ebp - 0x18]
call fcn.0086202c
add esp, 0xc
mov ecx, esi
push dword [ebp + 0x10]
push 0
push dword [ebp - 8]
push 0x20
pop edx
call fcn.00844cf3
mov edx, dword [ebp - 4]
add esp, 0xc
mov ecx, esi
call fcn.00844d8c
mov ecx, esi
call fcn.00845161
lea edx, [eax - 2]
call fcn.00845298
mov edx, dword [ebp + 0x20]
mov ecx, esi
call fcn.00845298
mov edx, dword [ebp + 0x10]
mov ecx, edi
call fcn.00857122
jmp 0x860fc7
mov eax, dword [ebx + 0x14]
mov edx, eax
mov dword [ebp + 0x20], eax
call fcn.00857165
mov ecx, edi
mov dword [ebp - 0x14], eax
call fcn.00857103
push dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov ecx, esi
mov eax, dword [ebp + 0xc]
push dword [eax + 0x2c]
push dword [ebp - 8]
push 0x6a
pop edx
call fcn.00844cf3
mov edx, dword [ebp + 0xc]
add esp, 0xc
mov ecx, edi
call fcn.0084554f
and dword [ebp - 0x18], 0
mov edx, dword [ebp + 0x20]
test edx, edx
jle 0x860ef1
mov ebx, dword [ebp - 0x18]
mov edi, edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x18]
add eax, ebx
push eax
mov eax, dword [ebp + 0x14]
inc ecx
mov eax, dword [eax + ebx*4]
add eax, ecx
mov ecx, esi
push eax
push 0x4b
pop edx
call fcn.00844d77
inc ebx
pop ecx
pop ecx
cmp ebx, edi
jl 0x860ec4
mov edi, dword [ebp - 0xc]
mov ebx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 8]
cmp eax, dword [ebx]
jne 0x860f74
cmp dword [ebp + 0x1c], 1
jne 0x860f74
mov ecx, esi
call fcn.00845161
inc eax
xor ecx, ecx
add eax, edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
test edx, edx
jle 0x860f6a
mov edi, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
lea edx, [edi + 1]
mov ebx, dword [ebp + 8]
mov eax, dword [eax + ecx*4]
add edx, eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
movzx ecx, word [eax + ecx*2]
movsx eax, cx
inc eax
add eax, edi
cmp cx, word [ebx + 0x28]
mov ecx, esi
cmove eax, edi
push eax
push dword [ebp - 0x1c]
push edx
push 0x34
pop edx
call fcn.00844cf3
add esp, 0xc
mov ecx, esi
push 0x10
pop edx
call fcn.00845280
mov ecx, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x18], ecx
cmp ecx, dword [ebp + 0x20]
jl 0x860f17
mov edi, dword [ebp - 0xc]
mov ebx, dword [ebp + 0x10]
mov edx, dword [ebp - 4]
mov ecx, esi
call fcn.00844d8c
push dword [ebp + 0x20]
mov edx, dword [ebp + 0xc]
push ecx
mov ecx, dword [edi]
call fcn.008620b2
pop ecx
push eax
push dword [ebp - 0x10]
mov ecx, esi
push dword [ebp + 0x20]
push dword [ebp - 0x14]
push 0x65
pop edx
call fcn.00844e3d
add esp, 0x14
mov ecx, esi
push 0
push dword [ebp - 0x10]
push dword [ebp - 4]
push dword [ebp - 8]
push 0x1e
pop edx
call fcn.00844f6e
mov edx, dword [ebp - 0x10]
mov ecx, edi
call fcn.00857122
push dword [ebp + 0x20]
mov edx, dword [ebp - 0x14]
call fcn.0085719b
add esp, 0x14
mov cl, byte [ebx + 0x18]
test cl, cl
jne 0x860ffd
mov eax, dword [edi]
test dword [eax + 0x1c], 0x80000
jne 0x860ffd
cmp dword [edi + 0x78], 0
jne 0x860ffd
cmp byte [edi + 0x14], cl
jne 0x860ffd
push 4
push 0xffffffffffffffff
push 0
push 2
mov edx, 0x313
mov ecx, edi
call fcn.0085d512
add esp, 0x10
jmp 0x861024
cmp dword [ebp + 0x1c], 0
jle 0x86100e
test cl, cl
jne 0x86100e
mov ecx, edi
call fcn.0085d505
push dword [ebp + 0x1c]
movzx eax, byte [ebx + 0x18]
mov edx, 0x93
push eax
mov ecx, esi
call fcn.00844d77
pop ecx
pop ecx
mov edx, dword [ebp - 4]
mov ecx, esi
call fcn.00844fff
push dword [ebp - 8]
push 0x72
pop edx
call fcn.00844d63
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret