Function at 0x89091a
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 0x890f12
cmp dword [esi + 0x38], edi
jne 0x890f12
mov edi, edx
mov ecx, edi
call fcn.008903a5
mov dl, byte [ebp - 0x40]
mov ecx, eax
mov dword [ebp - 0xc], ecx
cmp dl, 0xc
jne 0x89098a
mov eax, dword [ebx]
push dword [eax]
push dword [ebp - 0x3c]
push 0x6e
pop edx
call fcn.0086b177
pop ecx
mov dl, 0xe
pop ecx
mov byte [ebp - 0x40], dl
test dword [ebx + 8], 0x400
je 0x8909a9
lea eax, [ebp - 0x40]
mov edx, ebx
push eax
mov ecx, edi
call fcn.0089089c
pop ecx
mov dword [ebp - 0x10], eax
jmp 0x890f41
test dword [ebx + 8], 0x2000
je 0x8909c5
lea eax, [ebp - 0x40]
mov edx, ebx
push eax
mov ecx, edi
call fcn.008905d6
pop ecx
jmp 0x890e42
cmp dword [ebx + 0x2c], 0
je 0x8909dd
push dword [ebp + 8]
mov edx, ebx
mov ecx, edi
call fcn.0089120f
pop ecx
jmp 0x890f5e
cmp dword [esi + 0x30], 0
jne 0x890a06
push 0x4a647c
push 1
push edi
call fcn.0086b2ce
add esp, 0xc
push 0x4a648c
push 1
push edi
call fcn.0086b2ce
mov dl, byte [ebp - 0x40]
add esp, 0xc
movzx eax, byte [ebx + 4]
sub eax, 0x74
je 0x890cb8
sub eax, 1
je 0x890bba
sub eax, 1
je 0x890cb8
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.0086b177
mov ecx, ebx
mov dword [ebx + 0x14], eax
call fcn.0088e8b8
push dword [ebp - 0x1c]
xor edx, edx
lea ecx, [ebp - 0x58]
inc edx
or dword [eax + 8], 0x20
call fcn.0088e7c5
add esp, 0xc
mov eax, ecx
mov edx, esi
mov ecx, edi
push eax
call fcn.008931ac
mov dword [ebp - 0x10], eax
pop ecx
test eax, eax
jne 0x890f41
mov ecx, dword [ebp - 0xc]
push eax
push dword [ebp - 0x24]
push 0x6e
pop edx
call fcn.0086b177
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.0088f9bf
push eax
push 0x4a64a0
push 1
push edi
call fcn.0086b2ce
lea eax, [ebp - 0x58]
mov edx, ebx
push eax
mov ecx, edi
call fcn.008931ac
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 0x890ae1
mov word [ebx + 6], ax
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebp - 0x18]
call fcn.008793d7
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword [ebx + 0x38], eax
call fcn.0086b3bd
mov ecx, dword [ebp - 0xc]
mov esi, eax
mov dword [ebp - 0x28], esi
call fcn.0086b3bd
mov edx, dword [ebp - 0x14]
mov ecx, edi
push esi
mov ebx, eax
call fcn.008903c5
pop ecx
mov ecx, dword [ebp - 0xc]
push esi
push dword [ebp - 0x1c]
push 0x25
pop edx
call fcn.0086b177
mov ecx, edi
call fcn.0087d503
mov ecx, dword [ebp - 0xc]
mov esi, eax
push esi
push dword [ebp - 0x1c]
push 0x7c
pop edx
call fcn.0086b177
mov ecx, dword [ebp - 0xc]
mov edi, eax
push 0
push esi
push ebx
push dword [ebp - 0x24]
push 0x1d
pop edx
call fcn.0086b36e
mov ecx, dword [ebp - 8]
mov edx, esi
call fcn.0087d522
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.0088f191
mov edx, ebx
mov ebx, dword [ebp - 0xc]
mov ecx, ebx
call fcn.0086b3ff
push edi
mov edi, dword [ebp - 0x1c]
push edi
push 7
pop edx
call fcn.0086b177
add esp, 0x40
mov edx, esi
mov ecx, ebx
call fcn.0086b3ff
push 0
lea eax, [edi + 1]
push eax
push 0x72
pop edx
call fcn.0086b177
push 0
push edi
push 0x72
pop edx
mov ecx, ebx
call fcn.0086b177
add esp, 0x10
jmp 0x890e2f
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.008931ac
and dword [ebx + 0x38], 0
mov dword [ebp - 0x10], eax
pop ecx
test eax, eax
jne 0x890f41
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 0x890c2e
push ecx
mov ecx, dword [ebp - 0xc]
push 0x16
pop edx
call fcn.0086b163
pop ecx
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x24], eax
test ecx, ecx
je 0x890c2e
push ecx
inc ecx
mov edx, 0x95
push ecx
push dword [ebx + 0xc]
mov ecx, dword [ebp - 0xc]
call fcn.0086b0f3
add esp, 0xc
push 0x4a6388
push 1
push edi
call fcn.0086b2ce
add esp, 0xc
lea eax, [ebp - 0x40]
mov edx, ebx
mov ecx, edi
push eax
call fcn.008931ac
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.00857031
mov word [ebx + 6], ax
mov ecx, dword [esi + 0x38]
mov word [ebp - 6], ax
test ecx, ecx
je 0x890c9e
mov ecx, dword [ecx + 0xc]
lea edx, [ebp - 0x28]
call fcn.00879fdd
test eax, eax
je 0x890c9e
mov eax, dword [ebp - 0x28]
test eax, eax
jle 0x890c9e
cdq
push edx
push eax
call fcn.00857091
pop ecx
pop ecx
cmp word [ebp - 6], ax
jle 0x890c9e
mov word [ebx + 6], ax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x890e35
mov ecx, dword [ebp - 0xc]
mov edx, eax
call fcn.0086b698
jmp 0x890e35
cmp dl, 1
jne 0x890cc5
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], eax
jmp 0x890cf2
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.0086b177
pop ecx
pop ecx
mov ecx, ebx
mov dword [ebx + 0x14], eax
call fcn.0088e8b8
or dword [eax + 8], 0x20
mov eax, dword [ebp - 0x1c]
xor edx, edx
lea ecx, [ebp - 0x70]
push eax
inc edx
call fcn.0088e7c5
add esp, 4
mov eax, ecx
mov edx, esi
mov ecx, edi
push eax
call fcn.008931ac
mov dword [ebp - 0x10], eax
pop ecx
test eax, eax
jne 0x890f41
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.0088f9bf
push eax
push 0x4a64a0
push 1
push edi
call fcn.0086b2ce
lea eax, [ebp - 0x70]
mov edx, ebx
push eax
mov ecx, edi
call fcn.008931ac
mov edx, dword [ebx + 0x2c]
add esp, 0x14
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
call fcn.00879dd0
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 0x890d8b
mov dx, word [esi + 6]
mov cx, word [ebx + 6]
call fcn.00857031
mov word [ebx + 6], ax
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebp - 0x18]
call fcn.008793d7
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 0x890e35
mov esi, dword [ebp - 0xc]
mov ecx, esi
call fcn.0086b3bd
mov ecx, esi
mov ebx, eax
call fcn.0086b3bd
mov edx, dword [ebp - 0x14]
mov edi, eax
mov ecx, dword [ebp - 8]
push ebx
call fcn.008903c5
pop ecx
push ebx
push dword [ebp - 0x1c]
mov ecx, esi
push 0x25
pop edx
call fcn.0086b177
mov ecx, esi
call fcn.0086b561
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.0088f191
mov edx, edi
mov edi, dword [ebp - 0xc]
mov ecx, edi
call fcn.0086b3ff
push esi
mov esi, dword [ebp - 0x1c]
push esi
push 7
pop edx
call fcn.0086b177
mov edx, ebx
mov ecx, edi
call fcn.0086b3ff
push 0
push esi
push 0x72
pop edx
call fcn.0086b177
add esp, 0x30
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 0x14]
cmp dword [ebx + 0x34], 0
jne 0x890e42
mov ecx, edi
call fcn.0086b322
test byte [ebx + 8], 0x20
je 0x890f41
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.0088f8a5
mov dword [ebp - 8], eax
pop ecx
test eax, eax
jne 0x890e73
mov dword [ebp - 0x10], 7
jmp 0x890f41
mov ecx, dword [ebp - 0x1c]
lea esi, [eax + 0x14]
xor eax, eax
mov dword [ebp - 0x24], eax
test ecx, ecx
jle 0x890eac
push eax
mov edx, ebx
mov ecx, edi
call fcn.008904d9
mov dword [esi], eax
pop ecx
test eax, eax
jne 0x890e9b
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 0x890e82
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 0x890ef8
push ecx
mov edx, eax
mov ecx, esi
call fcn.0086b660
pop ecx
push 0xfffffffffffffff7
mov ecx, ebx
call fcn.0088f933
mov edx, dword [ebp - 0x28]
mov ecx, esi
push eax
call fcn.0086b8a2
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 0x890eb9
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [ebx + 0x30]
mov dword [ebp - 0x14], ebx
test ebx, ebx
jne 0x890eac
mov ecx, dword [ebp - 8]
call fcn.0088f91f
jmp 0x890f41
movzx ecx, byte [ebx + 4]
call fcn.0088f9bf
push eax
mov ecx, 0x4a6448
test edi, edi
mov eax, 0x4a643c
cmove eax, ecx
push eax
push 0x4a6450
push edx
call fcn.00856054
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.0088e8a2
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret