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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x4fc040]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, ecx
mov dword [esp + 0x54], eax
push esi
mov esi, edx
mov dword [esp + 0xc], ebx
mov edx, dword [ebp + 0x10]
xor eax, eax
mov ecx, dword [ebx + 8]
mov dword [esp + 0x10], esi
mov dword [esp + 0x40], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ecx
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x40], edi
test ecx, ecx
jne 0x46a435
cmp dword [ebx + 0x7c], eax
jne 0x46a42a
mov eax, dword [ebx]
test byte [eax + 0x50], 8
jne 0x46a42a
mov byte [ebx + 0x17], 1
mov ecx, ebx
call fcn.0044eed0
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x20], eax
inc eax
mov dword [ebx + 0x28], eax
test edi, edi
je 0x46a486
test dword [esi + 4], 0x1000
je 0x46a486
mov eax, dword [esi + 0x14]
xor esi, esi
mov edi, dword [eax + 0x1c]
mov ebx, dword [edi]
test ebx, ebx
jle 0x46a473
add edi, 8
nop
mov ecx, dword [edi]
call fcn.0046a060
test eax, eax
jne 0x46a473
inc esi
add edi, 0x14
cmp esi, ebx
jl 0x46a460
mov edi, dword [esp + 0x40]
xor eax, eax
cmp esi, ebx
mov ebx, dword [esp + 0x10]
cmove edi, eax
mov dword [esp + 0x40], edi
cmp dword [ebx + 0x24], 0
mov eax, 1
mov ecx, dword [esp + 0x14]
jne 0x46ab42
mov eax, dword [ecx + 4]
test eax, 0x1000
je 0x46ab3d
test al, 0x40
jne 0x46ab3d
mov esi, dword [ecx + 0x14]
cmp dword [esi + 0x34], 0
jne 0x46ab3d
test byte [esi + 4], 9
jne 0x46ab3d
cmp dword [esi + 0x3c], 0
jne 0x46ab3d
cmp dword [esi + 0x24], 0
jne 0x46ab3d
mov eax, dword [esi + 0x20]
cmp dword [eax], 1
jne 0x46ab3d
cmp dword [eax + 0x1c], 0
jne 0x46ab3d
mov eax, dword [eax + 0x18]
cmp byte [eax + 0x2b], 1
je 0x46ab3d
mov ecx, dword [esi + 0x1c]
xor edx, edx
mov edi, dword [ecx]
test edi, edi
jle 0x46a523
add ecx, 8
nop dword [eax + eax]
mov eax, dword [ecx]
cmp byte [eax], 0xa7
jne 0x46ab39
inc edx
add ecx, 0x14
cmp edx, edi
jl 0x46a510
test esi, esi
je 0x46ab39
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x30], 0xffff8000
mov edi, dword [eax]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x1c], edi
mov ebx, dword [eax + 0x18]
mov dword [esp + 0x28], ebx
mov ecx, dword [ebx + 0x3c]
test ecx, ecx
je 0x46a573
mov eax, dword [esp + 0x10]
xor edx, edx
mov dword [esp + 0x30], edx
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x46a573
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x46a567
mov dword [esp + 0x30], edx
mov ecx, dword [esp + 0x10]
mov edx, ecx
mov eax, dword [ecx + 0x7c]
test eax, eax
mov ecx, dword [esp + 0x30]
cmovne edx, eax
mov eax, 1
shl eax, cl
mov esi, dword [edx + 0x58]
test esi, eax
jne 0x46a5a7
bts esi, ecx
mov dword [edx + 0x58], esi
cmp ecx, 1
jne 0x46a5ac
mov ecx, edx
call fcn.004832b0
jmp 0x46a5d6
cmp ecx, 1
je 0x46a5d6
mov esi, dword [esp + 0x10]
add ecx, ecx
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx*8 + 4]
cmp byte [eax + 9], 0
je 0x46a5d6
push dword [ebx]
mov edx, dword [esp + 0x34]
mov ecx, esi
push 0
push dword [ebx + 0x14]
call fcn.00479c30
add esp, 0xc
cmp edi, 1
jne 0x46a6aa
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 8]
cmp word [eax + 0x20], 0
jge 0x46a6aa
mov edi, dword [esp + 0x24]
mov esi, dword [edi + 0x6c]
cmp dword [edi + 0x70], esi
jg 0x46a616
push 0
push 0
push 0
mov edx, 0xf
mov ecx, edi
call fcn.0044f120
add esp, 0xc
mov esi, eax
jmp 0x46a649
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*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
mov edi, dword [esp + 0x10]
mov ecx, edi
mov edx, dword [esp + 0x20]
push 0x70
push ebx
push dword [esp + 0x38]
call fcn.0048e690
add esp, 0xc
mov dword [esp + 0x18], 1
push dword [ebx]
push str.USING_ROWID_SEARCH_ON_TABLE__s_FOR_IN_OPERATOR
push 0
push edi
call fcn.0044f720
mov ebx, dword [esp + 0x34]
add esp, 0x10
mov eax, dword [ebx]
mov edx, dword [ebx + 0x6c]
cmp byte [eax + 0x57], 0
je 0x46a698
mov eax, 0x4fec48
mov dword [eax + 8], edx
jmp 0x46ac1b
mov eax, dword [ebx + 0x68]
lea ecx, [esi + esi*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x46ac1b
mov dword [esp + 0x3c], 0
mov eax, 1
mov dword [esp + 0x2c], eax
test edi, edi
jle 0x46a79c
xor edi, edi
test eax, eax
je 0x46ab35
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
mov bl, byte [ecx]
mov al, bl
cmp al, 0xb0
jne 0x46a6df
mov al, byte [ecx + 2]
cmp al, 0xb1
jne 0x46a6ea
mov eax, dword [ecx + 0x14]
mov esi, eax
jmp 0x46a6f4
cmp al, 0x8a
jne 0x46a70b
mov eax, dword [ecx + 0x14]
mov esi, dword [eax + 0x1c]
cmp dword [esi], 1
jle 0x46a70b
cmp bl, 0x8a
je 0x46a704
cmp byte [ecx + 2], 0x8a
jne 0x46a707
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + edi + 8]
mov eax, dword [esp + 0x48]
mov eax, dword [edi + eax + 8]
movsx edx, word [eax + 0x20]
test edx, edx
js 0x46a732
mov ebx, dword [esp + 0x28]
movsx eax, word [ebx + 0x22]
cmp edx, eax
jge 0x46a732
mov eax, dword [ebx + 4]
add edx, edx
mov bl, byte [eax + edx*8 + 8]
jmp 0x46a734
mov bl, 0x44
call fcn.00466cd0
cmp al, 0x40
jle 0x46a753
cmp bl, 0x40
jle 0x46a755
cmp al, 0x43
jge 0x46a74f
cmp bl, 0x43
jge 0x46a74f
mov al, 0x41
jmp 0x46a757
mov al, 0x43
jmp 0x46a757
mov al, bl
or al, 0x40
movsx eax, al
sub eax, 0x41
je 0x46a772
sub eax, 1
je 0x46a772
xor eax, eax
cmp bl, 0x43
setge al
mov dword [esp + 0x2c], eax
jmp 0x46a776
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
add edi, 0x14
inc ecx
mov dword [esp + 0x3c], ecx
cmp ecx, dword [esp + 0x1c]
jl 0x46a6c5
test eax, eax
je 0x46ab35
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x1c]
mov ebx, dword [ebx + 8]
mov dword [esp + 0x38], ebx
test ebx, ebx
je 0x46ab35
xor edx, edx
nop dword [eax]
test edx, edx
jne 0x46ac1f
movzx eax, word [ebx + 0x34]
mov ecx, eax
cmp ecx, edi
jl 0x46ab1e
cmp dword [ebx + 0x24], edx
jne 0x46ab1e
cmp eax, 0x3f
jae 0x46ab1e
test byte [ebp + 8], 4
je 0x46a7f7
movzx eax, word [ebx + 0x32]
cmp eax, edi
jg 0x46ab1e
cmp ecx, edi
jle 0x46a7f7
cmp byte [ebx + 0x36], dl
je 0x46ab1e
mov dword [esp + 0x3c], 0
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
test edi, edi
jle 0x46a9ce
mov eax, dword [esp + 0x54]
xor edi, edi
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0xc]
mov bl, byte [edx]
mov al, bl
cmp al, 0xb0
jne 0x46a838
mov al, byte [edx + 2]
cmp al, 0xb1
jne 0x46a843
mov eax, dword [edx + 0x14]
mov ecx, eax
jmp 0x46a84d
cmp al, 0x8a
jne 0x46a864
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + 0x1c]
cmp dword [ecx], 1
jle 0x46a864
cmp bl, 0x8a
je 0x46a85d
cmp byte [edx + 2], 0x8a
jne 0x46a860
mov eax, dword [eax + 0x1c]
mov edx, dword [eax + edi + 8]
test dword [edx + 4], 0x200
mov eax, dword [esp + 0x48]
mov esi, dword [edi + eax + 8]
je 0x46a87b
mov ecx, dword [esp + 0x10]
jmp 0x46a8a5
test esi, esi
je 0x46a88e
test dword [esi + 4], 0x200
je 0x46a88e
mov ecx, dword [esp + 0x10]
jmp 0x46a8a3
mov ebx, dword [esp + 0x10]
mov ecx, ebx
call fcn.00466fa0
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x46a8ae
mov ecx, ebx
mov edx, esi
call fcn.00466fa0
mov dword [esp + 0x2c], eax
movzx ecx, word [esi + 0x20]
xor edi, edi
mov esi, dword [esp + 0x38]
mov dword [esp + 0x58], ecx
mov ebx, dword [esi + 4]
nop
cmp word [ebx], cx
jne 0x46a902
test eax, eax
je 0x46a910
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 0x46a8e5
test eax, eax
je 0x46a910
inc edx
jmp 0x46a8d3
movzx ecx, byte [ecx + 0x4f2180]
movzx eax, byte [eax + 0x4f2180]
sub eax, ecx
jne 0x46a8fa
inc edx
jmp 0x46a8d3
mov ecx, dword [esp + 0x58]
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
inc edi
add ebx, 2
cmp edi, dword [esp + 0x1c]
jl 0x46a8c0
mov ebx, dword [esp + 0x1c]
cmp edi, ebx
je 0x46a96e
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 + 0x28]
mov eax, esi
and eax, dword [esp + 0x34]
or ecx, eax
jne 0x46a96e
or dword [esp + 0x28], edx
or dword [esp + 0x34], esi
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
test eax, eax
je 0x46a956
mov dword [eax + ecx*4], edi
mov edi, dword [esp + 0x4c]
inc ecx
add edi, 0x14
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x4c], edi
cmp ecx, ebx
jl 0x46a826
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x34]
xor ecx, ecx
xor edx, edx
mov eax, edi
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 + 0x28], ecx
jne 0x46ab1a
cmp esi, edx
jne 0x46ab1a
mov edi, dword [esp + 0x24]
mov esi, dword [edi + 0x6c]
cmp dword [edi + 0x70], esi
jg 0x46a9dc
push 0
push 0
push 0
mov edx, 0xf
mov ecx, edi
call fcn.0044f120
add esp, 0xc
mov esi, eax
jmp 0x46aa0f
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x54]
mov dword [esp + 0x28], eax
jmp 0x46a97a
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*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
push dword [ebx]
push str.USING_INDEX__s_FOR_IN_OPERATOR
push 0
push dword [esp + 0x1c]
call fcn.0044f720
mov ecx, dword [edi + 0x6c]
add esp, 0x10
mov edx, dword [ebx + 0x2c]
cmp dword [edi + 0x70], ecx
jg 0x46aa49
push dword [esp + 0x30]
mov ecx, edi
push edx
push dword [esp + 0x28]
mov edx, 0x70
call fcn.0044f120
add esp, 0xc
jmp 0x46aa78
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x70
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 + 0x10]
mov edx, ebx
mov ecx, eax
mov edi, dword [eax + 8]
call fcn.00483aa0
mov edx, eax
test edx, edx
je 0x46aab8
mov ecx, dword [edi]
cmp byte [ecx + 0x57], 0
je 0x46aaa6
push edx
mov edx, 0xfffffff8
call fcn.0044fcf0
add esp, 4
jmp 0x46aab8
mov eax, dword [edi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x1c]
movzx eax, byte [eax]
add eax, 3
mov dword [esp + 0x18], eax
test edx, edx
je 0x46aaf4
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x2c]
inc eax
mov dword [ecx + 0x2c], eax
mov dword [edx], eax
cmp edi, 1
jne 0x46aaf4
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push eax
call fcn.0046a280
add esp, 4
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x6c]
mov eax, dword [eax]
cmp byte [eax + 0x57], 0
je 0x46ab0a
mov eax, 0x4fec48
jmp 0x46ab17
mov eax, dword [esp + 0x24]
lea ecx, [esi + esi*4]
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 + 0x38], ebx
test ebx, ebx
jne 0x46a7b0
test edx, edx
jne 0x46ac1f
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov eax, 1
test byte [ebp + 8], 1
je 0x46abb0
test dword [ecx + 4], 0x1000
jne 0x46abb0
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.00469c30
mov dword [esp + 0x68], 0x469ad0
mov dword [esp + 0x78], 0
call fcn.00463850
cmp word [esp + 0x74], 0
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0xc], esi
je 0x46ab9a
mov eax, dword [ecx + 0x14]
cmp dword [eax], 2
jg 0x46abb0
dec dword [ebx + 0x28]
mov edx, 5
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x18], edx
jmp 0x46ac23
movzx edi, word [ebx + 0x98]
xor esi, esi
test byte [ebp + 8], 4
mov dword [esp + 0x18], 2
je 0x46abdf
push dword [esp + 0x20]
xor eax, eax
mov edx, ecx
mov ecx, ebx
mov word [ebx + 0x98], ax
call fcn.0046ae60
jmp 0x46ac11
mov eax, dword [esp + 0x40]
test eax, eax
je 0x46abef
inc dword [ebx + 0x2c]
mov esi, dword [ebx + 0x2c]
mov dword [eax], esi
push dword [esp + 0x20]
mov edx, ecx
mov ecx, ebx
call fcn.0046ae60
add esp, 4
test esi, esi
je 0x46ac14
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push esi
call fcn.0046a280
add esp, 4
mov word [ebx + 0x98], di
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x44]
test ebx, ebx
je 0x46ad10
cmp edx, 3
je 0x46ad10
cmp edx, 4
je 0x46ad10
mov ecx, dword [ecx + 0xc]
mov al, byte [ecx]
cmp al, 0xb0
jne 0x46ac4d
mov al, byte [ecx + 2]
cmp al, 0xb1
jne 0x46ac56
mov edi, dword [ecx + 0x14]
jmp 0x46ac64
cmp al, 0x8a
jne 0x46ad01
mov eax, dword [ecx + 0x14]
mov edi, dword [eax + 0x1c]
mov edi, dword [edi]
test edi, edi
jle 0x46ad10
xor ecx, ecx
cmp edi, 0x10
jb 0x46ad08
movaps xmm1, xmmword [0x4f60c0]
mov eax, edi
and eax, 0x8000000f
jns 0x46ac8e
dec eax
or eax, 0xfffffff0
inc eax
mov edx, dword [esp + 0x44]
mov ebx, edi
sub ebx, eax
mov esi, 8
add edx, 0x20
nop
movd xmm0, ecx
lea eax, [esi - 4]
pshufd xmm0, xmm0, 0
lea edx, [edx + 0x40]
paddd xmm0, xmm1
add ecx, 0x10
movups xmmword [edx - 0x60], xmm0
movd xmm0, eax
lea eax, [esi + 4]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [edx - 0x50], xmm0
movd xmm0, esi
add esi, 0x10
pshufd xmm0, xmm0, 0
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, ebx
jl 0x46aca0
cmp ecx, edi
jge 0x46ad10
mov ebx, dword [esp + 0x44]
jmp 0x46ad08
mov edi, 1
xor ecx, ecx
mov dword [ebx + ecx*4], ecx
inc ecx
cmp ecx, edi
jl 0x46ad08
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x20]
pop edi
pop esi
mov dword [ecx], eax
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x10]
pop ebx
xor ecx, esp
call fcn.004e3214
mov esp, ebp
pop ebp
ret