Function at 0x10086130
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
push ebx
mov ebx, dword [ebp + 0x10]
xor eax, eax
push esi
push edi
mov edi, dword [ebp + 0x14]
xor esi, esi
mov dword [esp + 0x48], eax
mov dword [esp + 0x2c], eax
mov eax, 0xa4
mov dword [esp + 0x10], ecx
mov ecx, dword [ecx]
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x30], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], eax
mov dword [edi + 0x1c], 0xffffffff
test edx, edx
je 0x10086205
test byte [ebx + 0x18], 6
je 0x10086194
mov dword [esp + 0x24], esi
jmp 0x10086205
mov ebx, dword [ecx + 0x14]
xor esi, esi
test ebx, ebx
jle 0x100861d3
mov edi, dword [ecx + 0x10]
mov ecx, dword [edi]
call fcn.10054e00
test eax, eax
je 0x100861b9
mov edx, dword [esp + 0x24]
inc esi
add edi, 0x10
cmp esi, ebx
jl 0x100861a0
jmp 0x100861d0
mov edx, dword [esp + 0x30]
mov eax, esi
add eax, eax
mov ecx, dword [edx + 0x10]
mov edx, dword [esp + 0x24]
mov eax, dword [ecx + eax*8 + 0xc]
mov dword [esp + 0x2c], eax
mov edi, dword [ebp + 0x14]
cmp esi, ebx
jne 0x10086200
mov ecx, str.main
call fcn.10054e00
mov ebx, dword [ebp + 0x10]
xor esi, esi
test eax, eax
jne 0x10086205
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], eax
jmp 0x10086205
xor esi, esi
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x54], ecx
test ecx, ecx
je 0x1008651f
xor edx, edx
lea eax, [ecx + 8]
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], eax
cmp dword [ecx], edx
jle 0x100864fb
nop dword [eax]
mov ebx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x44], ecx
test ebx, ebx
je 0x100862ce
test dword [ebx + 4], 0x800
je 0x100862ce
mov ebx, dword [ebx + 0x1c]
xor esi, esi
mov dword [esp + 0x40], 0
cmp dword [ebx], esi
jle 0x100862c1
lea edi, [ebx + 4]
push dword [esp + 0x24]
mov edx, dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 8]
call fcn.10085fe0
add esp, 8
test eax, eax
je 0x100862a1
mov eax, dword [esp + 0x20]
inc dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x18], 2
mov word [eax + 0x20], si
mov eax, 1
mov dword [esp + 0x40], eax
jmp 0x100862a5
mov eax, dword [esp + 0x40]
inc esi
add edi, 0x14
cmp esi, dword [ebx]
jl 0x10086263
mov edx, dword [esp + 0x28]
test eax, eax
mov eax, dword [esp + 0x20]
jne 0x100864dc
mov ecx, dword [esp + 0x44]
mov esi, dword [ebp + 8]
test esi, esi
je 0x100864dc
jmp 0x100862d1
mov esi, dword [ebp + 8]
cmp dword [esp + 0x24], 0
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x4c], ebx
je 0x100862ed
mov ebx, dword [esp + 0x2c]
cmp dword [ecx + 0x48], ebx
jne 0x100864dc
test esi, esi
je 0x1008635c
mov ebx, dword [eax + 0xc]
mov edx, ebx
test ebx, ebx
jne 0x100862fc
mov edx, dword [ecx]
mov edi, esi
sub edi, edx
movzx eax, byte [edx]
movzx esi, byte [edi + edx]
cmp eax, esi
jne 0x1008633d
test eax, eax
jne 0x10086353
mov eax, dword [esp + 0x10]
cmp byte [eax + 0xcc], 2
jb 0x1008635c
test ebx, ebx
je 0x1008635c
mov eax, dword [eax + 0x114]
test eax, eax
je 0x1008635c
mov ecx, dword [ebp + 0x14]
add ecx, 0x2c
cmp dword [eax], ecx
je 0x10086356
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x10086330
jmp 0x1008635c
movzx ecx, byte [eax + 0x101b71d0]
movzx eax, byte [esi + 0x101b71d0]
sub ecx, eax
jne 0x100864d4
inc edx
jmp 0x10086300
mov dword [eax], 0
inc dword [esp + 0x18]
cmp dword [esp + 0x4c], 0
mov eax, dword [esp + 0x20]
cmovne eax, dword [esp + 0x14]
mov esi, dword [ebp + 0xc]
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.10054ec0
mov cl, al
xor edi, edi
mov eax, dword [esp + 0x44]
mov byte [esp + 0xf], cl
mov dword [esp + 0x40], edi
mov ebx, dword [eax + 4]
movsx eax, word [eax + 0x2a]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x3c], eax
test eax, eax
jle 0x100864d4
cmp byte [ebx + 0xf], cl
jne 0x10086429
mov edx, dword [ebx]
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x10086452
test ecx, ecx
jne 0x10086464
mov esi, dword [esp + 0x1c]
cmp esi, 1
jne 0x10086495
mov eax, dword [esp + 0x20]
test byte [eax + 0x24], 4
jne 0x1008641e
mov eax, dword [eax + 0x34]
test eax, eax
je 0x10086495
mov ecx, dword [eax + 4]
xor ebx, ebx
mov dword [esp + 0x50], ecx
test ecx, ecx
jle 0x10086495
mov edi, dword [eax]
nop dword [eax]
mov esi, dword [ebp + 0xc]
mov edx, dword [edi]
sub esi, edx
movzx eax, byte [edx]
movzx ecx, byte [edx + esi]
cmp eax, ecx
jne 0x1008646a
test eax, eax
jne 0x1008647c
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov cl, byte [esp + 0xf]
mov esi, dword [ebp + 0xc]
inc edi
add ebx, 0x14
mov dword [esp + 0x40], edi
mov dword [esp + 0x4c], ebx
cmp edi, eax
jl 0x100863a3
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x14], esi
jmp 0x100864e0
movzx eax, byte [eax + 0x101b71d0]
movzx ecx, byte [ecx + 0x101b71d0]
sub ecx, eax
jne 0x1008641e
inc edx
jmp 0x100863b0
movzx ecx, byte [ecx + 0x101b71d0]
movzx eax, byte [eax + 0x101b71d0]
sub eax, ecx
jne 0x1008647f
inc edx
jmp 0x10086407
inc ebx
add edi, 8
cmp ebx, dword [esp + 0x50]
jl 0x10086400
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x44]
inc esi
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x14], esi
movsx eax, word [eax + 0x28]
cmp edi, eax
jne 0x100864c0
mov edi, dword [ebp + 0x14]
or eax, 0xffffffff
mov edx, dword [esp + 0x28]
mov word [edi + 0x20], ax
mov eax, esi
jmp 0x100864e3
mov edx, dword [esp + 0x28]
movzx eax, di
mov edi, dword [ebp + 0x14]
mov word [edi + 0x20], ax
mov eax, dword [esp + 0x20]
jmp 0x100864e3
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
mov edi, dword [ebp + 0x14]
mov ecx, dword [esp + 0x54]
inc edx
add eax, 0x48
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], eax
cmp edx, dword [ecx]
jl 0x10086230
test esi, esi
je 0x1008651f
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x2c], eax
test byte [esi + 0x24], 8
je 0x10086518
or dword [edi + 4], 0x100000
mov eax, dword [eax + 0x48]
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x24], 0
mov ecx, dword [esp + 0x18]
jne 0x100867fe
mov eax, dword [ebp + 8]
test eax, eax
je 0x100867fe
test ecx, ecx
jne 0x100867fe
mov ecx, dword [esp + 0x10]
xor ebx, ebx
mov dword [esp + 0x20], ebx
cmp dword [ecx + 0x78], ebx
je 0x100865f8
mov bl, byte [ecx + 0x94]
cmp bl, 0x7e
je 0x100865ab
mov edx, 0x101cbebc
mov esi, eax
sub esi, edx
nop dword [eax + eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x10086593
test ecx, ecx
jne 0x100865a5
mov ebx, dword [esp + 0x10]
mov dword [edi + 0x1c], 1
mov ebx, dword [ebx + 0x78]
mov dword [esp + 0x20], ebx
jmp 0x100865f8
movzx eax, byte [eax + 0x101b71d0]
movzx ecx, byte [ecx + 0x101b71d0]
sub ecx, eax
jne 0x100865a8
inc edx
jmp 0x10086570
mov eax, dword [ebp + 8]
cmp bl, 0x7d
je 0x100865f4
mov edx, 0x101cbec0
mov esi, eax
sub esi, edx
nop dword [eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x100865df
test ecx, ecx
jne 0x100865f1
mov ebx, dword [esp + 0x10]
mov dword [edi + 0x1c], ecx
mov ebx, dword [ebx + 0x78]
mov dword [esp + 0x20], ebx
jmp 0x100865f8
movzx eax, byte [eax + 0x101b71d0]
movzx ecx, byte [ecx + 0x101b71d0]
sub ecx, eax
jne 0x100865f4
inc edx
jmp 0x100865c0
mov ebx, dword [esp + 0x20]
mov eax, dword [ebp + 0x10]
test dword [eax + 0x18], 0x200
je 0x10086640
mov edi, dword [eax + 8]
test edi, edi
je 0x10086640
mov esi, dword [ebp + 8]
mov edx, str.excluded
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x100866ab
test ecx, ecx
jne 0x100866bd
mov eax, dword [edi + 0x14]
mov ebx, dword [eax + 0x18]
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x20], ebx
mov dword [eax + 0x1c], 2
test ebx, ebx
je 0x10086803
mov ecx, dword [ebp + 0xc]
call fcn.10054ec0
mov ecx, dword [ebx + 0x48]
xor esi, esi
mov ebx, dword [ebx + 4]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x20]
mov byte [esp + 0xf], al
mov dword [esp + 0x18], 1
movsx edi, word [ecx + 0x2a]
mov dword [esp + 0x4c], edi
test edi, edi
jle 0x100866e8
cmp byte [ebx + 0xf], al
jne 0x100866e0
mov edi, dword [ebp + 0xc]
mov edx, dword [ebx]
sub edi, edx
movzx ecx, byte [edx]
movzx eax, byte [edx + edi]
cmp ecx, eax
jne 0x100866c3
test ecx, ecx
jne 0x100866d5
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x4c]
movsx eax, word [ebx + 0x28]
cmp esi, eax
mov eax, 0xffffffff
cmove esi, eax
jmp 0x100866ec
movzx eax, byte [eax + 0x101b71d0]
movzx ecx, byte [ecx + 0x101b71d0]
sub ecx, eax
jne 0x10086640
inc edx
jmp 0x10086615
movzx eax, byte [eax + 0x101b71d0]
movzx ecx, byte [ecx + 0x101b71d0]
sub ecx, eax
jne 0x100866d8
inc edx
jmp 0x10086684
mov edi, dword [esp + 0x4c]
mov al, byte [esp + 0xf]
inc esi
add ebx, 0x14
cmp esi, edi
jl 0x10086678
mov ebx, dword [esp + 0x20]
cmp esi, edi
jl 0x10086713
mov ecx, dword [ebp + 0xc]
call fcn.1008b380
test eax, eax
je 0x1008670b
test dword [ebx + 0x24], 0x200
mov eax, 0xffffffff
cmove esi, eax
cmp esi, edi
jge 0x10086803
mov edi, dword [ebp + 0x14]
inc dword [esp + 0x1c]
mov eax, dword [edi + 0x1c]
cmp eax, 2
jne 0x10086769
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + 0x10]
cmp byte [eax + 0xcc], 2
jb 0x1008674a
mov word [edi + 0x20], si
mov dword [edi + 0x2c], ebx
mov dword [esp + 0x34], 0xa4
jmp 0x1008680d
mov eax, dword [edx + 8]
mov dword [esp + 0x34], 0xad
mov eax, dword [eax + 0x18]
add eax, esi
or dword [edi + 4], 0x400000
mov dword [edi + 0x1c], eax
jmp 0x1008680d
test esi, esi
jns 0x10086785
mov byte [edi + 1], 0x44
mov dword [edi + 0x2c], ebx
mov word [edi + 0x20], si
mov dword [esp + 0x34], 0x4d
jmp 0x10086806
test eax, eax
jne 0x100867d0
cmp esi, 0x20
jl 0x100867ac
mov ecx, dword [esp + 0x10]
or eax, 0xffffffff
mov dword [esp + 0x34], 0x4d
or dword [ecx + 0x8c], eax
mov dword [edi + 0x2c], ebx
mov word [edi + 0x20], si
jmp 0x10086806
mov ecx, esi
mov dword [esp + 0x34], 0x4d
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x10]
or dword [ecx + 0x8c], eax
mov dword [edi + 0x2c], ebx
mov word [edi + 0x20], si
jmp 0x10086806
cmp esi, 0x20
jl 0x100867da
or eax, 0xffffffff
jmp 0x100867e3
mov eax, 1
mov ecx, esi
shl eax, cl
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], 0x4d
or dword [ecx + 0x90], eax
mov dword [edi + 0x2c], ebx
mov word [edi + 0x20], si
jmp 0x10086806
mov edi, dword [ebp + 0x14]
jmp 0x1008680a
mov edi, dword [ebp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + 0x10]
mov ebx, dword [esp + 0x1c]
mov esi, dword [ebp + 0xc]
test ebx, ebx
jne 0x10086858
cmp ecx, 1
jne 0x10086858
cmp dword [esp + 0x14], ebx
je 0x10086858
test byte [edx + 0x18], 0x28
jne 0x10086858
mov ecx, esi
call fcn.1008b380
test eax, eax
je 0x10086858
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x10]
test dword [eax + 0x24], 0x200
jne 0x10086858
mov ebx, 1
mov byte [edi + 1], 0x44
or eax, 0xffffffff
mov dword [esp + 0x1c], ebx
mov word [edi + 0x20], ax
mov edi, dword [ebp + 0x10]
test byte [edi + 0x18], 0x80
je 0x100868f8
test ebx, ebx
jne 0x10086b37
mov edx, dword [ebp + 8]
test edx, edx
jne 0x10086903
mov ecx, dword [edi + 8]
mov dword [esp + 0x4c], edx
mov eax, dword [ecx]
mov dword [esp + 0x54], eax
test eax, eax
jle 0x10086900
lea edi, [ecx + 0x10]
nop dword [eax]
test byte [edi], 3
mov ebx, dword [edi - 8]
jne 0x100868ce
test ebx, ebx
jne 0x100868a4
mov ecx, esi
neg ecx
sbb ecx, ecx
jmp 0x100868ca
test esi, esi
je 0x100868ce
mov edx, ebx
sub esi, ebx
nop dword [eax]
movzx ecx, byte [edx]
movzx eax, byte [edx + esi]
cmp ecx, eax
jne 0x100868e3
test ecx, ecx
jne 0x100868f5
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x54]
mov esi, dword [ebp + 0xc]
test ecx, ecx
je 0x10086921
inc edx
add edi, 0x14
mov dword [esp + 0x4c], edx
cmp edx, eax
jl 0x10086890
mov ebx, dword [esp + 0x1c]
mov edi, dword [ebp + 0x10]
jmp 0x10086900
movzx eax, byte [eax + 0x101b71d0]
movzx ecx, byte [ecx + 0x101b71d0]
sub ecx, eax
jne 0x100868bf
inc edx
jmp 0x100868b0
test ebx, ebx
jne 0x10086b37
mov edx, dword [ebp + 8]
mov edi, dword [edi + 0xc]
inc dword [esp + 0x48]
mov dword [ebp + 0x10], edi
test edi, edi
je 0x10086a0e
mov edi, dword [ebp + 0x14]
mov esi, dword [esp + 0x14]
jmp 0x10086202
mov ecx, dword [ebp + 0x10]
lea eax, [edx + edx*4]
test byte [ecx + 0x18], 1
mov esi, dword [ecx + 8]
mov eax, dword [esi + eax*4 + 4]
jne 0x10086958
test byte [eax + 4], 0x10
je 0x10086958
push ebx
push str.misuse_of_aliased_aggregate__s
push dword [esp + 0x18]
call fcn.10054cd0
add esp, 0xc
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test dword [eax + 4], 0x8000
je 0x10086978
test dword [ecx + 0x18], 0x4000
je 0x10086970
cmp ecx, dword [esp + 0x38]
je 0x10086978
push ebx
push str.misuse_of_aliased_window_function__s
jmp 0x10086940
mov cl, byte [eax]
cmp cl, 0xad
jne 0x10086982
mov cl, byte [eax + 2]
cmp cl, 0xae
jne 0x1008698c
mov eax, dword [eax + 0x14]
jmp 0x10086997
cmp cl, 0x88
jne 0x100869b9
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x1c]
cmp dword [eax], 1
je 0x100869b9
push str.row_value_misused
push dword [esp + 0x14]
call fcn.10054cd0
add esp, 8
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x48]
mov edi, dword [ebp + 0x14]
push eax
push 0x101b24b5
push edi
push edx
mov edx, esi
mov esi, dword [esp + 0x20]
mov ecx, esi
call fcn.10085eb0
add esp, 0x10
cmp byte [esi + 0xcc], 2
jb 0x10086c88
mov eax, dword [esi + 0x114]
test eax, eax
je 0x10086c88
cmp dword [eax], edi
je 0x10086a03
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x100869f3
jmp 0x10086c88
mov dword [eax], 0
jmp 0x10086c88
test edx, edx
jne 0x10086b4b
mov edi, dword [ebp + 0x14]
mov ebx, dword [edi + 4]
test bl, 0x40
je 0x10086a94
mov eax, dword [esp + 0x30]
cmp byte [eax + 0xa5], dl
jne 0x10086a6e
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x38]
test dword [eax + 0x18], 0x10000
je 0x10086a63
mov eax, ecx
and eax, 0x10000001
cmp eax, 1
jne 0x10086a5b
mov eax, ecx
and eax, 0x40000000
or eax, edx
jne 0x10086a6e
and ecx, 0x20000000
jmp 0x10086a69
and ecx, 0x40000000
or ecx, 0
je 0x10086a94
push esi
push str.double_quoted_string_literal:___w_
push 0x1c
call fcn.10054150
add esp, 0xc
mov byte [edi], 0x73
mov dword [edi + 0x2c], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, 0x4000000
jne 0x10086b3e
mov edx, dword [edi + 8]
mov edi, str.true
mov esi, edx
sub edi, edx
nop dword [eax]
movzx ecx, byte [esi]
movzx eax, byte [edi + esi]
cmp ecx, eax
jne 0x10086adb
test ecx, ecx
jne 0x10086aed
mov ecx, dword [ebp + 0x14]
mov eax, 0x10000000
or ebx, eax
mov eax, 1
mov byte [ecx], 0xa7
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, byte [eax + 0x101b71d0]
movzx ecx, byte [ecx + 0x101b71d0]
sub ecx, eax
jne 0x10086af0
inc esi
jmp 0x10086ab0
mov esi, str.false
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x10086b22
test ecx, ecx
jne 0x10086b34
mov ecx, dword [ebp + 0x14]
mov eax, 0x20000000
or ebx, eax
mov eax, 1
mov byte [ecx], 0xa7
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, byte [eax + 0x101b71d0]
movzx ecx, byte [ecx + 0x101b71d0]
sub ecx, eax
jne 0x10086b44
inc edx
jmp 0x10086af7
cmp ebx, 1
jne 0x10086b48
jmp 0x10086bb6
mov ebx, dword [esp + 0x1c]
jmp 0x10086b4b
mov ebx, dword [esp + 0x1c]
mov edx, dword [ebp + 8]
mov esi, dword [esp + 0x24]
test ebx, ebx
mov ecx, str.ambiguous_column_name
mov eax, str.no_such_column
cmovne eax, ecx
mov ecx, dword [ebp + 0xc]
push ecx
test esi, esi
je 0x10086b7c
push edx
push esi
push eax
push str._s:__s._s._s
push dword [esp + 0x24]
call fcn.10054cd0
add esp, 0x18
jmp 0x10086ba7
test edx, edx
je 0x10086b95
push edx
push eax
push str._s:__s._s
push dword [esp + 0x20]
call fcn.10054cd0
add esp, 0x14
jmp 0x10086ba7
push eax
push str._s:__s
push dword [esp + 0x1c]
call fcn.10054cd0
add esp, 0x10
mov eax, dword [esp + 0x10]
mov byte [eax + 0x11], 1
mov eax, dword [esp + 0x38]
inc dword [eax + 0x14]
mov edi, dword [ebp + 0x14]
movzx eax, word [edi + 0x20]
test ax, ax
js 0x10086c40
cmp dword [esp + 0x14], 0
je 0x10086c40
mov edx, dword [edi + 0x2c]
movsx esi, ax
test byte [edx + 0x24], 0x60
je 0x10086c16
mov eax, dword [edx + 4]
lea ecx, [esi + esi*4]
test byte [eax + ecx*4 + 0x10], 0x60
je 0x10086c16
movzx eax, word [edx + 0x2a]
cmp ax, 0x40
jl 0x10086bf8
or ecx, 0xffffffff
or edx, 0xffffffff
jmp 0x10086c36
xor ecx, ecx
cwde
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
add ecx, 0xffffffff
adc edx, 0xffffffff
jmp 0x10086c36
cmp esi, 0x40
mov eax, 0x3f
cmovge esi, eax
xor ecx, ecx
xor edx, edx
bts ecx, esi
cmp esi, 0x20
cmovae edx, ecx
xor ecx, edx
cmp esi, 0x40
cmovae edx, ecx
mov eax, dword [esp + 0x14]
or dword [eax + 0x38], ecx
or dword [eax + 0x3c], edx
mov edx, dword [edi + 0xc]
mov esi, dword [esp + 0x30]
test edx, edx
je 0x10086c52
mov ecx, esi
call fcn.10089b00
mov edx, dword [edi + 0x10]
mov dword [edi + 0xc], 0
test edx, edx
je 0x10086c67
mov ecx, esi
call fcn.10089b00
mov eax, dword [esp + 0x34]
or dword [edi + 4], 0x800000
mov dword [edi + 0x10], 0
mov byte [edi], al
cmp ebx, 1
jne 0x1008694c
mov esi, dword [esp + 0x10]
test dword [edi + 4], 0x400000
jne 0x10086d51
mov eax, dword [esi]
mov ebx, dword [ebp + 0x10]
cmp dword [eax + 0x150], 0
mov ebx, dword [ebx + 4]
je 0x10086d51
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x10086d51
mov eax, dword [eax + 0x10]
xor edx, edx
add eax, 0xc
cmp dword [eax], ecx
je 0x10086cd2
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x10086cc2
test edx, edx
js 0x10086d51
cmp byte [edi], 0x4d
jne 0x10086cdc
mov esi, dword [esi + 0x78]
jmp 0x10086d08
mov esi, dword [ebx]
xor eax, eax
test esi, esi
jle 0x10086d51
mov edi, dword [edi + 0x1c]
lea ecx, [ebx + 0x34]
nop word [eax + eax]
cmp edi, dword [ecx]
je 0x10086cfe
inc eax
add ecx, 0x48
cmp eax, esi
jl 0x10086cf0
jmp 0x10086d51
mov edi, dword [ebp + 0x14]
lea eax, [eax + eax*8]
mov esi, dword [ebx + eax*8 + 0x18]
test esi, esi
je 0x10086d51
movsx eax, word [edi + 0x20]
test eax, eax
js 0x10086d1f
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
jmp 0x10086d39
movzx eax, word [esi + 0x28]
test ax, ax
js 0x10086d34
cwde
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
jmp 0x10086d39
mov eax, str.ROWID
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [esi]
push eax
call fcn.10096690
add esp, 8
cmp eax, 2
jne 0x10086d51
mov byte [edi], 0x77
mov ecx, dword [esp + 0x38]
mov eax, dword [ebp + 0x10]
inc dword [ecx + 0x10]
cmp ecx, eax
je 0x10086d6a
nop
mov ecx, dword [ecx + 0xc]
inc dword [ecx + 0x10]
cmp ecx, eax
jne 0x10086d60
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret