Function at 0x10086590
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
push ebx
mov ebx, ecx
mov dword [esp + 0x5c], edx
xor eax, eax
mov dword [esp + 0x28], ebx
push esi
xor esi, esi
mov dword [esp + 0x30], eax
xorps xmm0, xmm0
mov dword [esp + 0x40], eax
mov eax, dword [ebx]
push edi
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x40], 1
mov dword [esp + 0x2c], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x38], esi
movlpd qword [esp + 0x80], xmm0
mov dword [esp + 0x54], eax
cmp dword [ebx + 0x24], esi
jne 0x10087638
call fcn.100860f0
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
je 0x10087638
cmp dword [edi + 0x38], esi
jne 0x1008662d
mov eax, dword [ebx]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x10086636
cmp dword [eax + 0x30], esi
je 0x10086636
cmp byte [ebx + 0xa1], 0
je 0x10086649
mov al, byte [edi + 0x2b]
xor esi, esi
mov dword [esp + 0x58], esi
mov byte [esp + 0x13], al
mov byte [esp + 0x1f], al
jmp 0x10086673
push 0
push 0
push 0x80
mov edx, edi
mov ecx, ebx
call fcn.100b30f0
mov esi, eax
add esp, 0xc
mov al, byte [edi + 0x2b]
mov dword [esp + 0x58], esi
mov byte [esp + 0x13], al
mov byte [esp + 0x1f], al
test esi, esi
jne 0x1008668f
push 0
push 0
mov edx, edi
mov ecx, ebx
call fcn.1008f690
add esp, 8
mov dword [esp + 0x14], 0
test eax, eax
je 0x10086697
mov dword [esp + 0x14], 1
cmp byte [edi + 0x2b], 1
je 0x100866a4
cmp word [edi + 0x22], 0
jg 0x100866b5
mov edx, edi
mov ecx, ebx
call fcn.10080630
test eax, eax
jne 0x10087636
push esi
mov edx, edi
mov ecx, ebx
call fcn.10086260
add esp, 4
test eax, eax
jne 0x10087636
mov ecx, dword [edi + 0x3c]
mov esi, 0xffff8000
mov edx, dword [esp + 0x54]
mov dword [esp + 0x20], esi
test ecx, ecx
je 0x100866fc
mov eax, dword [edx + 0x10]
xor esi, esi
add eax, 0xc
mov dword [esp + 0x20], esi
cmp dword [eax], ecx
je 0x100866fc
nop
lea eax, [eax + 0x10]
inc esi
cmp dword [eax], ecx
jne 0x100866f0
mov dword [esp + 0x20], esi
mov eax, dword [edx + 0x10]
mov ecx, esi
add ecx, ecx
mov edx, 9
push dword [eax + ecx*8]
mov ecx, ebx
push 0
push dword [edi]
call fcn.1007b010
add esp, 0xc
mov dword [esp + 0x28], eax
cmp eax, 1
je 0x10087636
mov ecx, dword [esp + 0x64]
xor edx, edx
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x24], eax
mov dword [esp + 0x68], edx
mov dword [ecx + 0x34], eax
mov ecx, dword [ebx + 0x28]
inc ecx
mov dword [ebx + 0x28], ecx
mov eax, dword [edi + 8]
test eax, eax
je 0x10086758
inc ecx
inc edx
mov dword [ebx + 0x28], ecx
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x10086748
mov dword [esp + 0x68], edx
cmp byte [esp + 0x13], 2
jne 0x10086777
mov ecx, dword [ebx + 0x104]
mov eax, dword [edi]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ecx
mov dword [ebx + 0x104], eax
jmp 0x1008678d
mov eax, dword [esp + 0x84]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x78], eax
mov edi, dword [ebx + 8]
test edi, edi
jne 0x100867b9
cmp dword [ebx + 0x80], edi
jne 0x100867a8
mov eax, dword [ebx]
test byte [eax + 0x50], 8
jne 0x100867a8
mov byte [ebx + 0x17], 1
mov ecx, ebx
call fcn.1004fb00
mov edi, eax
test edi, edi
je 0x1008761e
cmp byte [ebx + 0x12], 0
jne 0x100867c6
or dword [edi + 0x98], 0x10
mov eax, dword [ebx + 0x80]
mov edx, ebx
test eax, eax
mov ecx, esi
cmovne edx, eax
mov eax, 1
shl eax, cl
mov dword [esp + 0x48], edx
mov ecx, dword [edx + 0x5c]
test ecx, eax
jne 0x100867fd
bts ecx, esi
mov dword [edx + 0x5c], ecx
cmp esi, 1
jne 0x100867fd
mov ecx, edx
call fcn.10084900
mov edx, dword [esp + 0x48]
mov eax, dword [edx + 0x58]
bts eax, esi
mov dword [edx + 0x58], eax
mov eax, dword [esp + 0x14]
or byte [edx + 0x14], al
cmp byte [esp + 0x1f], 2
jne 0x10086839
push dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ecx, ebx
push 0
push 0
push dword [ebp + 8]
call fcn.100863a0
mov eax, dword [esp + 0x34]
add esp, 0x10
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0x88]
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
movlpd qword [esp + 0x90], xmm0
movlpd qword [esp + 0x98], xmm0
movlpd qword [esp + 0xa0], xmm0
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], eax
call fcn.10067d80
test eax, eax
jne 0x1008761e
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0x24]
xor eax, eax
and ecx, 1
or eax, ecx
je 0x10086903
cmp byte [ebx + 0x12], 0
jne 0x10086903
cmp dword [ebx + 0x84], 0
jne 0x10086903
cmp byte [ebx + 0x9f], 0
jne 0x10086903
inc dword [ebx + 0x2c]
mov ecx, dword [edi + 0x6c]
mov edx, dword [ebx + 0x2c]
mov dword [esp + 0x60], edx
cmp dword [edi + 0x70], ecx
jg 0x100868d0
push 0
push edx
push 0
mov edx, 0x47
mov ecx, edi
call fcn.1004fd40
add esp, 0xc
jmp 0x10086903
mov esi, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x28], 0
mov ecx, dword [esp + 0x14]
jne 0x10086aff
cmp dword [ebp + 8], 0
jne 0x10086aff
test ecx, ecx
jne 0x10086aff
mov edx, dword [esp + 0x18]
cmp byte [edx + 0x2b], 1
je 0x10086aff
cmp esi, 1
je 0x10086961
mov eax, dword [ebx]
mov ecx, esi
add ecx, ecx
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx*8 + 4]
cmp byte [eax + 9], 0
je 0x10086961
push dword [edx]
mov ecx, ebx
push 1
push dword [edx + 0x14]
mov edx, esi
call fcn.1007b0a0
mov edx, dword [esp + 0x24]
add esp, 0xc
test byte [edx + 0x1c], 0x80
jne 0x10086a2f
mov eax, dword [edx]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x38], eax
or eax, 0xffffffff
test ecx, ecx
cmovne eax, ecx
mov ecx, dword [edx + 0x14]
mov edx, dword [edi + 0x6c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x58], ecx
cmp dword [edi + 0x70], edx
jg 0x100869a6
push eax
push esi
push ecx
mov edx, 0x91
mov ecx, edi
call fcn.1004fd40
add esp, 0xc
mov edx, eax
jmp 0x100869d9
mov ebx, dword [esp + 0x58]
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x91
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi]
cmp byte [ecx + 0x57], 0
je 0x100869f3
mov edx, dword [esp + 0x38]
push edx
or edx, 0xffffffff
call fcn.100509c0
add esp, 4
jmp 0x10086a2b
test edx, edx
jns 0x100869fb
mov edx, dword [edi + 0x6c]
dec edx
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov edx, dword [esp + 0x38]
je 0x10086a20
push 0xffffffffffffffff
push edx
mov edx, eax
mov ecx, edi
call fcn.10050ab0
add esp, 8
jmp 0x10086a2b
test edx, edx
je 0x10086a2b
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xff
mov edx, dword [esp + 0x18]
mov esi, dword [edx + 8]
test esi, esi
je 0x100875e9
mov ebx, dword [esp + 0x20]
nop
mov eax, dword [esi + 0x38]
and al, 3
cmp al, 2
jne 0x10086a98
test byte [edx + 0x1c], 0x80
je 0x10086a98
mov eax, dword [esp + 0x60]
or edx, 0xffffffff
mov ecx, dword [edi + 0x6c]
test eax, eax
cmovne edx, eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x58], eax
cmp dword [edi + 0x70], ecx
jg 0x10086a7e
push edx
push ebx
push eax
mov edx, 0x91
mov ecx, edi
call fcn.1004fd40
add esp, 0xc
jmp 0x10086ae7
mov ebx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 0xc], edx
jmp 0x10086ad0
mov ecx, dword [edi + 0x6c]
mov edx, dword [esi + 0x2c]
cmp dword [edi + 0x70], ecx
jg 0x10086ab8
push 0
push ebx
push edx
mov edx, 0x91
mov ecx, edi
call fcn.1004fd40
add esp, 0xc
jmp 0x10086ae7
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], 0
mov ebx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4], 0x91
mov esi, dword [esi + 0x14]
mov edx, dword [esp + 0x18]
test esi, esi
jne 0x10086a40
mov ebx, dword [esp + 0x30]
jmp 0x100875e9
test byte [esp + 0xa0], 0x40
mov eax, 1
mov esi, dword [esp + 0x18]
cmovne ecx, eax
xor eax, eax
test ecx, ecx
sete al
test byte [esi + 0x1c], 0x80
lea eax, [eax*8 + 0x14]
movzx eax, ax
mov dword [esp + 0x28], eax
jne 0x10086b95
inc dword [ebx + 0x2c]
mov ecx, dword [edi + 0x6c]
mov edx, dword [ebx + 0x2c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x5c], edx
cmp dword [edi + 0x70], ecx
jg 0x10086b61
push 0
push edx
push 0
mov edx, 0x4b
mov ecx, edi
call fcn.1004fd40
add esp, 0xc
jmp 0x10086c80
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x4b
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x10086c80
mov ecx, dword [esi + 8]
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x10086bb4
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x10086bb0
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x10086ba0
mov dword [esp + 0x20], ecx
movzx edx, word [ecx + 0x32]
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x40], edx
movsx edx, dx
lea ecx, [eax + 1]
add eax, edx
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x2c], eax
inc eax
mov dword [ebx + 0x28], eax
mov dword [esp + 0x4c], ecx
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x44], ecx
cmp dword [edi + 0x70], ecx
jg 0x10086c01
push 0
push edx
push dword [esp + 0x34]
mov edx, 0x76
mov ecx, edi
call fcn.1004fd40
add esp, 0xc
mov dword [esp + 0x44], eax
jmp 0x10086c34
mov esi, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x76
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 8]
mov ecx, ebx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x3c], eax
call fcn.100852a0
mov dword [esp + 0x48], eax
test eax, eax
je 0x10086c80
mov edx, dword [esp + 0x3c]
mov ecx, dword [edx]
cmp byte [ecx + 0x57], 0
je 0x10086c6a
push eax
mov edx, 0xfffffff8
call fcn.100509c0
add esp, 4
jmp 0x10086c80
mov eax, dword [edx + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x68]
mov edx, dword [esp + 0x48]
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esp + 0x24]
mov ecx, ebx
mov edx, dword [esp + 0x64]
inc eax
push eax
push dword [esp + 0x2c]
push 0
push 0
push 0
push dword [ebp + 8]
call fcn.100cc0f0
mov edx, eax
add esp, 0x18
mov dword [esp + 0x48], edx
test edx, edx
je 0x1008761e
mov eax, dword [edx + 0x14]
mov dword [esp + 0x80], eax
mov eax, dword [edx + 0x18]
mov dword [esp + 0x3c], eax
mov al, byte [edx + 0x2e]
mov byte [esp + 0x13], al
mov byte [esp + 0x7c], al
cmp al, 1
je 0x10086ce0
mov eax, dword [ebx + 0x80]
mov ecx, ebx
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x14], 1
test byte [edx + 0x30], 1
je 0x10086d3a
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x10086d07
push 0
push 0
push dword [esp + 0x2c]
mov edx, 0x8f
mov ecx, edi
call fcn.1004fd40
add esp, 0xc
jmp 0x10086d3a
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x8f
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x60]
test edx, edx
je 0x10086d93
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x10086d60
push 0
push 1
push edx
mov edx, 0x56
mov ecx, edi
call fcn.1004fd40
add esp, 0xc
jmp 0x10086d93
mov esi, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x56
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x20], 0
je 0x10086df1
mov eax, dword [esp + 0x40]
xor ecx, ecx
cwde
mov dword [esp + 0x28], ecx
test eax, eax
jle 0x10086de7
mov ebx, dword [esp + 0x20]
nop dword [eax]
mov eax, dword [esp + 0x4c]
mov edx, esi
add eax, ecx
push eax
mov eax, dword [ebx + 4]
movsx eax, word [eax + ecx*2]
mov ecx, edi
push eax
push dword [esp + 0x2c]
call fcn.1006e720
mov ecx, dword [esp + 0x34]
add esp, 0xc
mov edx, dword [esp + 0x40]
inc ecx
movsx eax, dx
mov dword [esp + 0x28], ecx
cmp ecx, eax
jl 0x10086db0
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x14], edx
jmp 0x10086e53
mov edx, dword [ebx + 0x2c]
inc edx
mov dword [ebx + 0x2c], edx
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x14], edx
cmp dword [edi + 0x70], ecx
jg 0x10086e20
push 0
push edx
push dword [esp + 0x2c]
mov edx, 0x87
mov ecx, edi
call fcn.1004fd40
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x10086e53
mov esi, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x87
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esp + 0x13], 0
lea ecx, [ebx + 0x2c]
je 0x10086f23
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x54]
movzx eax, ax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x68]
add eax, 2
cdq
push edx
push eax
call fcn.10028280
mov ecx, eax
add esp, 8
mov dword [esp + 0x50], ecx
test ecx, ecx
jne 0x10086e9a
mov ecx, dword [esp + 0x48]
call fcn.100cd0e0
jmp 0x1008761e
mov eax, dword [esp + 0x68]
inc eax
push eax
push 1
push ecx
call fcn.1013ad10
mov eax, dword [esp + 0x74]
add esp, 0xc
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x24]
mov byte [eax + edx + 1], 0
mov eax, dword [esp + 0x80]
test eax, eax
js 0x10086ecd
sub eax, ecx
mov byte [eax + edx], 0
mov eax, dword [esp + 0x3c]
test eax, eax
js 0x10086edb
sub eax, ecx
mov byte [eax + edx], 0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x10086f14
mov ecx, dword [edi]
cmp byte [ecx + 0x57], 0
jne 0x10086f14
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x68]
push dword [eax + edx*4 + 0x10]
lea esi, [eax + edx*4]
movsx edx, byte [esi + 1]
call fcn.100509c0
mov word [esi], 0xb9
add esp, 4
mov dword [esi + 0x10], 0
mov esi, dword [esp + 0x18]
dec dword [ebx + 0x38]
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x38], eax
jmp 0x10087041
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10086fdd
inc dword [ecx]
mov edx, dword [eax + 0x10]
mov ecx, dword [ecx]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], 0
test edx, edx
jne 0x10086f55
mov ecx, dword [ebx]
mov edx, eax
call fcn.10090b60
mov ecx, dword [esp + 0x14]
mov edx, eax
mov eax, dword [esp + 0x40]
cwde
push eax
push edx
push ecx
push eax
push dword [esp + 0x5c]
mov edx, 0x61
mov ecx, edi
call fcn.10050170
mov ecx, dword [edi + 0x6c]
add esp, 0x14
cmp dword [edi + 0x70], ecx
jg 0x10086fa1
mov eax, dword [esp + 0x40]
mov ecx, edi
movsx edx, ax
push edx
push dword [esp + 0x50]
mov edx, 0x8a
push dword [esp + 0x1c]
push dword [esp + 0x38]
call fcn.1004fd80
add esp, 0x10
jmp 0x10087038
mov edx, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov esi, dword [esp + 0x40]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x6c], eax
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 0xc], edx
movsx edx, si
mov esi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0xfd8a
mov dword [eax + ecx*4 + 0x10], edx
jmp 0x10087038
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x28], 1
cmp dword [edi + 0x70], ecx
jg 0x10087005
push 0
push edx
push dword [esp + 0x64]
mov edx, 0x9c
mov ecx, edi
call fcn.1004fd40
add esp, 0xc
jmp 0x10087038
mov ebx, dword [esp + 0x5c]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x9c
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x48]
call fcn.100cd0e0
cmp byte [esp + 0x1f], 2
je 0x1008710c
xor eax, eax
cmp byte [esp + 0x13], 2
mov dword [esp + 0x44], eax
jne 0x100870ae
mov edx, dword [edi + 0x6c]
mov dword [esp + 0x44], edx
cmp dword [edi + 0x70], edx
jg 0x1008707b
push eax
push eax
push eax
lea edx, [eax + 0xf]
mov ecx, edi
call fcn.1004fd40
add esp, 0xc
mov dword [esp + 0x44], eax
jmp 0x100870ae
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xf
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
lea eax, [esp + 0x70]
mov edx, esi
push eax
lea eax, [esp + 0x70]
mov ecx, ebx
push eax
push dword [esp + 0x58]
push dword [esp + 0x30]
push 8
push 0x71
call fcn.10095670
mov al, byte [esp + 0x2b]
add esp, 0x18
cmp al, 2
jne 0x10087110
mov edx, dword [edi + 0x6c]
mov ecx, dword [esp + 0x44]
lea eax, [edx - 1]
cmp ecx, eax
jne 0x100870eb
mov dword [edi + 0x6c], eax
jmp 0x10087118
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
je 0x100870fd
mov eax, 0x1017bac0
mov dword [eax + 8], edx
jmp 0x10087118
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x10087118
mov al, byte [esp + 0x13]
test al, al
je 0x100871a2
cmp byte [esi + 0x2b], 1
je 0x1008723d
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x24]
mov edx, dword [esp + 0x6c]
cmp byte [eax + edx], 0
je 0x1008723d
mov eax, dword [esp + 0x28]
mov ecx, dword [edi + 0x6c]
cwde
cmp dword [edi + 0x70], ecx
jg 0x10087163
push eax
push dword [esp + 0x18]
mov ecx, edi
push dword [esp + 0x40]
push edx
mov edx, 0x1c
call fcn.1004fd80
add esp, 0x10
jmp 0x1008723d
mov esi, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
movsx ebx, si
mov esi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 0x10], ebx
mov ebx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0xfd1c
mov dword [eax + ecx*4 + 0xc], edx
jmp 0x10087241
cmp dword [esp + 0x20], 0
mov edx, dword [edi + 0x6c]
mov eax, dword [edi + 0x70]
mov dword [esp + 0x34], edx
je 0x10087335
cmp eax, edx
jg 0x100871dc
push 0
push 0
push dword [esp + 0x34]
mov edx, 0x24
mov ecx, edi
call fcn.1004fd40
mov edx, dword [esp + 0x38]
add esp, 0xc
mov dword [esp + 0x34], eax
jmp 0x1008720f
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x24
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esi + 0x2b], 1
mov ecx, dword [edi + 0x6c]
mov eax, dword [edi + 0x70]
jne 0x100872e8
cmp eax, ecx
jg 0x100872b0
push dword [esp + 0x14]
push 0
push edx
mov edx, 0x5e
mov ecx, edi
call fcn.1004fd40
add esp, 0xc
mov edx, dword [esp + 0x14]
cmp byte [esi + 0x2b], 1
jne 0x1008748a
mov esi, dword [esi + 0x34]
test esi, esi
je 0x10087261
mov eax, dword [esp + 0x54]
cmp dword [esi], eax
je 0x10087261
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x10087256
mov edx, dword [esp + 0x18]
mov ecx, ebx
call fcn.100bae50
mov eax, dword [ebx + 0x80]
mov ecx, ebx
test eax, eax
cmovne ecx, eax
cmp byte [esp + 0x13], 1
mov byte [ecx + 0x15], 1
jne 0x100873d8
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x10087398
push 0
push 0
push dword [esp + 0x2c]
mov edx, 0x7a
mov ecx, edi
call fcn.1004fd40
add esp, 0xc
jmp 0x100873cb
mov ebx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x5e
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x10087241
cmp eax, ecx
jg 0x100872fd
push 0
push dword [esp + 0x18]
push edx
mov edx, 0x86
jmp 0x10087233
mov esi, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x86
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x10087241
cmp eax, edx
jg 0x10087358
push dword [esp + 0x14]
mov edx, 0x2e
mov ecx, edi
push 0
push dword [esp + 0x64]
call fcn.1004fd40
mov dword [esp + 0x40], eax
jmp 0x1008723a
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov edx, dword [esp + 0x5c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x2e
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x34], eax
jmp 0x10087241
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x7a
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [ebx + 0x80], 0
jne 0x100873d8
mov byte [ebx + 0x14], 0
mov edx, dword [edi + 0x6c]
cmp dword [edi + 0x70], edx
jg 0x100873fb
push dword [esp + 0x14]
mov edx, 7
mov ecx, edi
push 1
push 0
call fcn.1004fd40
add esp, 0xc
mov edx, eax
jmp 0x10087432
mov ebx, dword [esp + 0x14]
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 0xc], ebx
mov ebx, dword [esp + 0x30]
mov dword [eax + ecx*4], 7
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
jne 0x10087471
test edx, edx
jns 0x10087442
mov edx, dword [edi + 0x6c]
dec edx
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x10087463
push 0xfffffffffffffff5
push esi
mov edx, eax
mov ecx, edi
call fcn.10050ab0
add esp, 8
jmp 0x10087471
test esi, esi
je 0x10087471
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0xf5
inc dword [esi + 0xc]
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x100874c5
lea ecx, [eax + eax*4]
mov edx, 2
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x100874c5
push dword [esp + 0x3c]
cmp byte [ebx + 0x12], 0
mov ecx, ebx
push dword [esp + 0x80]
sete al
push 0xb
movzx eax, al
push eax
push dword [esp + 0x38]
push edx
push dword [esp + 0x88]
mov edx, esi
push dword [esp + 0x88]
push dword [esp + 0x78]
call fcn.10087670
add esp, 0x24
cmp byte [esp + 0x13], 0
je 0x1008750d
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x38]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x100874f6
push edx
mov edx, edi
call fcn.10050640
mov ecx, dword [esp + 0x4c]
add esp, 4
call fcn.100cd0e0
jmp 0x100875e9
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x48]
call fcn.100cd0e0
jmp 0x100875e9
cmp dword [esp + 0x20], 0
mov ecx, dword [edi + 0x6c]
mov eax, dword [edi + 0x70]
mov esi, dword [esp + 0x34]
je 0x10087582
lea edx, [esi + 1]
cmp eax, ecx
jg 0x1008753d
push 0
push edx
push dword [esp + 0x34]
mov edx, 0x27
mov ecx, edi
call fcn.1004fd40
add esp, 0xc
jmp 0x10087570
mov ebx, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x27
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x100875dd
mov eax, 0x1017bac0
jmp 0x100875e6
cmp eax, ecx
jg 0x1008759c
push 0
push esi
push 0
mov edx, 9
mov ecx, edi
call fcn.1004fd40
add esp, 0xc
jmp 0x100875cb
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x100875dd
mov eax, 0x1017bac0
jmp 0x100875e6
mov eax, dword [edi + 0x68]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
cmp byte [ebx + 0x12], 0
jne 0x10087605
cmp dword [ebx + 0x84], 0
jne 0x10087605
cmp dword [ebx + 0x7c], 0
je 0x10087605
mov ecx, ebx
call fcn.10091210
mov eax, dword [esp + 0x60]
test eax, eax
je 0x1008761e
push str.rows_deleted
mov edx, eax
mov ecx, edi
call fcn.10086180
add esp, 4
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x50]
test eax, eax
je 0x10087638
mov ecx, dword [esp + 0x78]
mov dword [eax + 0x104], ecx
jmp 0x10087638
xor esi, esi
mov ebx, dword [esp + 0x54]
mov ecx, ebx
mov edx, dword [esp + 0x64]
call fcn.10084010
mov eax, dword [ebp + 8]
test eax, eax
je 0x10087657
mov edx, eax
mov ecx, ebx
call fcn.10069d00
test esi, esi
je 0x10087664
mov edx, esi
mov ecx, ebx
call fcn.10027e90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret