Function at 0x100856e0
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 0x100857b5
test byte [ebx + 0x18], 6
je 0x10085744
mov dword [esp + 0x24], esi
jmp 0x100857b5
mov ebx, dword [ecx + 0x14]
xor esi, esi
test ebx, ebx
jle 0x10085783
mov edi, dword [ecx + 0x10]
mov ecx, dword [edi]
call fcn.100543b0
test eax, eax
je 0x10085769
mov edx, dword [esp + 0x24]
inc esi
add edi, 0x10
cmp esi, ebx
jl 0x10085750
jmp 0x10085780
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 0x100857b0
mov ecx, str.main
call fcn.100543b0
mov ebx, dword [ebp + 0x10]
xor esi, esi
test eax, eax
jne 0x100857b5
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 0x100857b5
xor esi, esi
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x54], ecx
test ecx, ecx
je 0x10085acf
xor edx, edx
lea eax, [ecx + 8]
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], eax
cmp dword [ecx], edx
jle 0x10085aab
nop dword [eax]
mov ebx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x44], ecx
test ebx, ebx
je 0x1008587e
test dword [ebx + 4], 0x800
je 0x1008587e
mov ebx, dword [ebx + 0x1c]
xor esi, esi
mov dword [esp + 0x40], 0
cmp dword [ebx], esi
jle 0x10085871
lea edi, [ebx + 4]
push dword [esp + 0x24]
mov edx, dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 8]
call fcn.10085590
add esp, 8
test eax, eax
je 0x10085851
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 0x10085855
mov eax, dword [esp + 0x40]
inc esi
add edi, 0x14
cmp esi, dword [ebx]
jl 0x10085813
mov edx, dword [esp + 0x28]
test eax, eax
mov eax, dword [esp + 0x20]
jne 0x10085a8c
mov ecx, dword [esp + 0x44]
mov esi, dword [ebp + 8]
test esi, esi
je 0x10085a8c
jmp 0x10085881
mov esi, dword [ebp + 8]
cmp dword [esp + 0x24], 0
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x4c], ebx
je 0x1008589d
mov ebx, dword [esp + 0x2c]
cmp dword [ecx + 0x48], ebx
jne 0x10085a8c
test esi, esi
je 0x1008590c
mov ebx, dword [eax + 0xc]
mov edx, ebx
test ebx, ebx
jne 0x100858ac
mov edx, dword [ecx]
mov edi, esi
sub edi, edx
movzx eax, byte [edx]
movzx esi, byte [edi + edx]
cmp eax, esi
jne 0x100858ed
test eax, eax
jne 0x10085903
mov eax, dword [esp + 0x10]
cmp byte [eax + 0xcc], 2
jb 0x1008590c
test ebx, ebx
je 0x1008590c
mov eax, dword [eax + 0x114]
test eax, eax
je 0x1008590c
mov ecx, dword [ebp + 0x14]
add ecx, 0x2c
cmp dword [eax], ecx
je 0x10085906
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x100858e0
jmp 0x1008590c
movzx ecx, byte [eax + 0x101b7250]
movzx eax, byte [esi + 0x101b7250]
sub ecx, eax
jne 0x10085a84
inc edx
jmp 0x100858b0
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.10054470
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 0x10085a84
cmp byte [ebx + 0xf], cl
jne 0x100859d9
mov edx, dword [ebx]
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x10085a02
test ecx, ecx
jne 0x10085a14
mov esi, dword [esp + 0x1c]
cmp esi, 1
jne 0x10085a45
mov eax, dword [esp + 0x20]
test byte [eax + 0x24], 4
jne 0x100859ce
mov eax, dword [eax + 0x34]
test eax, eax
je 0x10085a45
mov ecx, dword [eax + 4]
xor ebx, ebx
mov dword [esp + 0x50], ecx
test ecx, ecx
jle 0x10085a45
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 0x10085a1a
test eax, eax
jne 0x10085a2c
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 0x10085953
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x14], esi
jmp 0x10085a90
movzx eax, byte [eax + 0x101b7250]
movzx ecx, byte [ecx + 0x101b7250]
sub ecx, eax
jne 0x100859ce
inc edx
jmp 0x10085960
movzx ecx, byte [ecx + 0x101b7250]
movzx eax, byte [eax + 0x101b7250]
sub eax, ecx
jne 0x10085a2f
inc edx
jmp 0x100859b7
inc ebx
add edi, 8
cmp ebx, dword [esp + 0x50]
jl 0x100859b0
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 0x10085a70
mov edi, dword [ebp + 0x14]
or eax, 0xffffffff
mov edx, dword [esp + 0x28]
mov word [edi + 0x20], ax
mov eax, esi
jmp 0x10085a93
mov edx, dword [esp + 0x28]
movzx eax, di
mov edi, dword [ebp + 0x14]
mov word [edi + 0x20], ax
mov eax, dword [esp + 0x20]
jmp 0x10085a93
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 0x100857e0
test esi, esi
je 0x10085acf
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 0x10085ac8
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 0x10085dae
mov eax, dword [ebp + 8]
test eax, eax
je 0x10085dae
test ecx, ecx
jne 0x10085dae
mov ecx, dword [esp + 0x10]
xor ebx, ebx
mov dword [esp + 0x20], ebx
cmp dword [ecx + 0x78], ebx
je 0x10085ba8
mov bl, byte [ecx + 0x94]
cmp bl, 0x7e
je 0x10085b5b
mov edx, 0x101cc0bc
mov esi, eax
sub esi, edx
nop dword [eax + eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x10085b43
test ecx, ecx
jne 0x10085b55
mov ebx, dword [esp + 0x10]
mov dword [edi + 0x1c], 1
mov ebx, dword [ebx + 0x78]
mov dword [esp + 0x20], ebx
jmp 0x10085ba8
movzx eax, byte [eax + 0x101b7250]
movzx ecx, byte [ecx + 0x101b7250]
sub ecx, eax
jne 0x10085b58
inc edx
jmp 0x10085b20
mov eax, dword [ebp + 8]
cmp bl, 0x7d
je 0x10085ba4
mov edx, 0x101cc0c0
mov esi, eax
sub esi, edx
nop dword [eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x10085b8f
test ecx, ecx
jne 0x10085ba1
mov ebx, dword [esp + 0x10]
mov dword [edi + 0x1c], ecx
mov ebx, dword [ebx + 0x78]
mov dword [esp + 0x20], ebx
jmp 0x10085ba8
movzx eax, byte [eax + 0x101b7250]
movzx ecx, byte [ecx + 0x101b7250]
sub ecx, eax
jne 0x10085ba4
inc edx
jmp 0x10085b70
mov ebx, dword [esp + 0x20]
mov eax, dword [ebp + 0x10]
test dword [eax + 0x18], 0x200
je 0x10085bf0
mov edi, dword [eax + 8]
test edi, edi
je 0x10085bf0
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 0x10085c5b
test ecx, ecx
jne 0x10085c6d
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 0x10085db3
mov ecx, dword [ebp + 0xc]
call fcn.10054470
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 0x10085c98
cmp byte [ebx + 0xf], al
jne 0x10085c90
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 0x10085c73
test ecx, ecx
jne 0x10085c85
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 0x10085c9c
movzx eax, byte [eax + 0x101b7250]
movzx ecx, byte [ecx + 0x101b7250]
sub ecx, eax
jne 0x10085bf0
inc edx
jmp 0x10085bc5
movzx eax, byte [eax + 0x101b7250]
movzx ecx, byte [ecx + 0x101b7250]
sub ecx, eax
jne 0x10085c88
inc edx
jmp 0x10085c34
mov edi, dword [esp + 0x4c]
mov al, byte [esp + 0xf]
inc esi
add ebx, 0x14
cmp esi, edi
jl 0x10085c28
mov ebx, dword [esp + 0x20]
cmp esi, edi
jl 0x10085cc3
mov ecx, dword [ebp + 0xc]
call fcn.1008a930
test eax, eax
je 0x10085cbb
test dword [ebx + 0x24], 0x200
mov eax, 0xffffffff
cmove esi, eax
cmp esi, edi
jge 0x10085db3
mov edi, dword [ebp + 0x14]
inc dword [esp + 0x1c]
mov eax, dword [edi + 0x1c]
cmp eax, 2
jne 0x10085d19
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + 0x10]
cmp byte [eax + 0xcc], 2
jb 0x10085cfa
mov word [edi + 0x20], si
mov dword [edi + 0x2c], ebx
mov dword [esp + 0x34], 0xa4
jmp 0x10085dbd
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 0x10085dbd
test esi, esi
jns 0x10085d35
mov byte [edi + 1], 0x44
mov dword [edi + 0x2c], ebx
mov word [edi + 0x20], si
mov dword [esp + 0x34], 0x4d
jmp 0x10085db6
test eax, eax
jne 0x10085d80
cmp esi, 0x20
jl 0x10085d5c
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 0x10085db6
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 0x10085db6
cmp esi, 0x20
jl 0x10085d8a
or eax, 0xffffffff
jmp 0x10085d93
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 0x10085db6
mov edi, dword [ebp + 0x14]
jmp 0x10085dba
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 0x10085e08
cmp ecx, 1
jne 0x10085e08
cmp dword [esp + 0x14], ebx
je 0x10085e08
test byte [edx + 0x18], 0x28
jne 0x10085e08
mov ecx, esi
call fcn.1008a930
test eax, eax
je 0x10085e08
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x10]
test dword [eax + 0x24], 0x200
jne 0x10085e08
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 0x10085ea8
test ebx, ebx
jne 0x100860e7
mov edx, dword [ebp + 8]
test edx, edx
jne 0x10085eb3
mov ecx, dword [edi + 8]
mov dword [esp + 0x4c], edx
mov eax, dword [ecx]
mov dword [esp + 0x54], eax
test eax, eax
jle 0x10085eb0
lea edi, [ecx + 0x10]
nop dword [eax]
test byte [edi], 3
mov ebx, dword [edi - 8]
jne 0x10085e7e
test ebx, ebx
jne 0x10085e54
mov ecx, esi
neg ecx
sbb ecx, ecx
jmp 0x10085e7a
test esi, esi
je 0x10085e7e
mov edx, ebx
sub esi, ebx
nop dword [eax]
movzx ecx, byte [edx]
movzx eax, byte [edx + esi]
cmp ecx, eax
jne 0x10085e93
test ecx, ecx
jne 0x10085ea5
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x54]
mov esi, dword [ebp + 0xc]
test ecx, ecx
je 0x10085ed1
inc edx
add edi, 0x14
mov dword [esp + 0x4c], edx
cmp edx, eax
jl 0x10085e40
mov ebx, dword [esp + 0x1c]
mov edi, dword [ebp + 0x10]
jmp 0x10085eb0
movzx eax, byte [eax + 0x101b7250]
movzx ecx, byte [ecx + 0x101b7250]
sub ecx, eax
jne 0x10085e6f
inc edx
jmp 0x10085e60
test ebx, ebx
jne 0x100860e7
mov edx, dword [ebp + 8]
mov edi, dword [edi + 0xc]
inc dword [esp + 0x48]
mov dword [ebp + 0x10], edi
test edi, edi
je 0x10085fbe
mov edi, dword [ebp + 0x14]
mov esi, dword [esp + 0x14]
jmp 0x100857b2
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 0x10085f08
test byte [eax + 4], 0x10
je 0x10085f08
push ebx
push str.misuse_of_aliased_aggregate__s
push dword [esp + 0x18]
call fcn.10054280
add esp, 0xc
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test dword [eax + 4], 0x8000
je 0x10085f28
test dword [ecx + 0x18], 0x4000
je 0x10085f20
cmp ecx, dword [esp + 0x38]
je 0x10085f28
push ebx
push str.misuse_of_aliased_window_function__s
jmp 0x10085ef0
mov cl, byte [eax]
cmp cl, 0xad
jne 0x10085f32
mov cl, byte [eax + 2]
cmp cl, 0xae
jne 0x10085f3c
mov eax, dword [eax + 0x14]
jmp 0x10085f47
cmp cl, 0x88
jne 0x10085f69
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x1c]
cmp dword [eax], 1
je 0x10085f69
push str.row_value_misused
push dword [esp + 0x14]
call fcn.10054280
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 0x101b2535
push edi
push edx
mov edx, esi
mov esi, dword [esp + 0x20]
mov ecx, esi
call fcn.10085460
add esp, 0x10
cmp byte [esi + 0xcc], 2
jb 0x10086238
mov eax, dword [esi + 0x114]
test eax, eax
je 0x10086238
cmp dword [eax], edi
je 0x10085fb3
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x10085fa3
jmp 0x10086238
mov dword [eax], 0
jmp 0x10086238
test edx, edx
jne 0x100860fb
mov edi, dword [ebp + 0x14]
mov ebx, dword [edi + 4]
test bl, 0x40
je 0x10086044
mov eax, dword [esp + 0x30]
cmp byte [eax + 0xa5], dl
jne 0x1008601e
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 0x10086013
mov eax, ecx
and eax, 0x10000001
cmp eax, 1
jne 0x1008600b
mov eax, ecx
and eax, 0x40000000
or eax, edx
jne 0x1008601e
and ecx, 0x20000000
jmp 0x10086019
and ecx, 0x40000000
or ecx, 0
je 0x10086044
push esi
push str.double_quoted_string_literal:___w_
push 0x1c
call fcn.10053700
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 0x100860ee
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 0x1008608b
test ecx, ecx
jne 0x1008609d
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 + 0x101b7250]
movzx ecx, byte [ecx + 0x101b7250]
sub ecx, eax
jne 0x100860a0
inc esi
jmp 0x10086060
mov esi, str.false
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x100860d2
test ecx, ecx
jne 0x100860e4
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 + 0x101b7250]
movzx ecx, byte [ecx + 0x101b7250]
sub ecx, eax
jne 0x100860f4
inc edx
jmp 0x100860a7
cmp ebx, 1
jne 0x100860f8
jmp 0x10086166
mov ebx, dword [esp + 0x1c]
jmp 0x100860fb
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 0x1008612c
push edx
push esi
push eax
push str._s:__s._s._s
push dword [esp + 0x24]
call fcn.10054280
add esp, 0x18
jmp 0x10086157
test edx, edx
je 0x10086145
push edx
push eax
push str._s:__s._s
push dword [esp + 0x20]
call fcn.10054280
add esp, 0x14
jmp 0x10086157
push eax
push str._s:__s
push dword [esp + 0x1c]
call fcn.10054280
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 0x100861f0
cmp dword [esp + 0x14], 0
je 0x100861f0
mov edx, dword [edi + 0x2c]
movsx esi, ax
test byte [edx + 0x24], 0x60
je 0x100861c6
mov eax, dword [edx + 4]
lea ecx, [esi + esi*4]
test byte [eax + ecx*4 + 0x10], 0x60
je 0x100861c6
movzx eax, word [edx + 0x2a]
cmp ax, 0x40
jl 0x100861a8
or ecx, 0xffffffff
or edx, 0xffffffff
jmp 0x100861e6
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 0x100861e6
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 0x10086202
mov ecx, esi
call fcn.100890b0
mov edx, dword [edi + 0x10]
mov dword [edi + 0xc], 0
test edx, edx
je 0x10086217
mov ecx, esi
call fcn.100890b0
mov eax, dword [esp + 0x34]
or dword [edi + 4], 0x800000
mov dword [edi + 0x10], 0
mov byte [edi], al
cmp ebx, 1
jne 0x10085efc
mov esi, dword [esp + 0x10]
test dword [edi + 4], 0x400000
jne 0x10086301
mov eax, dword [esi]
mov ebx, dword [ebp + 0x10]
cmp dword [eax + 0x150], 0
mov ebx, dword [ebx + 4]
je 0x10086301
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x10086301
mov eax, dword [eax + 0x10]
xor edx, edx
add eax, 0xc
cmp dword [eax], ecx
je 0x10086282
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x10086272
test edx, edx
js 0x10086301
cmp byte [edi], 0x4d
jne 0x1008628c
mov esi, dword [esi + 0x78]
jmp 0x100862b8
mov esi, dword [ebx]
xor eax, eax
test esi, esi
jle 0x10086301
mov edi, dword [edi + 0x1c]
lea ecx, [ebx + 0x34]
nop word [eax + eax]
cmp edi, dword [ecx]
je 0x100862ae
inc eax
add ecx, 0x48
cmp eax, esi
jl 0x100862a0
jmp 0x10086301
mov edi, dword [ebp + 0x14]
lea eax, [eax + eax*8]
mov esi, dword [ebx + eax*8 + 0x18]
test esi, esi
je 0x10086301
movsx eax, word [edi + 0x20]
test eax, eax
js 0x100862cf
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
jmp 0x100862e9
movzx eax, word [esi + 0x28]
test ax, ax
js 0x100862e4
cwde
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
jmp 0x100862e9
mov eax, str.ROWID
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [esi]
push eax
call fcn.10095c40
add esp, 8
cmp eax, 2
jne 0x10086301
mov byte [edi], 0x77
mov ecx, dword [esp + 0x38]
mov eax, dword [ebp + 0x10]
inc dword [ecx + 0x10]
cmp ecx, eax
je 0x1008631a
nop
mov ecx, dword [ecx + 0xc]
inc dword [ecx + 0x10]
cmp ecx, eax
jne 0x10086310
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret