Function at 0x86a51a
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
and dword [ebp - 0x10], 0
and dword [ebp - 0x20], 0
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
push edi
mov edx, ecx
mov dword [ebp - 0x14], ebx
push 6
pop ecx
lea edi, [ebp - 0x40]
mov dword [ebp - 8], edx
mov eax, dword [edx]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x30]
mov esi, eax
mov edi, dword [esi + 0x2c]
test edi, edi
jne 0x86ab12
cmp dword [esi + 0x38], edi
jne 0x86ab12
mov edi, edx
mov ecx, edi
call fcn.00869fa5
mov dl, byte [ebp - 0x40]
mov ecx, eax
mov dword [ebp - 0xc], ecx
cmp dl, 0xc
jne 0x86a58a
mov eax, dword [ebx]
push dword [eax]
push dword [ebp - 0x3c]
push 0x6e
pop edx
call fcn.00844d77
pop ecx
mov dl, 0xe
pop ecx
mov byte [ebp - 0x40], dl
test dword [ebx + 8], 0x400
je 0x86a5a9
lea eax, [ebp - 0x40]
mov edx, ebx
push eax
mov ecx, edi
call fcn.0086a49c
pop ecx
mov dword [ebp - 0x10], eax
jmp 0x86ab41
test dword [ebx + 8], 0x2000
je 0x86a5c5
lea eax, [ebp - 0x40]
mov edx, ebx
push eax
mov ecx, edi
call fcn.0086a1d6
pop ecx
jmp 0x86aa42
cmp dword [ebx + 0x2c], 0
je 0x86a5dd
push dword [ebp + 8]
mov edx, ebx
mov ecx, edi
call fcn.0086ae0f
pop ecx
jmp 0x86ab5e
cmp dword [esi + 0x30], 0
jne 0x86a606
push 0x4a647c
push 1
push edi
call fcn.00844ece
add esp, 0xc
push 0x4a648c
push 1
push edi
call fcn.00844ece
mov dl, byte [ebp - 0x40]
add esp, 0xc
movzx eax, byte [ebx + 4]
sub eax, 0x74
je 0x86a8b8
sub eax, 1
je 0x86a7ba
sub eax, 1
je 0x86a8b8
mov ecx, dword [edi + 0x28]
push 0
push ecx
mov dword [ebp - 0x1c], ecx
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
inc eax
push 0x6e
pop edx
mov dword [edi + 0x28], eax
call fcn.00844d77
mov ecx, ebx
mov dword [ebx + 0x14], eax
call fcn.008684b8
push dword [ebp - 0x1c]
xor edx, edx
lea ecx, [ebp - 0x58]
inc edx
or dword [eax + 8], 0x20
call fcn.008683c5
add esp, 0xc
mov eax, ecx
mov edx, esi
mov ecx, edi
push eax
call fcn.0086cdac
mov dword [ebp - 0x10], eax
pop ecx
test eax, eax
jne 0x86ab41
mov ecx, dword [ebp - 0xc]
push eax
push dword [ebp - 0x24]
push 0x6e
pop edx
call fcn.00844d77
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 0x38]
movzx ecx, byte [ebx + 4]
and dword [ebx + 0x30], 0
and dword [ebx + 0x38], 0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x54], eax
call fcn.008695bf
push eax
push 0x4a64a0
push 1
push edi
call fcn.00844ece
lea eax, [ebp - 0x58]
mov edx, ebx
push eax
mov ecx, edi
call fcn.0086cdac
mov dword [ebp - 0x10], eax
add esp, 0x1c
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x20], eax
mov dword [ebx + 0x30], esi
movzx eax, word [esi + 6]
cmp word [ebx + 6], ax
jle 0x86a6e1
mov word [ebx + 6], ax
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebp - 0x18]
call fcn.00852fd7
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword [ebx + 0x38], eax
call fcn.00844fbd
mov ecx, dword [ebp - 0xc]
mov esi, eax
mov dword [ebp - 0x28], esi
call fcn.00844fbd
mov edx, dword [ebp - 0x14]
mov ecx, edi
push esi
mov ebx, eax
call fcn.00869fc5
pop ecx
mov ecx, dword [ebp - 0xc]
push esi
push dword [ebp - 0x1c]
push 0x25
pop edx
call fcn.00844d77
mov ecx, edi
call fcn.00857103
mov ecx, dword [ebp - 0xc]
mov esi, eax
push esi
push dword [ebp - 0x1c]
push 0x7c
pop edx
call fcn.00844d77
mov ecx, dword [ebp - 0xc]
mov edi, eax
push 0
push esi
push ebx
push dword [ebp - 0x24]
push 0x1d
pop edx
call fcn.00844f6e
mov ecx, dword [ebp - 8]
mov edx, esi
call fcn.00857122
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x14]
push esi
push ebx
push eax
push 0
push 0
push dword [ebp - 0x1c]
call fcn.00868d91
mov edx, ebx
mov ebx, dword [ebp - 0xc]
mov ecx, ebx
call fcn.00844fff
push edi
mov edi, dword [ebp - 0x1c]
push edi
push 7
pop edx
call fcn.00844d77
add esp, 0x40
mov edx, esi
mov ecx, ebx
call fcn.00844fff
push 0
lea eax, [edi + 1]
push eax
push 0x72
pop edx
call fcn.00844d77
push 0
push edi
push 0x72
pop edx
mov ecx, ebx
call fcn.00844d77
add esp, 0x10
jmp 0x86aa2f
xor eax, eax
mov edx, esi
mov dword [ebp - 0x24], eax
mov ecx, edi
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x38]
mov dword [esi + 0x38], eax
lea eax, [ebp - 0x40]
push eax
call fcn.0086cdac
and dword [ebx + 0x38], 0
mov dword [ebp - 0x10], eax
pop ecx
test eax, eax
jne 0x86ab41
and dword [ebx + 0x30], eax
mov ecx, dword [esi + 0xc]
mov dword [ebx + 0xc], ecx
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
test ecx, ecx
je 0x86a82e
push ecx
mov ecx, dword [ebp - 0xc]
push 0x16
pop edx
call fcn.00844d63
pop ecx
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x24], eax
test ecx, ecx
je 0x86a82e
push ecx
inc ecx
mov edx, 0x95
push ecx
push dword [ebx + 0xc]
mov ecx, dword [ebp - 0xc]
call fcn.00844cf3
add esp, 0xc
push 0x4a6388
push 1
push edi
call fcn.00844ece
add esp, 0xc
lea eax, [ebp - 0x40]
mov edx, ebx
mov ecx, edi
push eax
call fcn.0086cdac
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x30]
pop ecx
mov cx, word [ebx + 6]
mov dword [ebx + 0x30], esi
mov dx, word [esi + 6]
mov dword [ebp - 0x20], eax
call fcn.00830c31
mov word [ebx + 6], ax
mov ecx, dword [esi + 0x38]
mov word [ebp - 6], ax
test ecx, ecx
je 0x86a89e
mov ecx, dword [ecx + 0xc]
lea edx, [ebp - 0x28]
call fcn.00853bdd
test eax, eax
je 0x86a89e
mov eax, dword [ebp - 0x28]
test eax, eax
jle 0x86a89e
cdq
push edx
push eax
call fcn.00830c91
pop ecx
pop ecx
cmp word [ebp - 6], ax
jle 0x86a89e
mov word [ebx + 6], ax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x86aa35
mov ecx, dword [ebp - 0xc]
mov edx, eax
call fcn.00845298
jmp 0x86aa35
cmp dl, 1
jne 0x86a8c5
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], eax
jmp 0x86a8f2
mov ecx, dword [edi + 0x28]
push 0
push ecx
mov dword [ebp - 0x1c], ecx
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0xc]
push 0x6e
pop edx
mov dword [edi + 0x28], eax
call fcn.00844d77
pop ecx
pop ecx
mov ecx, ebx
mov dword [ebx + 0x14], eax
call fcn.008684b8
or dword [eax + 8], 0x20
mov eax, dword [ebp - 0x1c]
xor edx, edx
lea ecx, [ebp - 0x70]
push eax
inc edx
call fcn.008683c5
add esp, 4
mov eax, ecx
mov edx, esi
mov ecx, edi
push eax
call fcn.0086cdac
mov dword [ebp - 0x10], eax
pop ecx
test eax, eax
jne 0x86ab41
and dword [ebx + 0x30], eax
mov eax, dword [ebx + 0x38]
and dword [ebx + 0x38], 0
cmp byte [ebx + 4], 0x76
movzx ecx, byte [ebx + 4]
mov dword [ebp - 0x28], eax
sete al
inc al
mov byte [ebp - 0x70], al
call fcn.008695bf
push eax
push 0x4a64a0
push 1
push edi
call fcn.00844ece
lea eax, [ebp - 0x70]
mov edx, ebx
push eax
mov ecx, edi
call fcn.0086cdac
mov edx, dword [ebx + 0x2c]
add esp, 0x14
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
call fcn.008539d0
mov eax, dword [ebx + 0x30]
and dword [ebx + 0x2c], 0
cmp byte [ebx + 4], 0x74
mov dword [ebp - 0x20], eax
mov dword [ebx + 0x30], esi
jne 0x86a98b
mov dx, word [esi + 6]
mov cx, word [ebx + 6]
call fcn.00830c31
mov word [ebx + 6], ax
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebp - 0x18]
call fcn.00852fd7
and dword [ebx + 0xc], 0
and dword [ebx + 0x10], 0
cmp byte [ebp - 0x40], 1
mov eax, dword [ebp - 0x28]
mov dword [ebx + 0x38], eax
je 0x86aa35
mov esi, dword [ebp - 0xc]
mov ecx, esi
call fcn.00844fbd
mov ecx, esi
mov ebx, eax
call fcn.00844fbd
mov edx, dword [ebp - 0x14]
mov edi, eax
mov ecx, dword [ebp - 8]
push ebx
call fcn.00869fc5
pop ecx
push ebx
push dword [ebp - 0x1c]
mov ecx, esi
push 0x25
pop edx
call fcn.00844d77
mov ecx, esi
call fcn.00845161
mov edx, dword [ebp - 0x14]
mov esi, eax
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x40]
push ebx
push edi
push eax
push 0
push 0
push dword [ebp - 0x1c]
call fcn.00868d91
mov edx, edi
mov edi, dword [ebp - 0xc]
mov ecx, edi
call fcn.00844fff
push esi
mov esi, dword [ebp - 0x1c]
push esi
push 7
pop edx
call fcn.00844d77
mov edx, ebx
mov ecx, edi
call fcn.00844fff
push 0
push esi
push 0x72
pop edx
call fcn.00844d77
add esp, 0x30
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 0x14]
cmp dword [ebx + 0x34], 0
jne 0x86aa42
mov ecx, edi
call fcn.00844f22
test byte [ebx + 8], 0x20
je 0x86ab41
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x18]
push 1
mov eax, dword [eax]
mov edx, eax
mov dword [ebp - 0x1c], eax
call fcn.008694a5
mov dword [ebp - 8], eax
pop ecx
test eax, eax
jne 0x86aa73
mov dword [ebp - 0x10], 7
jmp 0x86ab41
mov ecx, dword [ebp - 0x1c]
lea esi, [eax + 0x14]
xor eax, eax
mov dword [ebp - 0x24], eax
test ecx, ecx
jle 0x86aaac
push eax
mov edx, ebx
mov ecx, edi
call fcn.0086a0d9
mov dword [esi], eax
pop ecx
test eax, eax
jne 0x86aa9b
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [esi], eax
mov eax, dword [ebp - 0x24]
add esi, 4
mov ecx, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, ecx
jl 0x86aa82
and dword [ebp - 0x24], 0
lea edi, [ebx + 0x14]
mov esi, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
mov eax, dword [edi]
mov dword [ebp - 0x28], eax
test eax, eax
js 0x86aaf8
push ecx
mov edx, eax
mov ecx, esi
call fcn.00845260
pop ecx
push 0xfffffffffffffff7
mov ecx, ebx
call fcn.00869533
mov edx, dword [ebp - 0x28]
mov ecx, esi
push eax
call fcn.008454a2
or dword [edi], 0xffffffff
add edi, 4
mov edx, dword [ebp - 0x24]
pop ecx
inc edx
mov dword [ebp - 0x24], edx
pop ecx
mov ecx, dword [ebp - 0x1c]
cmp edx, 2
jl 0x86aab9
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [ebx + 0x30]
mov dword [ebp - 0x14], ebx
test ebx, ebx
jne 0x86aaac
mov ecx, dword [ebp - 8]
call fcn.0086951f
jmp 0x86ab41
movzx ecx, byte [ebx + 4]
call fcn.008695bf
push eax
mov ecx, 0x4a6448
test edi, edi
mov eax, 0x4a643c
cmove eax, ecx
push eax
push 0x4a6450
push edx
call fcn.0082fc54
add esp, 0x10
mov dword [ebp - 0x10], 1
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x20]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x34]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x18]
call fcn.008684a2
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret