Function at 0x89c459
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
mov edi, ecx
xor eax, eax
mov esi, edx
mov dword [ebp - 8], edi
push 0x14
pop edx
mov ebx, dword [edi + 8]
mov ecx, ebx
mov dword [ebp - 0x3c], esi
mov byte [ebp - 1], al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x38], ebx
call fcn.0086b155
mov esi, dword [esi + 0x14]
xorps xmm0, xmm0
and dword [ebp - 0xc], 0
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 8]
movlpd qword [ebp - 0x48], xmm0
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x3c]
imul edx, dword [eax + 0xc], 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x40]
add edx, esi
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x18], ecx
cmp esi, edx
jae 0x89c5f5
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x18]
mov ecx, dword [esi]
mov dword [ebp - 0x44], ecx
mov eax, dword [edx]
or eax, dword [edx + 4]
jne 0x89c514
test byte [esi + 0xa], 2
jne 0x89c514
test byte [ecx + 4], 1
jne 0x89c514
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x2c]
call fcn.00879f06
test eax, eax
je 0x89c514
mov edx, dword [ebp - 0x44]
mov ecx, dword [edi]
push 0
call fcn.0087971c
mov edx, dword [ebp - 0x1c]
pop ecx
mov ecx, dword [edi]
push eax
call fcn.00879137
pop ecx
mov dword [ebp - 0x1c], eax
push dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov ecx, esi
push dword [ebp + 0xc]
call fcn.0089c3f7
pop ecx
pop ecx
test eax, eax
je 0x89c5de
mov edx, dword [esi + 0x1c]
xor edi, edi
cmp edx, 0x40
jl 0x89c541
mov dword [ebp - 0x24], 0x80000000
jmp 0x89c559
mov eax, edx
xor ecx, ecx
bts edi, eax
cmp eax, 0x20
cmovae ecx, edi
xor edi, ecx
cmp eax, 0x40
cmovae ecx, edi
mov dword [ebp - 0x24], ecx
cmp byte [ebp - 1], 0
jne 0x89c582
mov ecx, dword [ebp - 0x28]
add edx, edx
mov eax, dword [ecx + 4]
push dword [eax + edx*8]
push dword [ecx]
push 0x4a6f2c
push 0x11c
call fcn.00855699
add esp, 0x10
mov byte [ebp - 1], 1
mov eax, dword [ebp - 0x24]
mov ecx, edi
mov edx, dword [ebp - 0x14]
and eax, edx
and ecx, dword [ebp - 0x10]
or ecx, eax
jne 0x89c5d9
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
inc eax
push eax
mov ecx, dword [ecx]
mov dword [ebp - 0x44], eax
call fcn.0089cda8
pop ecx
test eax, eax
jne 0x89c9ed
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
mov eax, dword [ecx + 0x30]
mov dword [eax + edx*4], esi
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
or eax, edi
or edx, dword [ebp - 0x24]
mov edi, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edx
jmp 0x89c5e7
mov edi, dword [ebp - 8]
jmp 0x89c5e1
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
add esi, 0x30
cmp esi, dword [ebp - 0x34]
jb 0x89c4ce
jmp 0x89c5fb
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
mov esi, dword [ebp - 0xc]
not eax
mov word [ecx + 0x28], si
not edx
mov word [ecx + 0x18], si
or edx, 0x80000000
mov dword [ecx + 0x24], 0x4241
xor esi, esi
mov ecx, dword [ebp + 8]
push 0x3f
and eax, dword [ecx + 0x38]
and edx, dword [ecx + 0x3c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], edx
movzx ecx, word [eax + 0x2a]
pop eax
mov dword [ebp - 0x44], ecx
cmp ax, cx
jge 0x89c63f
mov dword [ebp - 0x24], eax
jmp 0x89c649
movsx eax, cx
mov dword [ebp - 0x24], eax
test eax, eax
jle 0x89c680
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x14]
xor edx, edx
xor ecx, ecx
mov eax, esi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [ebp - 0x10]
and ecx, edi
or edx, ecx
je 0x89c672
inc dword [ebp - 0xc]
inc esi
cmp esi, ebx
jl 0x89c64f
mov ebx, dword [ebp - 0x38]
mov edi, dword [ebp - 8]
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x3c], 0
jg 0x89c69f
jl 0x89c691
cmp dword [eax + 0x38], 0
jae 0x89c69f
movsx eax, cx
mov ecx, dword [ebp - 0xc]
add ecx, 0xffffffc1
add ecx, eax
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x54]
mov ecx, dword [edi]
push eax
push 0
lea edx, [edx + 1]
call fcn.008824f5
mov esi, eax
mov dword [ebp - 0x54], esi
pop ecx
pop ecx
test esi, esi
je 0x89c9f0
mov eax, dword [ebp - 0x18]
xor edi, edi
xorps xmm0, xmm0
movlpd qword [ebp - 0x48], xmm0
mov dword [eax + 0x20], esi
mov eax, dword [ebp - 0x28]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x3c]
mov dword [esi], 0x4a6f48
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x20], eax
cmp eax, dword [ebp - 0x34]
jae 0x89c7a8
mov ecx, dword [ebp - 0x44]
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x2c], ecx
push dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov ecx, eax
push dword [ebp + 0xc]
call fcn.0089c3f7
pop ecx
pop ecx
test eax, eax
je 0x89c793
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x1c]
xor eax, eax
cmp ecx, 0x40
jl 0x89c728
mov edx, 0x80000000
jmp 0x89c73b
xor edx, edx
bts eax, ecx
cmp ecx, 0x20
cmovae edx, eax
xor eax, edx
cmp ecx, 0x40
cmovae edx, eax
mov ecx, eax
mov dword [ebp - 0x40], eax
and ecx, dword [ebp - 0x2c]
mov eax, edx
and eax, dword [ebp - 0x30]
or ecx, eax
mov dword [ebp - 0x44], edx
jne 0x89c793
mov ecx, dword [ebp - 0x2c]
or ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x30]
or ecx, dword [ebp - 0x44]
mov edx, dword [eax]
mov ax, word [eax + 0x1c]
mov dword [ebp - 0x30], ecx
mov ecx, dword [esi + 4]
mov word [ecx + edi*2], ax
mov ecx, ebx
push dword [edx + 0x10]
mov edx, dword [edx + 0xc]
call fcn.00878a92
pop ecx
test eax, eax
je 0x89c787
mov ecx, dword [eax]
jmp 0x89c78c
mov ecx, 0x49da38
mov eax, dword [esi + 0x20]
mov dword [eax + edi*4], ecx
inc edi
mov eax, dword [ebp - 0x20]
add eax, 0x30
mov dword [ebp - 0x20], eax
cmp eax, dword [ebp - 0x34]
jb 0x89c6fe
mov ebx, dword [ebp - 0x38]
and dword [ebp - 0x44], 0
cmp dword [ebp - 0x24], 0
jle 0x89c7f1
mov ebx, dword [ebp - 0x44]
xor edx, edx
xor ecx, ecx
mov eax, ebx
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [ebp - 0x10]
and ecx, dword [ebp - 0x14]
or edx, ecx
je 0x89c7e8
mov eax, dword [esi + 4]
mov word [eax + edi*2], bx
mov eax, dword [esi + 0x20]
mov dword [eax + edi*4], 0x49da38
inc edi
inc ebx
cmp ebx, dword [ebp - 0x24]
jl 0x89c7b5
mov ebx, dword [ebp - 0x38]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x3c], 0
jg 0x89c829
jl 0x89c802
cmp dword [eax + 0x38], 0
jae 0x89c829
mov edx, dword [ebp - 0x28]
push 0x3f
pop ecx
cmp cx, word [edx + 0x2a]
jge 0x89c829
mov eax, dword [esi + 4]
mov word [eax + edi*2], cx
mov eax, dword [esi + 0x20]
mov dword [eax + edi*4], 0x49da38
inc edi
movsx eax, word [edx + 0x2a]
inc ecx
cmp ecx, eax
jl 0x89c80e
mov eax, dword [esi + 4]
or ecx, 0xffffffff
mov edx, dword [ebp + 0x14]
mov word [eax + edi*2], cx
mov eax, dword [esi + 0x20]
mov ecx, dword [ebp - 8]
mov dword [eax + edi*4], 0x49da38
mov eax, dword [ecx + 0x28]
mov dword [edx + 8], eax
inc dword [ecx + 0x28]
mov ecx, ebx
mov eax, dword [ebp - 0xc]
inc eax
push eax
push dword [edx + 8]
push 0x6d
pop edx
call fcn.0086b177
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
mov edx, esi
call fcn.0086b94f
mov ecx, dword [ebp - 8]
call fcn.0087b3b4
mov ecx, dword [ebp + 0x14]
movzx eax, byte [ecx + 0x2c]
imul esi, eax, 0x48
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov dword [ebp - 0x44], esi
mov eax, dword [eax + 4]
mov dword [ebp - 0x3c], eax
test byte [esi + eax + 0x30], 0x10
je 0x89c8d0
mov esi, dword [esi + eax + 0x24]
mov ecx, ebx
push 0
push 0
push 0x43
pop edx
call fcn.0086b177
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x44]
push dword [eax + ecx + 0x20]
mov ecx, ebx
push 0
push esi
push 0xf
pop edx
call fcn.0086b0f3
add esp, 0x14
mov ecx, ebx
push esi
push 0x10
pop edx
call fcn.0086b163
mov esi, dword [ebp - 0x44]
jmp 0x89c8dd
push dword [ecx + 4]
mov ecx, ebx
push 0x25
pop edx
call fcn.0086b163
cmp dword [ebp - 0x1c], 0
mov dword [ebp + 8], eax
pop ecx
je 0x89c90c
mov ecx, ebx
call fcn.0086b3bd
push 0x10
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x4c], eax
push dword [ebp - 8]
call fcn.0087c9b1
mov eax, dword [ebp - 0x18]
add esp, 0x10
or dword [eax + 0x24], 0x20000
mov ecx, dword [ebp - 8]
call fcn.0087d503
xor edx, edx
mov dword [ebp - 0x44], eax
push edx
push edx
push edx
push edx
mov edx, dword [ebp - 0x54]
push eax
mov eax, dword [ebp + 0x14]
push dword [eax + 4]
call fcn.0088512f
push dword [ebp - 0x44]
mov dword [ebp - 0x54], eax
mov edx, 0x81
mov eax, dword [ebp + 0x14]
mov ecx, ebx
push dword [eax + 8]
call fcn.0086b177
add esp, 0x20
mov ecx, ebx
push 0x10
pop edx
call fcn.0086b680
cmp dword [ebp - 0x1c], 0
je 0x89c95f
mov edx, dword [ebp - 0x4c]
call fcn.0086b3ff
mov eax, dword [ebp - 0x3c]
mov ecx, ebx
test byte [esi + eax + 0x30], 0x10
je 0x89c9a8
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
add eax, edi
push eax
call fcn.0086b660
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
pop ecx
mov ecx, dword [ebp - 8]
push 1
push dword [esi + edi + 0x28]
push dword [eax + 4]
call fcn.0089c376
mov edx, dword [ebp + 8]
add esp, 0xc
mov ecx, ebx
call fcn.0086b18c
and dword [esi + edi + 0x30], 0xffffffef
jmp 0x89c9bd
mov eax, dword [ebp + 8]
inc eax
push eax
mov eax, dword [ebp + 0x14]
push dword [eax + 4]
push 7
pop edx
call fcn.0086b177
pop ecx
pop ecx
push 3
pop edx
mov ecx, ebx
call fcn.0086b680
mov edx, dword [ebp + 8]
call fcn.0086b698
mov edi, dword [ebp - 8]
mov ecx, edi
mov edx, dword [ebp - 0x44]
call fcn.0087d522
call fcn.0087b3b8
mov edx, dword [ebp - 0x58]
mov ecx, ebx
call fcn.0086b698
jmp 0x89c9f0
mov edi, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edi]
call fcn.008793d7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret