Function at 0x895784
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x68], edx
xor ecx, ecx
mov dword [ebp - 0x7c], esi
push edi
mov dword [ebp - 0xac], ecx
mov eax, dword [esi]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0x6c], eax
cmp dword [esi + 0x24], ecx
jne 0x89663e
cmp byte [eax + 0x49], cl
jne 0x89663e
mov ecx, esi
call fcn.008844a2
mov ebx, eax
mov dword [ebp - 0x30], ebx
test ebx, ebx
je 0x89663e
mov edx, dword [ebx + 0x48]
mov ecx, dword [esi]
call fcn.0088e18e
mov dword [ebp - 0x18], eax
mov edx, ebx
lea eax, [ebp - 0x58]
mov ecx, esi
push eax
push dword [ebp + 8]
push 0x6f
call fcn.00895123
add esp, 0xc
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0xc]
mov edx, ebx
mov ecx, esi
mov dword [ebp - 0x5c], eax
call fcn.0088192a
test eax, eax
jne 0x89663e
push dword [ebp - 0x58]
mov edx, ebx
mov ecx, esi
call fcn.008844df
pop ecx
test eax, eax
jne 0x89663e
mov ecx, dword [esi + 0x28]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x74], ecx
lea edx, [ecx + 1]
mov dword [esi + 0x28], edx
test byte [ebx + 0x24], 0x20
mov dword [ebp - 0x80], edx
jne 0x89587e
and dword [ebp - 0x14], eax
jmp 0x89588b
mov ecx, ebx
call fcn.0088035b
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 8]
xor edi, edi
mov dword [ebp - 0x50], edi
test eax, eax
je 0x8958af
cmp dword [ebp - 0x14], eax
cmove ecx, edx
inc edx
mov dword [esi + 0x28], edx
inc edi
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x895897
mov dword [ebp - 0x50], edi
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x8958c8
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
mov eax, dword [ebp - 0x74]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x80], edx
mov dword [esi + 0x28], eax
mov edx, dword [ebp - 0x68]
push 0
mov dword [edx + 0x34], ecx
movsx eax, word [ebx + 0x2a]
mov ecx, dword [ebp - 0x6c]
add eax, edi
lea eax, [eax*4 + 2]
add eax, edi
push eax
call fcn.00853f2c
pop ecx
pop ecx
mov ecx, eax
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x89663e
movsx eax, word [ebx + 0x2a]
lea eax, [ecx + eax*4]
lea ecx, [eax + edi*4]
mov dword [ebp - 0x94], eax
lea eax, [edi + 1]
mov dword [ebp - 0x3c], ecx
push eax
xor eax, eax
inc eax
push eax
push ecx
call fcn.008abac0
mov eax, dword [ebp - 0x3c]
add esp, 0xc
xor ecx, ecx
mov byte [eax + edi + 1], 0
xor eax, eax
cmp ax, word [ebx + 0x2a]
jge 0x895940
mov esi, dword [ebp - 0x20]
or dword [esi + ecx*4], 0xffffffff
inc ecx
movsx eax, word [ebx + 0x2a]
cmp ecx, eax
jl 0x895930
mov esi, dword [ebp - 0x7c]
mov edx, dword [ebp + 8]
lea edi, [ebp - 0xd0]
and dword [ebp - 0x28], 0
xor eax, eax
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x1c]
xor cl, cl
mov edi, dword [ebp - 0x68]
mov dword [ebp - 0xc8], eax
mov eax, 0x200
mov word [ebp - 0xb8], ax
xor al, al
cmp dword [edx], 0
mov dword [ebp - 0xd0], esi
mov dword [ebp - 0xcc], edi
mov dword [ebp - 0x78], eax
mov byte [ebp - 1], cl
jle 0x895ac0
lea eax, [edx + 4]
mov dword [ebp - 0x1c], eax
mov edx, dword [eax]
lea ecx, [ebp - 0xd0]
call fcn.008785bb
test eax, eax
jne 0x89663e
movsx eax, word [ebx + 0x2a]
xor edi, edi
test eax, eax
jle 0x895a1c
mov eax, dword [ebx + 4]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 4]
mov ecx, dword [eax]
call fcn.0085612a
test eax, eax
je 0x8959db
mov eax, dword [ebp - 0x48]
inc edi
movsx ecx, word [ebx + 0x2a]
add eax, 0x10
mov dword [ebp - 0x48], eax
cmp edi, ecx
jl 0x8959b6
jmp 0x895a1c
movsx eax, word [ebx + 0x28]
cmp edi, eax
jne 0x8959f3
xor eax, eax
inc eax
mov byte [ebp - 1], al
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
jmp 0x895a13
cmp dword [ebp - 0x14], 0
je 0x895a13
mov ecx, dword [ebx + 4]
mov eax, edi
add eax, eax
xor edx, edx
inc edx
test byte [ecx + eax*8 + 0xf], dl
mov eax, dword [ebp - 0x78]
movzx eax, al
cmovne eax, edx
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
mov dword [ecx + edi*4], eax
movsx eax, word [ebx + 0x2a]
cmp edi, eax
jl 0x895a52
cmp dword [ebp - 0x14], 0
jne 0x895ad4
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 4]
call fcn.0087a103
test eax, eax
je 0x895ad4
xor eax, eax
or edi, 0xffffffff
inc eax
mov byte [ebp - 1], al
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
test edi, edi
jns 0x895a5d
mov edx, 0x4a4314
jmp 0x895a67
mov eax, dword [ebx + 4]
mov ecx, edi
add ecx, ecx
mov edx, dword [eax + ecx*8]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x18]
add ecx, ecx
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov ecx, esi
push edx
push dword [ebx]
push 0x17
pop edx
call fcn.0087f84e
xor ecx, ecx
add esp, 0xc
inc ecx
cmp eax, ecx
je 0x89663e
cmp eax, 2
jne 0x895a9c
mov eax, dword [ebp - 0x20]
or dword [eax + edi*4], 0xffffffff
mov edi, dword [ebp - 0x28]
mov ecx, dword [ebp + 8]
inc edi
mov eax, dword [ebp - 0x1c]
add eax, 0x18
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], eax
cmp edi, dword [ecx]
jl 0x895991
mov eax, dword [ebp - 0x78]
mov cl, byte [ebp - 1]
mov edi, dword [ebp - 0x68]
cmp dword [ebx + 0x38], 0
lea edx, [ecx + eax]
mov byte [ebp - 0x1c], dl
je 0x895af8
or eax, 0xffffffff
or ecx, 0xffffffff
jmp 0x895b0f
imul eax, dword [ebp - 0x28], 0x18
mov ecx, dword [ebp + 8]
push dword [eax + ecx + 8]
push 0x4a69b8
push esi
call fcn.00856054
xor eax, eax
add esp, 0xc
inc eax
mov byte [esi + 0x11], al
jmp 0x89663e
xorps xmm0, xmm0
movlpd qword [ebp - 0x90], xmm0
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x90]
mov dword [edi + 0x40], eax
movzx eax, dl
mov edx, ebx
push eax
push dword [ebp - 0x20]
mov dword [edi + 0x44], ecx
mov ecx, esi
mov dword [ebp - 0xa0], eax
call fcn.00887e43
pop ecx
pop ecx
mov ecx, dword [ebx + 8]
xor edi, edi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xc], edi
test ecx, ecx
je 0x895bc5
mov ebx, dword [ebp - 0x3c]
cmp byte [ebp - 0x1c], 0
jne 0x895c44
cmp eax, 1
jg 0x895c44
cmp dword [ecx + 0x24], 0
jne 0x895c44
cmp ecx, dword [ebp - 0x14]
je 0x895c44
movzx eax, word [ecx + 0x32]
xor edx, edx
xor edi, edi
mov dword [ebp - 0x48], edx
test eax, eax
je 0x895ba3
mov edx, dword [ecx + 4]
movzx eax, word [edx]
test ax, ax
js 0x895c0d
mov ebx, dword [ebp - 0x20]
cwde
cmp dword [ebx + eax*4], 0
mov ebx, dword [ebp - 0x3c]
jge 0x895c0d
movzx eax, word [ecx + 0x32]
inc edi
add edx, 2
cmp edi, eax
jl 0x895b7b
mov edx, dword [ebp - 0x48]
mov edi, dword [ebp - 0xc]
mov byte [edi + ebx + 1], 0
mov eax, dword [ebp - 0x94]
mov dword [eax + edi*4], edx
inc edi
mov ecx, dword [ecx + 0x14]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], edi
test ecx, ecx
jne 0x895b43
mov ebx, dword [ebp - 0x30]
cmp dword [ebp - 0x60], 0
je 0x895bdf
mov eax, dword [ebp - 0x50]
inc eax
push eax
xor eax, eax
inc eax
push eax
push dword [ebp - 0x3c]
call fcn.008abac0
add esp, 0xc
mov ecx, esi
call fcn.008903a5
mov edi, eax
test edi, edi
je 0x89663e
cmp byte [esi + 0x12], 0
jne 0x895bfd
mov ecx, edi
call fcn.0086e326
cmp dword [ebp - 0x34], 0
jne 0x895c55
cmp dword [ebp - 0x24], 0
jne 0x895c55
xor edx, edx
jmp 0x895c5a
inc dword [esi + 0x2c]
movzx eax, word [ecx + 0x34]
mov edx, dword [esi + 0x2c]
add eax, edx
cmp dword [ebp + 0x10], 5
mov dword [esi + 0x2c], eax
je 0x895c2e
cmp dword [ebp + 0x10], 0xb
jne 0x895c34
cmp byte [ecx + 0x36], 5
jne 0x895c34
xor eax, eax
inc eax
mov dword [ebp - 0x60], eax
mov edi, dword [ebp - 0xc]
test edx, edx
jne 0x895bab
jmp 0x895ba6
inc dword [esi + 0x2c]
movzx eax, word [ecx + 0x34]
mov edx, dword [esi + 0x2c]
add eax, edx
mov dword [esi + 0x2c], eax
jmp 0x895c37
xor eax, eax
lea edx, [eax + 1]
push dword [ebp - 0x18]
mov ecx, esi
call fcn.008838cb
cmp dword [ebx + 0x38], 0
pop ecx
jne 0x895cd1
inc dword [esi + 0x2c]
cmp byte [ebp - 0x78], 0
mov eax, dword [esi + 0x2c]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x98], eax
lea ecx, [eax + 1]
mov dword [ebp - 0x44], ecx
mov dword [esi + 0x2c], ecx
mov dword [ebp - 0x10], ecx
jne 0x895c97
test edx, edx
jne 0x895c97
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x895cac
lea eax, [ecx + 1]
mov dword [ebp - 0xa8], eax
movsx eax, word [ebx + 0x2a]
add eax, ecx
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 0x24]
cmp byte [ebp - 0x1c], 0
jne 0x895cba
test edx, edx
jne 0x895cba
test eax, eax
je 0x895cc3
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x2c]
inc eax
mov dword [ebp - 0x40], eax
movsx eax, word [ebx + 0x2a]
add dword [esi + 0x2c], eax
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x895d05
push dword [ebx]
lea edx, [ebp - 0xb4]
mov ecx, esi
call fcn.0087f8ca
mov eax, dword [ebp - 0x5c]
add esp, 4
test eax, eax
je 0x895d05
push dword [ebp - 8]
mov edx, ebx
push 0
push 0
push dword [ebp + 0xc]
call fcn.00884540
add esp, 0x10
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0xd0]
call fcn.008785bb
test eax, eax
jne 0x89663e
cmp dword [ebx + 0x38], eax
je 0x895d42
push dword [ebp + 0x10]
mov edx, dword [ebp - 0x68]
mov ecx, esi
push dword [ebp + 0xc]
push dword [ebp - 0x20]
push dword [ebp - 0x38]
push dword [ebp + 8]
push ebx
call fcn.0089667b
add esp, 0x18
jmp 0x89663e
mov ecx, edi
call fcn.0086b3bd
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x6c]
test byte [eax + 0x1c], 0x80
je 0x895d85
cmp dword [esi + 0x7c], 0
jne 0x895d85
cmp byte [esi + 0x12], 0
jne 0x895d85
cmp dword [ebp + 0x1c], 0
jne 0x895d85
inc dword [esi + 0x2c]
mov ecx, edi
mov eax, dword [esi + 0x2c]
push eax
push 0
push 0x43
pop edx
mov dword [ebp - 0xa4], eax
call fcn.0086b177
pop ecx
pop ecx
test byte [ebx + 0x24], 0x20
jne 0x895da5
push dword [ebp - 0x10]
mov ecx, edi
push dword [ebp - 0x98]
push 0
push 0x46
pop edx
call fcn.0086b0f3
add esp, 0xc
jmp 0x895e12
mov eax, dword [ebp - 0x14]
mov edx, dword [esi + 0x2c]
inc edx
mov dword [ebp - 0x70], edx
movzx eax, word [eax + 0x32]
movsx ecx, ax
mov dword [ebp - 0x4c], eax
lea eax, [ecx + 1]
add dword [esi + 0x2c], eax
cmp dword [ebp + 0x1c], 0
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x2c], eax
jne 0x895eb4
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x64], eax
inc eax
mov dword [esi + 0x28], eax
lea eax, [ecx - 1]
add eax, edx
mov ecx, edi
push eax
push edx
push 0
push 0x46
pop edx
call fcn.0086b0f3
mov ecx, dword [ebp - 0x4c]
add esp, 0xc
movsx eax, cx
mov ecx, edi
push eax
push dword [ebp - 0x64]
push 0x6e
pop edx
call fcn.0086b177
mov edx, dword [ebp - 0x14]
pop ecx
pop ecx
mov ecx, esi
mov dword [ebp - 0x54], eax
call fcn.0086b94f
cmp dword [ebp + 0x1c], 0
jne 0x895eb4
cmp byte [esi + 0x12], 0
mov eax, 0x1004
jne 0x895e43
cmp dword [ebp - 0x34], 0
jne 0x895e43
cmp dword [ebp - 0x24], 0
jne 0x895e43
cmp byte [ebp - 0x1c], 0
jne 0x895e43
cmp dword [ebp - 0x60], 0
lea ecx, [eax + 8]
cmove eax, ecx
push dword [ebp - 0x80]
mov edx, dword [ebp - 0x68]
mov ecx, esi
push eax
push 0
push 0
push dword [ebp + 0xc]
call fcn.0089fb34
add esp, 0x14
mov dword [ebp - 0x48], eax
test eax, eax
je 0x89663e
lea edx, [ebp - 0x90]
mov ecx, eax
call fcn.0089bd75
mov edx, eax
xor eax, eax
inc eax
mov dword [ebp - 0x18], edx
cmp edx, eax
je 0x895ecf
mov ecx, esi
call fcn.008838f8
cmp edx, 2
jne 0x895ecf
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 8]
test eax, eax
js 0x895ed2
cmp eax, ecx
je 0x895ed2
sub eax, dword [ebp - 0x74]
mov ebx, dword [ebp - 0x3c]
push 0
cmp byte [eax + ebx], 0
mov ebx, dword [ebp - 0x30]
pop eax
cmovne edx, eax
mov dword [ebp - 0x18], edx
jmp 0x895ed2
and dword [ebp - 0x48], 0
xor eax, eax
push 0x10
push dword [ebp - 0x28]
inc eax
push dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
push esi
call fcn.0087c9b1
add esp, 0x10
mov ecx, dword [ebp - 8]
test byte [ebx + 0x24], 0x20
jne 0x895f0f
push dword [ebp - 0x10]
push ecx
push 0x7d
pop edx
mov ecx, edi
call fcn.0086b177
mov edx, dword [ebp - 0x18]
pop ecx
pop ecx
test edx, edx
jne 0x895fcc
push dword [ebp - 0x10]
mov edx, 0x91
mov ecx, edi
push dword [ebp - 0x98]
call fcn.0086b177
pop ecx
pop ecx
jmp 0x895fc9
mov eax, dword [ebp - 0x4c]
and dword [ebp - 0x84], 0
cwde
test eax, eax
jle 0x895f53
mov esi, dword [ebp - 0x84]
mov eax, dword [ebp - 0x70]
mov edx, ebx
add eax, esi
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
movsx eax, word [eax + esi*2]
push eax
push ecx
mov ecx, edi
call fcn.0087b462
mov ecx, dword [ebp - 0x4c]
add esp, 0xc
movsx eax, cx
inc esi
mov ecx, dword [ebp - 8]
cmp esi, eax
jl 0x895f24
mov esi, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x895f81
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x895f6d
mov edx, eax
mov ecx, edi
call fcn.0086b7e3
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x4c]
movsx eax, cx
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x2c], eax
jmp 0x895fcc
mov edx, dword [ebp - 0x14]
push eax
push ecx
mov ecx, dword [ebp - 0x6c]
call fcn.008884b2
pop ecx
mov ecx, dword [ebp - 0x4c]
push eax
push dword [ebp - 0x2c]
movsx eax, cx
mov ecx, edi
push eax
push dword [ebp - 0x70]
push 0x65
pop edx
call fcn.0086b23d
mov ecx, dword [ebp - 0x4c]
add esp, 0x14
movsx eax, cx
mov edx, 0x81
mov ecx, edi
push eax
push dword [ebp - 0x70]
push dword [ebp - 0x2c]
push dword [ebp - 0x64]
call fcn.0086b36e
add esp, 0x10
mov edx, dword [ebp - 0x18]
cmp dword [ebp + 0x1c], 0
jne 0x896168
cmp edx, 2
je 0x895fe6
mov ecx, dword [ebp - 0x48]
call fcn.008a0427
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
jne 0x896081
xor eax, eax
mov dword [ebp - 0x54], eax
test edx, edx
je 0x89602d
cmp dword [ebp - 0x90], eax
jl 0x896012
mov eax, dword [ebp - 0x90]
sub eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x3c]
mov byte [eax + ecx], 0
mov ecx, dword [ebp - 0x8c]
test ecx, ecx
js 0x896033
mov esi, dword [ebp - 0x3c]
mov eax, ecx
sub eax, dword [ebp - 0x74]
mov byte [eax + esi], 0
mov esi, dword [ebp - 0x7c]
jmp 0x896033
mov ecx, dword [ebp - 0x8c]
cmp edx, 2
jne 0x896055
xor eax, eax
test ecx, ecx
mov ecx, dword [ebp - 0x50]
setns al
sub ecx, eax
test ecx, ecx
jle 0x896055
push 0x14
pop edx
mov ecx, edi
call fcn.0086b155
mov dword [ebp - 0x54], eax
xor eax, eax
mov edx, ebx
push eax
push eax
push dword [ebp - 0x3c]
mov ecx, esi
push dword [ebp - 0x74]
push eax
push 0x6b
call fcn.0088a2af
mov eax, dword [ebp - 0x54]
add esp, 0x18
test eax, eax
je 0x89607e
mov edx, eax
mov ecx, edi
call fcn.0086b698
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x8960ea
test ecx, ecx
jne 0x8960bc
mov ecx, dword [ebp - 8]
cmp dword [ebp - 0x90], ecx
je 0x8960bc
cmp dword [ebp - 0x8c], ecx
je 0x8960bc
push dword [ebp - 0x9c]
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
push ecx
push 0x1d
pop edx
mov ecx, edi
call fcn.0086b36e
mov eax, dword [ebp - 0x18]
add esp, 0x10
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x8960cd
mov ecx, edi
call fcn.0086b3bd
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x14], 0
mov ecx, edi
push dword [ebp - 0x28]
mov eax, dword [ebp - 0x10]
cmovne eax, dword [ebp - 0x2c]
push eax
push 0x32
pop edx
call fcn.0086b177
pop ecx
pop ecx
jmp 0x896168
cmp dword [ebp - 0x14], 0
mov ecx, edi
je 0x89613a
call fcn.0086b3bd
push dword [ebp - 0x28]
mov ecx, edi
mov dword [ebp - 0xc], eax
push dword [ebp - 0x64]
push 0x25
pop edx
call fcn.0086b177
push dword [ebp - 0x2c]
mov ecx, edi
push dword [ebp - 0x64]
push 0x7c
pop edx
call fcn.0086b177
push 0
push dword [ebp - 0x2c]
mov ecx, edi
mov dword [ebp - 0xac], eax
push dword [ebp - 0xc]
push dword [ebp - 8]
push 0x1d
pop edx
call fcn.0086b36e
add esp, 0x20
jmp 0x896168
push dword [ebp - 0x10]
push dword [ebp - 0x28]
push dword [ebp - 0x98]
push 0x2a
pop edx
call fcn.0086b0f3
add esp, 0xc
mov dword [ebp - 0xc], eax
mov ecx, edi
push dword [ebp - 0x10]
push eax
push dword [ebp - 8]
push 0x20
pop edx
call fcn.0086b0f3
add esp, 0xc
cmp byte [ebp - 1], 0
je 0x89618a
push dword [ebp - 0x44]
mov edx, dword [ebp - 0x38]
mov ecx, esi
call fcn.0087c40b
pop ecx
push dword [ebp - 0x44]
mov ecx, edi
push 0x11
pop edx
call fcn.0086b163
pop ecx
cmp byte [ebp - 0x78], 0
mov eax, dword [ebp - 0x24]
jne 0x8961a0
test eax, eax
jne 0x8961a4
cmp dword [ebp - 0x34], eax
je 0x896278
test eax, eax
je 0x8961af
mov edx, ebx
mov ecx, esi
call fcn.00887d74
jmp 0x8961b1
xor eax, eax
push dword [ebp + 0x10]
mov edx, dword [ebp - 0x34]
mov ecx, esi
push ebx
push 3
push 0
push dword [ebp + 8]
mov dword [ebp - 0x38], eax
call fcn.008956a7
mov edx, dword [ebp - 0x38]
add esp, 0x14
and dword [ebp - 0x84], 0
or edx, eax
xor eax, eax
mov dword [ebp - 0x38], edx
cmp ax, word [ebx + 0x2a]
jge 0x89625a
mov esi, dword [ebp - 0x84]
xor ecx, ecx
mov dword [ebp - 0x50], ecx
cmp edx, 0xffffffff
je 0x896229
cmp esi, 0x20
jge 0x896206
xor eax, eax
mov ecx, esi
inc eax
shl eax, cl
test edx, eax
jne 0x896229
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebx + 4]
test byte [eax + ecx + 0xf], 1
jne 0x896229
mov eax, dword [ebp - 0xa8]
mov ecx, edi
add eax, esi
push eax
push 0
push 0x46
pop edx
call fcn.0086b177
pop ecx
pop ecx
jmp 0x896242
mov eax, dword [ebp - 0xa8]
mov edx, ebx
add eax, esi
mov ecx, edi
push eax
push esi
push dword [ebp - 8]
call fcn.0087b462
add esp, 0xc
mov ecx, dword [ebp - 0x50]
inc esi
movsx eax, word [ebx + 0x2a]
add ecx, 0x10
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x50], ecx
cmp esi, eax
jl 0x8961ee
mov esi, dword [ebp - 0x7c]
cmp byte [ebp - 1], 0
jne 0x896278
cmp dword [ebp - 0x14], 0
jne 0x896278
push dword [ebp - 0x44]
mov ecx, edi
push dword [ebp - 0x10]
push 0x4b
pop edx
call fcn.0086b177
pop ecx
pop ecx
push dword [ebp + 0x10]
mov edx, dword [ebp - 0x34]
xor eax, eax
push ebx
inc eax
mov ecx, esi
push eax
push eax
push dword [ebp + 8]
call fcn.008956a7
mov edx, dword [ebp - 0x30]
add esp, 0x14
mov dword [ebp - 0x84], eax
xor ebx, ebx
xor eax, eax
cmp ax, word [edx + 0x2a]
jge 0x896344
movsx eax, word [edx + 0x28]
cmp ebx, eax
jne 0x8962c5
mov eax, dword [ebp - 0x40]
mov ecx, edi
add eax, ebx
push eax
push 0
push 0x46
pop edx
call fcn.0086b177
pop ecx
jmp 0x896333
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + ebx*4]
test ecx, ecx
js 0x8962e8
mov eax, dword [ebp - 0x40]
imul edx, ecx, 0x18
add eax, ebx
push eax
mov eax, dword [ebp + 8]
mov ecx, esi
mov edx, dword [edx + eax + 4]
call fcn.0087c40b
jmp 0x896333
mov eax, dword [ebp - 0x58]
xor ecx, ecx
inc ecx
and eax, ecx
mov dword [ebp - 0x54], eax
je 0x896308
cmp ebx, 0x1f
jg 0x896308
mov eax, ecx
mov ecx, ebx
shl eax, cl
test dword [ebp - 0x84], eax
je 0x8962b0
mov eax, dword [ebp - 0x40]
mov ecx, esi
add eax, ebx
push eax
push dword [ebp - 8]
push ebx
call fcn.0087b5a1
add esp, 0xc
cmp dword [ebp - 0x54], 0
je 0x896334
mov edx, dword [ebp - 0x40]
xor eax, eax
inc eax
mov ecx, esi
push eax
lea edx, [ebx + edx]
call fcn.0087b376
pop ecx
mov edx, dword [ebp - 0x30]
inc ebx
movsx eax, word [edx + 0x2a]
cmp ebx, eax
jl 0x8962a8
xor eax, eax
inc eax
test byte [ebp - 0x58], al
je 0x8963f8
push dword [ebp - 0x40]
mov ecx, edi
call fcn.0088856b
mov ebx, dword [ebp - 0x30]
xor eax, eax
mov edx, dword [ebp - 0x34]
inc eax
pop ecx
push dword [ebp - 0xc]
mov ecx, esi
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push ebx
push eax
push dword [ebp + 8]
push 0x6f
call fcn.00895653
add esp, 0x1c
mov ecx, edi
cmp dword [ebp - 0x14], 0
je 0x8963a2
push dword [ebp - 0x9c]
push dword [ebp - 0x2c]
push dword [ebp - 0xc]
push dword [ebp - 8]
push 0x1d
pop edx
call fcn.0086b36e
add esp, 0x10
jmp 0x8963b6
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push dword [ebp - 8]
push 0x20
pop edx
call fcn.0086b0f3
add esp, 0xc
mov edx, dword [ebp - 0x30]
xor eax, eax
xor ebx, ebx
cmp ax, word [edx + 0x2a]
jge 0x8963f8
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 0x20]
cmp dword [eax + ebx*4], 0
jge 0x8963ec
movsx eax, word [edx + 0x28]
cmp ebx, eax
je 0x8963ec
mov eax, dword [ebp - 0x40]
mov ecx, edi
add eax, ebx
push eax
push ebx
push esi
call fcn.0087b462
mov edx, dword [ebp - 0x30]
add esp, 0xc
movsx eax, word [edx + 0x2a]
inc ebx
cmp ebx, eax
jl 0x8963c6
mov esi, dword [ebp - 0x7c]
cmp dword [ebp - 0x5c], 0
jne 0x896561
mov ebx, dword [ebp - 0x20]
lea eax, [ebp - 0x60]
push 0
push ebx
push eax
push dword [ebp - 0xc]
and dword [ebp - 0x58], 0
mov ecx, esi
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push dword [ebp - 0x44]
push dword [ebp - 0x80]
push dword [ebp - 8]
push dword [ebp - 0x94]
call fcn.0088969c
add esp, 0x2c
cmp dword [ebp - 0x24], 0
je 0x896458
push dword [ebp - 0xa0]
mov ecx, esi
push ebx
mov ebx, dword [ebp - 0x30]
mov edx, ebx
push 0
push dword [ebp - 0x10]
call fcn.008879a7
add esp, 0x10
jmp 0x89645b
mov ebx, dword [ebp - 0x30]
cmp dword [ebp - 0x60], 0
jne 0x896467
cmp byte [ebp - 0x1c], 0
je 0x8964a0
cmp dword [ebp - 0x14], 0
mov ecx, edi
je 0x89648a
push dword [ebp - 0x9c]
push dword [ebp - 0x2c]
push 0
push dword [ebp - 8]
push 0x1d
pop edx
call fcn.0086b36e
add esp, 0x10
jmp 0x89649d
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
push 0x20
pop edx
call fcn.0086b0f3
add esp, 0xc
mov dword [ebp - 0x58], eax
push 0xffffffffffffffff
push dword [ebp - 0x94]
mov edx, ebx
mov ecx, esi
push dword [ebp - 0x80]
push dword [ebp - 8]
call fcn.00885071
xor eax, eax
add esp, 0x10
inc eax
cmp dword [ebp - 0x24], eax
jg 0x8964c9
mov al, byte [ebp - 0x1c]
test al, al
je 0x8964dd
push 0
push dword [ebp - 8]
mov ecx, edi
push 0x78
pop edx
call fcn.0086b177
mov al, byte [ebp - 0x1c]
pop ecx
pop ecx
cmp dword [ebp - 0x60], 0
jne 0x8964e7
test al, al
je 0x8964f1
mov edx, dword [ebp - 0x58]
mov ecx, edi
call fcn.0086b698
cmp dword [ebp - 0x24], 0
je 0x896511
push dword [ebp - 0xa0]
mov edx, ebx
mov ecx, esi
push dword [ebp - 0x20]
push dword [ebp - 0x44]
push 0
call fcn.008879a7
add esp, 0x10
cmp dword [ebp - 0x18], 2
mov edx, ebx
push 0
push 0
push 4
pop eax
push 6
pop ecx
cmove eax, ecx
mov ecx, esi
push eax
push dword [ebp - 0x94]
push dword [ebp - 0x44]
push dword [ebp - 0x80]
push dword [ebp - 8]
call fcn.0088a10b
add esp, 0x1c
cmp dword [ebp - 0x24], 0
je 0x896564
push dword [ebp - 0xa0]
mov edx, ebx
mov ecx, esi
push dword [ebp - 0x20]
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.00888335
add esp, 0x10
jmp 0x896564
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x89657f
xor ecx, ecx
inc ecx
push ecx
push eax
push 0x50
pop edx
mov ecx, edi
call fcn.0086b177
pop ecx
pop ecx
push dword [ebp - 0xc]
mov edx, dword [ebp - 0x34]
mov ecx, esi
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push ebx
push 2
push dword [ebp + 8]
push 0x6f
call fcn.00895653
mov eax, dword [ebp - 0x18]
xor ebx, ebx
inc ebx
add esp, 0x1c
cmp eax, ebx
je 0x8965e7
mov edx, dword [ebp - 0xc]
mov ecx, edi
cmp eax, 2
jne 0x8965c0
call fcn.0086b3ff
mov ecx, dword [ebp - 0x48]
call fcn.008a0427
jmp 0x8965e7
cmp dword [ebp - 0x14], 0
je 0x8965e2
call fcn.0086b3ff
push dword [ebp - 0xac]
mov ecx, edi
push dword [ebp - 0x64]
push 7
pop edx
call fcn.0086b177
pop ecx
pop ecx
jmp 0x8965e7
call fcn.0086b18c
mov edx, dword [ebp - 0x28]
mov ecx, edi
call fcn.0086b3ff
cmp byte [esi + 0x12], 0
jne 0x89660a
cmp dword [esi + 0x7c], 0
jne 0x89660a
cmp dword [ebp + 0x1c], 0
jne 0x89660a
mov ecx, esi
call fcn.008888fc
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x89663e
push ebx
push eax
push 0x4e
pop edx
mov ecx, edi
call fcn.0086b177
mov edx, ebx
mov ecx, edi
call fcn.0086c4e2
push 0
push 0x4a69cc
push 0
xor edx, edx
mov ecx, edi
call fcn.0086c54a
add esp, 0x14
lea ecx, [ebp - 0xb4]
call fcn.0087f8e3
mov esi, dword [ebp - 0x6c]
mov ecx, esi
mov edx, dword [ebp - 0x20]
call fcn.00853d0a
mov edx, dword [ebp - 0x68]
mov ecx, esi
call fcn.008834b4
mov edx, dword [ebp + 8]
mov ecx, esi
call fcn.00879dd0
mov edx, dword [ebp + 0xc]
mov ecx, esi
call fcn.008793d7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret