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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x101f62b4]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, ecx
mov dword [esp + 0x54], eax
xor eax, eax
mov dword [esp + 8], edx
mov dword [esp + 0x14], eax
push esi
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x24], eax
inc eax
mov dword [ebx + 0x28], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], eax
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x40], edi
test eax, eax
jne 0x1008b580
cmp dword [ebx + 0x74], eax
jne 0x1008b573
mov eax, dword [ebx]
test byte [eax + 0x4c], 8
jne 0x1008b573
mov byte [ebx + 0x17], 1
call fcn.10072400
mov edx, dword [esp + 0x10]
mov dword [esp + 0x20], eax
test edi, edi
je 0x1008b5c6
test dword [edx + 4], 0x800
je 0x1008b5c6
mov eax, dword [edx + 0x14]
xor esi, esi
mov edi, dword [eax + 0x1c]
mov ebx, dword [edi]
test ebx, ebx
jle 0x1008b5b3
add edi, 4
nop
mov ecx, dword [edi]
call fcn.1008b210
test eax, eax
jne 0x1008b5b3
inc esi
add edi, 0x14
cmp esi, ebx
jl 0x1008b5a0
mov edi, dword [esp + 0x40]
xor eax, eax
cmp esi, ebx
mov ebx, dword [esp + 0x14]
cmove edi, eax
mov dword [esp + 0x40], edi
cmp dword [ebx + 0x24], 0
mov eax, 1
mov ecx, dword [esp + 0x10]
jne 0x1008bc0c
mov eax, dword [ecx + 4]
test eax, 0x800
je 0x1008bc07
test al, 0x20
jne 0x1008bc07
mov eax, dword [ecx + 0x14]
cmp dword [eax + 0x34], 0
jne 0x1008bc07
test byte [eax + 4], 9
jne 0x1008bc07
cmp dword [eax + 0x3c], 0
jne 0x1008bc07
cmp dword [eax + 0x24], 0
jne 0x1008bc07
mov ecx, dword [eax + 0x20]
cmp dword [ecx], 1
jne 0x1008bc03
cmp dword [ecx + 0x1c], 0
jne 0x1008bc03
mov ebx, dword [ecx + 0x18]
mov dword [esp + 0x34], ebx
cmp dword [ebx + 0x38], 0
jne 0x1008bbff
mov eax, dword [eax + 0x1c]
xor edx, edx
mov dword [esp + 0x44], eax
mov esi, dword [eax]
mov dword [esp + 0x18], esi
test esi, esi
jle 0x1008b673
lea ecx, [eax + 4]
nop word [eax + eax]
mov eax, dword [ecx]
cmp byte [eax], 0xa4
jne 0x1008bbff
inc edx
add ecx, 0x14
cmp edx, esi
jl 0x1008b660
mov edx, dword [ebx + 0x48]
mov ecx, 0xfff0bdc0
mov edi, dword [esp + 0x14]
test edx, edx
je 0x1008b699
mov eax, dword [edi]
xor ecx, ecx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], edx
je 0x1008b699
lea eax, [eax + 0x10]
inc ecx
cmp dword [eax], edx
jne 0x1008b691
movzx eax, cx
mov edx, edi
movsx ecx, ax
mov eax, dword [edi + 0x74]
test eax, eax
mov dword [esp + 0x3c], ecx
cmovne edx, eax
mov eax, 1
shl eax, cl
mov esi, dword [edx + 0x54]
test esi, eax
jne 0x1008b6d1
bts esi, ecx
mov dword [edx + 0x54], esi
cmp ecx, 1
jne 0x1008b6d1
mov ecx, edx
call fcn.1009d9f0
mov ecx, dword [esp + 0x3c]
push dword [ebx]
mov edx, ecx
mov ecx, edi
push 0
push dword [ebx + 0x1c]
call fcn.10096810
mov edx, dword [esp + 0x24]
add esp, 0xc
cmp edx, 1
jne 0x1008b773
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 4]
cmp word [eax + 0x20], 0
jge 0x1008b773
mov ecx, dword [esp + 0x20]
mov edx, 0x11
call fcn.100726a0
mov edx, dword [esp + 0x28]
mov ecx, edi
push 0x60
push ebx
push dword [esp + 0x44]
mov esi, eax
call fcn.100a6cf0
add esp, 0xc
mov dword [esp + 0x1c], 1
push dword [ebx]
push str.USING_ROWID_SEARCH_ON_TABLE__s_FOR_IN_OPERATOR
push 0
push edi
call fcn.10072b40
mov ebx, dword [esp + 0x30]
add esp, 0x10
mov edx, dword [ebx + 0x6c]
test esi, esi
jns 0x1008b74c
lea esi, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x1008b761
mov eax, 0x101fcbd8
mov dword [eax + 8], edx
jmp 0x1008bcc8
mov eax, dword [ebx + 0x68]
lea ecx, [esi + esi*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x1008bcc8
mov eax, 1
xor edi, edi
mov dword [esp + 0x24], eax
test edx, edx
jle 0x1008b856
xor esi, esi
test eax, eax
je 0x1008bbff
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0xc]
mov bl, byte [edx]
mov al, bl
cmp al, 0xad
jne 0x1008b7a2
mov al, byte [edx + 2]
cmp al, 0xae
jne 0x1008b7ad
mov eax, dword [edx + 0x14]
mov ecx, eax
jmp 0x1008b7b7
cmp al, 0x88
jne 0x1008b7d4
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + 0x1c]
cmp dword [ecx], 1
jle 0x1008b7d4
cmp bl, 0x88
je 0x1008b7cd
cmp byte [edx + 2], 0x88
je 0x1008b7cd
mov edx, dword [esi + eax + 4]
jmp 0x1008b7d4
mov eax, dword [eax + 0x1c]
mov edx, dword [eax + esi + 4]
mov eax, dword [esp + 0x44]
mov eax, dword [esi + eax + 4]
movsx eax, word [eax + 0x20]
test eax, eax
js 0x1008b7f4
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 4]
mov bl, byte [eax + ecx*4 + 0xd]
jmp 0x1008b7f6
mov bl, 0x44
mov ecx, edx
call fcn.10088740
cmp al, 0x40
jle 0x1008b817
cmp bl, 0x40
jle 0x1008b819
cmp al, 0x43
jge 0x1008b813
cmp bl, 0x43
jge 0x1008b813
mov al, 0x41
jmp 0x1008b81b
mov al, 0x43
jmp 0x1008b81b
mov al, bl
or al, 0x40
movsx eax, al
sub eax, 0x41
je 0x1008b836
sub eax, 1
je 0x1008b836
xor eax, eax
cmp bl, 0x43
setge al
mov dword [esp + 0x24], eax
jmp 0x1008b83a
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
inc edi
add esi, 0x14
cmp edi, edx
jl 0x1008b788
test eax, eax
je 0x1008bbff
mov ebx, dword [esp + 0x34]
mov ebx, dword [ebx + 8]
mov dword [esp + 0x30], ebx
test ebx, ebx
je 0x1008bbff
xor edi, edi
test edi, edi
jne 0x1008bccc
movzx eax, word [ebx + 0x34]
mov ecx, eax
cmp ecx, edx
jl 0x1008bbe8
cmp dword [ebx + 0x24], edi
jne 0x1008bbe8
cmp eax, 0x3f
jae 0x1008bbe8
test byte [ebp + 8], 4
je 0x1008b8af
movzx eax, word [ebx + 0x32]
cmp eax, edx
jg 0x1008bbe8
cmp ecx, edx
jle 0x1008b8af
cmp byte [ebx + 0x36], 0
je 0x1008bbe8
mov dword [esp + 0x34], 0
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
test edx, edx
jle 0x1008ba92
mov eax, dword [esp + 0x54]
xor esi, esi
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x38], eax
nop
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0xc]
mov bl, byte [edx]
mov al, bl
cmp al, 0xad
jne 0x1008b8f2
mov al, byte [edx + 2]
cmp al, 0xae
jne 0x1008b8fd
mov eax, dword [edx + 0x14]
mov ecx, eax
jmp 0x1008b907
cmp al, 0x88
jne 0x1008b924
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + 0x1c]
cmp dword [ecx], 1
jle 0x1008b924
cmp bl, 0x88
je 0x1008b91d
cmp byte [edx + 2], 0x88
je 0x1008b91d
mov edx, dword [esi + eax + 4]
jmp 0x1008b924
mov eax, dword [eax + 0x1c]
mov edx, dword [eax + esi + 4]
test dword [edx + 4], 0x100
mov eax, dword [esp + 0x44]
mov esi, dword [esi + eax + 4]
je 0x1008b93b
mov ecx, dword [esp + 0x14]
jmp 0x1008b965
test esi, esi
je 0x1008b94e
test dword [esi + 4], 0x100
je 0x1008b94e
mov ecx, dword [esp + 0x14]
jmp 0x1008b963
mov ebx, dword [esp + 0x14]
mov ecx, ebx
call fcn.10088920
mov dword [esp + 0x24], eax
test eax, eax
jne 0x1008b96e
mov ecx, ebx
mov edx, esi
call fcn.10088920
mov dword [esp + 0x24], eax
movzx ecx, word [esi + 0x20]
xor edi, edi
mov esi, dword [esp + 0x30]
mov dword [esp + 0x58], ecx
mov ebx, dword [esi + 4]
nop
cmp word [ebx], cx
jne 0x1008b9c2
test eax, eax
je 0x1008b9d0
mov edx, dword [eax]
mov eax, dword [esi + 0x20]
mov esi, dword [eax + edi*4]
sub esi, edx
movzx eax, byte [edx]
movzx ecx, byte [esi + edx]
cmp eax, ecx
jne 0x1008b9a5
test eax, eax
je 0x1008b9d0
inc edx
jmp 0x1008b993
movzx ecx, byte [ecx + 0x101b71d0]
movzx eax, byte [eax + 0x101b71d0]
sub eax, ecx
jne 0x1008b9ba
inc edx
jmp 0x1008b993
mov ecx, dword [esp + 0x58]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
inc edi
add ebx, 2
cmp edi, dword [esp + 0x18]
jl 0x1008b980
mov ebx, dword [esp + 0x18]
cmp edi, ebx
je 0x1008ba2e
xor edx, edx
mov eax, edi
bts edx, eax
xor esi, esi
cmp eax, 0x20
cmovae esi, edx
xor edx, esi
cmp eax, 0x40
mov ecx, edx
cmovae esi, edx
and ecx, dword [esp + 0x38]
mov eax, esi
and eax, dword [esp + 0x2c]
or ecx, eax
jne 0x1008ba2e
or dword [esp + 0x38], edx
or dword [esp + 0x2c], esi
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x34]
test eax, eax
je 0x1008ba16
mov dword [eax + ecx*4], edi
mov esi, dword [esp + 0x4c]
inc ecx
add esi, 0x14
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], esi
cmp ecx, ebx
jl 0x1008b8e0
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x1c]
mov eax, edx
xor ecx, ecx
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
cmp dword [esp + 0x38], ecx
jne 0x1008bbe4
cmp esi, edx
jne 0x1008bbe4
mov edi, dword [esp + 0x20]
mov esi, dword [edi + 0x6c]
cmp dword [edi + 0x70], esi
jg 0x1008baa0
push 0
push 0
push 0
mov edx, 0x11
mov ecx, edi
call fcn.100725f0
add esp, 0xc
mov esi, eax
jmp 0x1008bad3
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x54]
mov dword [esp + 0x38], eax
jmp 0x1008ba3e
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x11
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
push dword [ebx]
push str.USING_INDEX__s_FOR_IN_OPERATOR
push 0
push dword [esp + 0x20]
call fcn.10072b40
mov ecx, dword [edi + 0x6c]
add esp, 0x10
mov edx, dword [ebx + 0x2c]
cmp dword [edi + 0x70], ecx
jg 0x1008bb0d
push dword [esp + 0x3c]
mov ecx, edi
push edx
push dword [esp + 0x30]
mov edx, 0x60
call fcn.100725f0
add esp, 0xc
jmp 0x1008bb3c
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x28]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x60
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
mov edx, ebx
mov ecx, eax
mov edi, dword [eax + 8]
call fcn.1009e3d0
mov edx, eax
test edx, edx
je 0x1008bb7c
mov ecx, dword [edi]
cmp byte [ecx + 0x51], 0
je 0x1008bb6a
push edx
mov edx, 0xfffffff7
call fcn.10073200
add esp, 4
jmp 0x1008bb7c
mov eax, dword [edi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x40]
movzx edi, byte [eax]
add edi, 3
mov dword [esp + 0x1c], edi
test edx, edx
je 0x1008bbb6
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x2c]
inc eax
cmp dword [esp + 0x18], 1
mov dword [ecx + 0x2c], eax
mov dword [edx], eax
jne 0x1008bbb6
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
push eax
call fcn.1008b3c0
add esp, 4
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x6c]
mov eax, dword [eax]
cmp byte [eax + 0x51], 0
je 0x1008bbcc
mov eax, 0x101fcbd8
jmp 0x1008bbe1
test esi, esi
lea eax, [edx - 1]
cmovns eax, esi
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x18]
mov ebx, dword [ebx + 0x14]
mov dword [esp + 0x30], ebx
test ebx, ebx
jne 0x1008b867
test edi, edi
jne 0x1008bccc
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov eax, 1
test byte [ebp + 8], 1
je 0x1008bc6f
test dword [ecx + 4], 0x800
jne 0x1008bc6f
mov esi, dword [ecx + 0xc]
mov edx, ecx
mov dword [ecx + 0xc], 0
lea ecx, [esp + 0x60]
mov word [esp + 0x74], ax
mov dword [esp + 0x64], fcn.1008aec0
mov dword [esp + 0x68], 0x1008ad90
mov dword [esp + 0x78], 0
call fcn.10085bc0
cmp word [esp + 0x74], 0
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0xc], esi
je 0x1008bc64
mov eax, dword [ecx + 0x14]
cmp dword [eax], 2
jg 0x1008bc6f
mov edi, 5
mov dword [esp + 0x1c], edi
jmp 0x1008bcd0
mov edi, dword [ebx + 0x88]
xor esi, esi
test byte [ebp + 8], 4
mov dword [esp + 0x1c], 2
je 0x1008bc8d
mov dword [ebx + 0x88], esi
jmp 0x1008bc9d
mov eax, dword [esp + 0x40]
test eax, eax
je 0x1008bc9d
inc dword [ebx + 0x2c]
mov esi, dword [ebx + 0x2c]
mov dword [eax], esi
push dword [esp + 0x28]
mov edx, ecx
mov ecx, ebx
call fcn.1008bf50
add esp, 4
test esi, esi
je 0x1008bcc2
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
push esi
call fcn.1008b3c0
add esp, 4
mov dword [ebx + 0x88], edi
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x48]
test edx, edx
je 0x1008bdbb
cmp edi, 3
je 0x1008bdbb
cmp edi, 4
je 0x1008bdbb
mov ecx, dword [ecx + 0xc]
mov al, byte [ecx]
cmp al, 0xad
jne 0x1008bcfa
mov al, byte [ecx + 2]
cmp al, 0xae
jne 0x1008bd05
mov eax, dword [ecx + 0x14]
mov esi, dword [eax]
jmp 0x1008bd18
cmp al, 0x88
jne 0x1008bd13
mov eax, dword [ecx + 0x14]
mov eax, dword [eax + 0x1c]
mov esi, dword [eax]
jmp 0x1008bd18
mov esi, 1
xor ecx, ecx
test esi, esi
jle 0x1008bdbb
cmp esi, 0x10
jb 0x1008bdaf
movaps xmm1, xmmword [0x101e1dd0]
mov eax, esi
and eax, 0x8000000f
jns 0x1008bd40
dec eax
or eax, 0xfffffff0
inc eax
mov edi, esi
sub edi, eax
add edx, 0x20
nop word [eax + eax]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm0, xmm0, 0
lea edx, [edx + 0x40]
paddd xmm0, xmm1
movups xmmword [edx - 0x60], xmm0
movd xmm0, eax
lea eax, [ecx + 8]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [edx - 0x50], xmm0
movd xmm0, eax
lea eax, [ecx + 0xc]
pshufd xmm0, xmm0, 0
add ecx, 0x10
paddd xmm0, xmm1
movups xmmword [edx - 0x40], xmm0
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [edx - 0x30], xmm0
cmp ecx, edi
jl 0x1008bd50
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x1c]
cmp ecx, esi
jge 0x1008bdbb
mov dword [edx + ecx*4], ecx
inc ecx
cmp ecx, esi
jl 0x1008bdb3
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x28]
mov dword [ecx], eax
mov eax, edi
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1015c875
mov esp, ebp
pop ebp
ret