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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x57906c]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x5c], eax
xor eax, eax
mov dword [esp + 0x10], edx
mov ecx, dword [edi + 8]
mov dword [esp + 0x14], edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
test ecx, ecx
jne 0x466c97
cmp dword [edi + 0x74], eax
jne 0x466c88
mov eax, dword [edi]
test byte [eax + 0x50], 8
jne 0x466c88
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.0044db60
mov edx, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x2c], eax
inc eax
mov dword [edi + 0x28], eax
test ebx, ebx
je 0x466ce6
test dword [edx + 4], 0x1000
je 0x466ce6
mov eax, dword [edx + 0x14]
xor esi, esi
mov edi, dword [eax + 0x1c]
mov ebx, dword [edi]
test ebx, ebx
jle 0x466cd3
add edi, 8
mov ecx, dword [edi]
call fcn.00466930
test eax, eax
jne 0x466cd3
inc esi
add edi, 0x14
cmp esi, ebx
jl 0x466cc0
mov eax, dword [esp + 0x40]
xor ecx, ecx
mov edi, dword [esp + 0x14]
cmp esi, ebx
cmove eax, ecx
mov dword [esp + 0x40], eax
cmp dword [edi + 0x24], 0
mov eax, 1
mov ecx, dword [esp + 0x10]
jne 0x46734c
mov eax, dword [ecx + 4]
test eax, 0x1000
je 0x467347
test al, 0x40
jne 0x467347
mov eax, dword [ecx + 0x14]
cmp dword [eax + 0x34], 0
jne 0x467347
test byte [eax + 4], 9
jne 0x467347
cmp dword [eax + 0x3c], 0
jne 0x467347
cmp dword [eax + 0x24], 0
jne 0x467347
mov ecx, dword [eax + 0x20]
cmp dword [ecx], 1
jne 0x467343
cmp dword [ecx + 0x1c], 0
jne 0x467343
mov ebx, dword [ecx + 0x18]
mov dword [esp + 0x38], ebx
cmp byte [ebx + 0x2b], 1
je 0x467343
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 0x466d93
lea ecx, [eax + 8]
nop word [eax + eax]
mov eax, dword [ecx]
cmp byte [eax], 0xa7
jne 0x467343
inc edx
add ecx, 0x14
cmp edx, esi
jl 0x466d80
mov ecx, dword [ebx + 0x3c]
mov dword [esp + 0x28], 0xffff8000
test ecx, ecx
je 0x466dc0
mov eax, dword [edi]
xor edx, edx
mov dword [esp + 0x28], edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x466dc0
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x466db4
mov dword [esp + 0x28], edx
mov eax, dword [edi + 0x74]
mov edx, edi
mov ecx, dword [esp + 0x28]
test eax, eax
cmovne edx, eax
mov eax, 1
shl eax, cl
mov esi, dword [edx + 0x54]
test esi, eax
jne 0x466df0
bts esi, ecx
mov dword [edx + 0x54], esi
cmp ecx, 1
jne 0x466df5
mov ecx, edx
call fcn.00479d80
jmp 0x466e1b
cmp ecx, 1
je 0x466e1b
mov eax, dword [edi]
add ecx, ecx
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx*8 + 4]
cmp byte [eax + 9], 0
je 0x466e1b
push dword [ebx]
mov edx, dword [esp + 0x2c]
mov ecx, edi
push 0
push dword [ebx + 0x14]
call fcn.004729c0
add esp, 0xc
mov edx, dword [esp + 0x18]
cmp edx, 1
jne 0x466eaa
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 8]
cmp word [eax + 0x20], 0
jge 0x466eaa
mov ecx, dword [esp + 0x20]
mov edx, 0xe
call fcn.0044de00
mov edx, dword [esp + 0x2c]
mov ecx, edi
push 0x70
push ebx
push dword [esp + 0x30]
mov esi, eax
call fcn.00482ea0
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.0044e2c0
mov ebx, dword [esp + 0x30]
add esp, 0x10
mov edx, dword [ebx + 0x6c]
test esi, esi
jns 0x466e83
lea esi, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x57], 0
je 0x466e98
mov eax, 0x632198
mov dword [eax + 8], edx
jmp 0x467426
mov eax, dword [ebx + 0x68]
lea ecx, [esi + esi*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x467426
mov eax, 1
xor edi, edi
mov dword [esp + 0x24], eax
test edx, edx
jle 0x466f93
xor esi, esi
nop
test eax, eax
je 0x46733f
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xc]
mov bl, byte [ecx]
mov al, bl
cmp al, 0xb0
jne 0x466eda
mov al, byte [ecx + 2]
cmp al, 0xb1
jne 0x466ee5
mov eax, dword [ecx + 0x14]
mov edx, eax
jmp 0x466eef
cmp al, 0x8a
jne 0x466f0c
mov eax, dword [ecx + 0x14]
mov edx, dword [eax + 0x1c]
cmp dword [edx], 1
jle 0x466f0c
cmp bl, 0x8a
je 0x466f05
cmp byte [ecx + 2], 0x8a
je 0x466f05
mov ecx, dword [esi + eax + 8]
jmp 0x466f0c
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + esi + 8]
mov eax, dword [esp + 0x44]
mov eax, dword [esi + eax + 8]
movsx edx, word [eax + 0x20]
test edx, edx
js 0x466f33
mov ebx, dword [esp + 0x38]
movsx eax, word [ebx + 0x22]
cmp edx, eax
jge 0x466f33
mov eax, dword [ebx + 4]
add edx, edx
mov bl, byte [eax + edx*8 + 8]
jmp 0x466f35
mov bl, 0x44
call fcn.00463d00
cmp al, 0x40
jle 0x466f54
cmp bl, 0x40
jle 0x466f56
cmp al, 0x43
jge 0x466f50
cmp bl, 0x43
jge 0x466f50
mov al, 0x41
jmp 0x466f58
mov al, 0x43
jmp 0x466f58
mov al, bl
or al, 0x40
movsx eax, al
sub eax, 0x41
je 0x466f73
sub eax, 1
je 0x466f73
xor eax, eax
cmp bl, 0x43
setge al
mov dword [esp + 0x24], eax
jmp 0x466f77
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
inc edi
add esi, 0x14
cmp edi, edx
jl 0x466ec0
test eax, eax
je 0x46733f
mov ebx, dword [esp + 0x38]
mov ebx, dword [ebx + 8]
mov dword [esp + 0x34], ebx
test ebx, ebx
je 0x46733f
xor edi, edi
test edi, edi
jne 0x46742a
movzx eax, word [ebx + 0x34]
mov ecx, eax
cmp ecx, edx
jl 0x467328
cmp dword [ebx + 0x24], edi
jne 0x467328
cmp eax, 0x3f
jae 0x467328
test byte [ebp + 8], 4
je 0x466fec
movzx eax, word [ebx + 0x32]
cmp eax, edx
jg 0x467328
cmp ecx, edx
jle 0x466fec
cmp byte [ebx + 0x36], 0
je 0x467328
mov dword [esp + 0x38], 0
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
test edx, edx
jle 0x4671d2
mov eax, dword [esp + 0x54]
xor esi, esi
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x3c], eax
nop dword [eax + eax]
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0xc]
mov bl, byte [edx]
mov al, bl
cmp al, 0xb0
jne 0x467032
mov al, byte [edx + 2]
cmp al, 0xb1
jne 0x46703d
mov eax, dword [edx + 0x14]
mov ecx, eax
jmp 0x467047
cmp al, 0x8a
jne 0x467064
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + 0x1c]
cmp dword [ecx], 1
jle 0x467064
cmp bl, 0x8a
je 0x46705d
cmp byte [edx + 2], 0x8a
je 0x46705d
mov edx, dword [esi + eax + 8]
jmp 0x467064
mov eax, dword [eax + 0x1c]
mov edx, dword [eax + esi + 8]
test dword [edx + 4], 0x200
mov eax, dword [esp + 0x44]
mov esi, dword [esi + eax + 8]
je 0x46707b
mov ecx, dword [esp + 0x14]
jmp 0x4670a5
test esi, esi
je 0x46708e
test dword [esi + 4], 0x200
je 0x46708e
mov ecx, dword [esp + 0x14]
jmp 0x4670a3
mov ebx, dword [esp + 0x14]
mov ecx, ebx
call fcn.00463eb0
mov dword [esp + 0x24], eax
test eax, eax
jne 0x4670ae
mov ecx, ebx
mov edx, esi
call fcn.00463eb0
mov dword [esp + 0x24], eax
movzx ecx, word [esi + 0x20]
xor edi, edi
mov esi, dword [esp + 0x34]
mov dword [esp + 0x58], ecx
mov ebx, dword [esi + 4]
nop
cmp word [ebx], cx
jne 0x467102
test eax, eax
je 0x467110
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 0x4670e5
test eax, eax
je 0x467110
inc edx
jmp 0x4670d3
movzx ecx, byte [ecx + 0x561958]
movzx eax, byte [eax + 0x561958]
sub eax, ecx
jne 0x4670fa
inc edx
jmp 0x4670d3
mov ecx, dword [esp + 0x58]
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
inc edi
add ebx, 2
cmp edi, dword [esp + 0x18]
jl 0x4670c0
mov ebx, dword [esp + 0x18]
cmp edi, ebx
je 0x46716e
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 + 0x3c]
mov eax, esi
and eax, dword [esp + 0x30]
or ecx, eax
jne 0x46716e
or dword [esp + 0x3c], edx
or dword [esp + 0x30], esi
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x38]
test eax, eax
je 0x467156
mov dword [eax + ecx*4], edi
mov esi, dword [esp + 0x4c]
inc ecx
add esi, 0x14
mov dword [esp + 0x38], ecx
mov dword [esp + 0x4c], esi
cmp ecx, ebx
jl 0x467020
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x30]
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 + 0x3c], ecx
jne 0x467324
cmp esi, edx
jne 0x467324
mov edi, dword [esp + 0x20]
mov esi, dword [edi + 0x6c]
cmp dword [edi + 0x70], esi
jg 0x4671e0
push 0
push 0
push 0
mov edx, 0xe
mov ecx, edi
call fcn.0044dd50
add esp, 0xc
mov esi, eax
jmp 0x467213
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x54]
mov dword [esp + 0x3c], eax
jmp 0x46717e
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xe
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.0044e2c0
mov ecx, dword [edi + 0x6c]
add esp, 0x10
mov edx, dword [ebx + 0x2c]
cmp dword [edi + 0x70], ecx
jg 0x46724d
push dword [esp + 0x28]
mov ecx, edi
push edx
push dword [esp + 0x34]
mov edx, 0x70
call fcn.0044dd50
add esp, 0xc
jmp 0x46727c
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x28]
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 + 0x14]
mov edx, ebx
mov ecx, eax
mov edi, dword [eax + 8]
call fcn.0047a610
mov edx, eax
test edx, edx
je 0x4672bc
mov ecx, dword [edi]
cmp byte [ecx + 0x57], 0
je 0x4672aa
push edx
mov edx, 0xfffffff8
call fcn.0044e920
add esp, 4
jmp 0x4672bc
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]
movzx edi, byte [eax]
add edi, 3
mov dword [esp + 0x1c], edi
test edx, edx
je 0x4672f6
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 0x4672f6
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
push eax
call fcn.00466ae0
add esp, 4
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x6c]
mov eax, dword [eax]
cmp byte [eax + 0x57], 0
je 0x46730c
mov eax, 0x632198
jmp 0x467321
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 + 0x34], ebx
test ebx, ebx
jne 0x466fa4
test edi, edi
jne 0x46742a
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov eax, 1
mov ebx, dword [ebp + 8]
test bl, 1
je 0x4673bb
test dword [ecx + 4], 0x1000
jne 0x4673bb
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.004665a0
mov dword [esp + 0x68], 0x466470
mov dword [esp + 0x78], 0
call fcn.00460e30
cmp word [esp + 0x74], 0
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0xc], esi
je 0x4673a6
mov eax, dword [ecx + 0x14]
cmp dword [eax], 2
jg 0x4673bb
dec dword [edi + 0x28]
or ebx, 0xffffffff
mov edi, 5
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x1c], edi
jmp 0x46742e
mov edi, dword [edi + 0x88]
xor esi, esi
mov dword [esp + 0x1c], 2
test bl, 4
je 0x4673dc
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x88], esi
jmp 0x4673f8
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4673f4
mov edx, dword [esp + 0x14]
mov ecx, edx
inc dword [edx + 0x2c]
mov esi, dword [edx + 0x2c]
mov dword [eax], esi
jmp 0x4673f8
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
push ebx
call fcn.004676b0
add esp, 4
test esi, esi
je 0x46741c
mov ecx, dword [esp + 0x20]
mov edx, ebx
push esi
call fcn.00466ae0
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [eax + 0x88], edi
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x48]
test edx, edx
je 0x467518
cmp edi, 3
je 0x467518
cmp edi, 4
je 0x467518
mov ecx, dword [ecx + 0xc]
mov al, byte [ecx]
cmp al, 0xb0
jne 0x467458
mov al, byte [ecx + 2]
cmp al, 0xb1
jne 0x467463
mov eax, dword [ecx + 0x14]
mov edi, dword [eax]
jmp 0x467476
cmp al, 0x8a
jne 0x467471
mov eax, dword [ecx + 0x14]
mov eax, dword [eax + 0x1c]
mov edi, dword [eax]
jmp 0x467476
mov edi, 1
xor ecx, ecx
test edi, edi
jle 0x467518
cmp edi, 0x10
jb 0x46750b
movaps xmm1, xmmword [0x5702e0]
mov eax, edi
and eax, reloc.WS2_32.dll_ntohs
jns 0x46749e
dec eax
or eax, 0xfffffff0
inc eax
mov ebx, edi
mov esi, 8
sub ebx, eax
add edx, 0x20
nop word [eax + eax]
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 0x4674b0
mov edx, dword [esp + 0x48]
cmp ecx, edi
jge 0x467518
nop
mov dword [edx + ecx*4], ecx
inc ecx
cmp ecx, edi
jl 0x467510
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x2c]
pop edi
pop esi
mov dword [ecx], eax
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x14]
pop ebx
xor ecx, esp
call fcn.004c61ad
mov esp, ebp
pop ebp
ret