Function at 0x876059
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.00844d55
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 0x8761f5
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 0x876114
test byte [esi + 0xa], 2
jne 0x876114
test byte [ecx + 4], 1
jne 0x876114
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x2c]
call fcn.00853b06
test eax, eax
je 0x876114
mov edx, dword [ebp - 0x44]
mov ecx, dword [edi]
push 0
call fcn.0085331c
mov edx, dword [ebp - 0x1c]
pop ecx
mov ecx, dword [edi]
push eax
call fcn.00852d37
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.00875ff7
pop ecx
pop ecx
test eax, eax
je 0x8761de
mov edx, dword [esi + 0x1c]
xor edi, edi
cmp edx, 0x40
jl 0x876141
mov dword [ebp - 0x24], 0x80000000
jmp 0x876159
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 0x876182
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.0082f299
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 0x8761d9
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.008769a8
pop ecx
test eax, eax
jne 0x8765ed
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 0x8761e7
mov edi, dword [ebp - 8]
jmp 0x8761e1
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
add esi, 0x30
cmp esi, dword [ebp - 0x34]
jb 0x8760ce
jmp 0x8761fb
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 0x87623f
mov dword [ebp - 0x24], eax
jmp 0x876249
movsx eax, cx
mov dword [ebp - 0x24], eax
test eax, eax
jle 0x876280
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 0x876272
inc dword [ebp - 0xc]
inc esi
cmp esi, ebx
jl 0x87624f
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 0x87629f
jl 0x876291
cmp dword [eax + 0x38], 0
jae 0x87629f
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.0085c0f5
mov esi, eax
mov dword [ebp - 0x54], esi
pop ecx
pop ecx
test esi, esi
je 0x8765f0
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 0x8763a8
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.00875ff7
pop ecx
pop ecx
test eax, eax
je 0x876393
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x1c]
xor eax, eax
cmp ecx, 0x40
jl 0x876328
mov edx, 0x80000000
jmp 0x87633b
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 0x876393
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.00852692
pop ecx
test eax, eax
je 0x876387
mov ecx, dword [eax]
jmp 0x87638c
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 0x8762fe
mov ebx, dword [ebp - 0x38]
and dword [ebp - 0x44], 0
cmp dword [ebp - 0x24], 0
jle 0x8763f1
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 0x8763e8
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 0x8763b5
mov ebx, dword [ebp - 0x38]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x3c], 0
jg 0x876429
jl 0x876402
cmp dword [eax + 0x38], 0
jae 0x876429
mov edx, dword [ebp - 0x28]
push 0x3f
pop ecx
cmp cx, word [edx + 0x2a]
jge 0x876429
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 0x87640e
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.00844d77
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
mov edx, esi
call fcn.0084554f
mov ecx, dword [ebp - 8]
call fcn.00854fb4
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 0x8764d0
mov esi, dword [esi + eax + 0x24]
mov ecx, ebx
push 0
push 0
push 0x43
pop edx
call fcn.00844d77
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.00844cf3
add esp, 0x14
mov ecx, ebx
push esi
push 0x10
pop edx
call fcn.00844d63
mov esi, dword [ebp - 0x44]
jmp 0x8764dd
push dword [ecx + 4]
mov ecx, ebx
push 0x25
pop edx
call fcn.00844d63
cmp dword [ebp - 0x1c], 0
mov dword [ebp + 8], eax
pop ecx
je 0x87650c
mov ecx, ebx
call fcn.00844fbd
push 0x10
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x4c], eax
push dword [ebp - 8]
call fcn.008565b1
mov eax, dword [ebp - 0x18]
add esp, 0x10
or dword [eax + 0x24], 0x20000
mov ecx, dword [ebp - 8]
call fcn.00857103
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.0085ed2f
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.00844d77
add esp, 0x20
mov ecx, ebx
push 0x10
pop edx
call fcn.00845280
cmp dword [ebp - 0x1c], 0
je 0x87655f
mov edx, dword [ebp - 0x4c]
call fcn.00844fff
mov eax, dword [ebp - 0x3c]
mov ecx, ebx
test byte [esi + eax + 0x30], 0x10
je 0x8765a8
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
add eax, edi
push eax
call fcn.00845260
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.00875f76
mov edx, dword [ebp + 8]
add esp, 0xc
mov ecx, ebx
call fcn.00844d8c
and dword [esi + edi + 0x30], 0xffffffef
jmp 0x8765bd
mov eax, dword [ebp + 8]
inc eax
push eax
mov eax, dword [ebp + 0x14]
push dword [eax + 4]
push 7
pop edx
call fcn.00844d77
pop ecx
pop ecx
push 3
pop edx
mov ecx, ebx
call fcn.00845280
mov edx, dword [ebp + 8]
call fcn.00845298
mov edi, dword [ebp - 8]
mov ecx, edi
mov edx, dword [ebp - 0x44]
call fcn.00857122
call fcn.00854fb8
mov edx, dword [ebp - 0x58]
mov ecx, ebx
call fcn.00845298
jmp 0x8765f0
mov edi, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edi]
call fcn.00852fd7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret