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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x609e44]
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 + 0x20], 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 0x493fc0
cmp dword [ebx + 0x74], eax
jne 0x493fb3
mov eax, dword [ebx]
test byte [eax + 0x4c], 8
jne 0x493fb3
mov byte [ebx + 0x17], 1
call fcn.0047a090
mov edx, dword [esp + 0x10]
mov dword [esp + 0x20], eax
test edi, edi
je 0x494006
test dword [edx + 4], 0x800
je 0x494006
mov eax, dword [edx + 0x14]
xor esi, esi
mov edi, dword [eax + 0x1c]
mov ebx, dword [edi]
test ebx, ebx
jle 0x493ff3
add edi, 4
nop
mov ecx, dword [edi]
call fcn.00493be0
test eax, eax
jne 0x493ff3
inc esi
add edi, 0x14
cmp esi, ebx
jl 0x493fe0
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 0x4946c2
mov eax, dword [ecx + 4]
test eax, 0x800
je 0x4946bd
test al, 0x20
jne 0x4946bd
mov eax, dword [ecx + 0x14]
cmp dword [eax + 0x34], 0
jne 0x4946bd
test byte [eax + 4], 9
jne 0x4946bd
cmp dword [eax + 0x3c], 0
jne 0x4946bd
cmp dword [eax + 0x24], 0
jne 0x4946bd
mov ecx, dword [eax + 0x20]
cmp dword [ecx], 1
jne 0x4946b9
cmp dword [ecx + 0x1c], 0
jne 0x4946b9
mov ebx, dword [ecx + 0x18]
mov dword [esp + 0x28], ebx
cmp dword [ebx + 0x38], 0
jne 0x4946b5
mov edi, dword [eax + 0x1c]
xor edx, edx
mov esi, dword [edi]
mov dword [esp + 0x18], esi
test esi, esi
jle 0x4940a6
lea ecx, [edi + 4]
mov eax, dword [ecx]
cmp byte [eax], 0xa4
jne 0x4946b5
inc edx
add ecx, 0x14
cmp edx, esi
jl 0x494093
mov ecx, dword [ebx + 0x48]
mov dword [esp + 0x30], 0xffff8000
test ecx, ecx
je 0x4940dc
mov eax, dword [esp + 0x14]
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 0x4940dc
nop dword [eax + eax]
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4940d0
mov dword [esp + 0x30], edx
mov ecx, dword [esp + 0x14]
mov edx, ecx
mov eax, dword [ecx + 0x74]
test eax, eax
mov ecx, dword [esp + 0x30]
cmovne edx, eax
mov eax, 1
shl eax, cl
mov esi, dword [edx + 0x54]
test esi, eax
jne 0x494112
bts esi, ecx
mov dword [edx + 0x54], esi
cmp ecx, 1
jne 0x494112
mov ecx, edx
call fcn.004ab2f0
mov ecx, dword [esp + 0x30]
push dword [ebx]
mov edx, ecx
mov ecx, dword [esp + 0x18]
push 0
push dword [ebx + 0x1c]
call fcn.004a1be0
mov edx, dword [esp + 0x24]
add esp, 0xc
cmp edx, 1
jne 0x49420a
mov eax, dword [edi + 4]
lea ecx, [edi + 4]
mov dword [esp + 0x44], ecx
cmp word [eax + 0x20], 0
jge 0x494211
mov edi, dword [esp + 0x20]
mov esi, dword [edi + 0x6c]
cmp dword [edi + 0x70], esi
jg 0x49416e
push 0
push 0
push 0
mov edx, 0x11
mov ecx, edi
call fcn.0047a300
add esp, 0xc
mov esi, eax
jmp 0x4941a1
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
mov edi, dword [esp + 0x14]
mov ecx, edi
mov edx, dword [esp + 0x24]
push 0x60
push ebx
push dword [esp + 0x38]
call fcn.004b5610
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.0047a8e0
mov ebx, dword [esp + 0x30]
add esp, 0x10
mov eax, dword [ebx]
mov edx, dword [ebx + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4941f0
mov eax, 0x60d7e0
mov dword [eax + 8], edx
jmp 0x49478b
test esi, esi
lea eax, [edx - 1]
cmovns eax, esi
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x49478b
lea eax, [edi + 4]
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], 0
mov eax, 1
mov dword [esp + 0x2c], eax
test edx, edx
jle 0x494305
xor edi, edi
nop dword [eax]
test eax, eax
je 0x4946b5
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0xc]
mov bl, byte [edx]
mov al, bl
cmp al, 0xad
jne 0x49424a
mov al, byte [edx + 2]
cmp al, 0xae
jne 0x494255
mov ecx, dword [edx + 0x14]
mov eax, ecx
jmp 0x49425f
cmp al, 0x88
jne 0x49427c
mov ecx, dword [edx + 0x14]
mov eax, dword [ecx + 0x1c]
cmp dword [eax], 1
jle 0x49427c
cmp bl, 0x88
je 0x494275
cmp byte [edx + 2], 0x88
je 0x494275
mov edx, dword [ecx + edi + 4]
jmp 0x49427c
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax + edi + 4]
mov eax, dword [esp + 0x44]
mov eax, dword [eax + edi]
movsx eax, word [eax + 0x20]
test eax, eax
js 0x49429b
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 4]
mov bl, byte [eax + ecx*4 + 0xd]
jmp 0x49429d
mov bl, 0x44
mov ecx, edx
call fcn.00491410
cmp al, 0x40
jle 0x4942be
cmp bl, 0x40
jle 0x4942c0
cmp al, 0x43
jge 0x4942ba
cmp bl, 0x43
jge 0x4942ba
mov al, 0x41
jmp 0x4942c2
mov al, 0x43
jmp 0x4942c2
mov al, bl
or al, 0x40
movsx eax, al
sub eax, 0x41
je 0x4942dd
sub eax, 1
je 0x4942dd
xor eax, eax
cmp bl, 0x43
setge al
mov dword [esp + 0x2c], eax
jmp 0x4942e1
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
add edi, 0x14
mov edx, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x3c], ecx
cmp ecx, edx
jl 0x494230
test eax, eax
je 0x4946b5
mov ebx, dword [esp + 0x28]
mov ebx, dword [ebx + 8]
mov dword [esp + 0x38], ebx
test ebx, ebx
je 0x4946b5
xor esi, esi
test esi, esi
jne 0x49478f
movzx eax, word [ebx + 0x34]
mov ecx, eax
cmp ecx, edx
jl 0x49469e
cmp dword [ebx + 0x24], esi
jne 0x49469e
cmp eax, 0x3f
jae 0x49469e
test byte [ebp + 8], 4
je 0x49435e
movzx eax, word [ebx + 0x32]
cmp eax, edx
jg 0x49469e
cmp ecx, edx
jle 0x49435e
cmp byte [ebx + 0x36], 0
je 0x49469e
mov dword [esp + 0x3c], 0
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
test edx, edx
jle 0x49453e
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
nop dword [eax]
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0xc]
mov bl, byte [edx]
mov al, bl
cmp al, 0xad
jne 0x4943a2
mov al, byte [edx + 2]
cmp al, 0xae
jne 0x4943ad
mov ecx, dword [edx + 0x14]
mov eax, ecx
jmp 0x4943b7
cmp al, 0x88
jne 0x4943d4
mov ecx, dword [edx + 0x14]
mov eax, dword [ecx + 0x1c]
cmp dword [eax], 1
jle 0x4943d4
cmp bl, 0x88
je 0x4943cd
cmp byte [edx + 2], 0x88
je 0x4943cd
mov edx, dword [ecx + edi + 4]
jmp 0x4943d4
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax + edi + 4]
test dword [edx + 4], 0x100
mov eax, dword [esp + 0x44]
mov esi, dword [eax + edi]
je 0x4943ea
mov ecx, dword [esp + 0x14]
jmp 0x494414
test esi, esi
je 0x4943fd
test dword [esi + 4], 0x100
je 0x4943fd
mov ecx, dword [esp + 0x14]
jmp 0x494412
mov ebx, dword [esp + 0x14]
mov ecx, ebx
call fcn.004914c0
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x49441d
mov ecx, ebx
mov edx, esi
call fcn.004914c0
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 0x494472
test eax, eax
je 0x494480
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 0x494455
test eax, eax
je 0x494480
inc edx
jmp 0x494443
movzx ecx, byte [ecx + 0x5fad68]
movzx eax, byte [eax + 0x5fad68]
sub eax, ecx
jne 0x49446a
inc edx
jmp 0x494443
mov ecx, dword [esp + 0x58]
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
inc edi
add ebx, 2
cmp edi, dword [esp + 0x18]
jl 0x494430
mov ebx, dword [esp + 0x18]
cmp edi, ebx
je 0x4944de
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 0x4944de
or dword [esp + 0x28], edx
or dword [esp + 0x34], esi
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x3c]
test eax, eax
je 0x4944c6
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 0x494390
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x34]
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 + 0x28], ecx
jne 0x494696
cmp esi, edx
jne 0x494696
mov esi, dword [esp + 0x20]
mov edi, dword [esi + 0x6c]
cmp dword [esi + 0x70], edi
jg 0x49454c
push 0
push 0
push 0
mov edx, 0x11
mov ecx, esi
call fcn.0047a300
add esp, 0xc
mov edi, eax
jmp 0x49457f
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x54]
mov dword [esp + 0x28], eax
jmp 0x4944ea
lea eax, [edi + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 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.0047a8e0
mov ecx, dword [esi + 0x6c]
add esp, 0x10
mov edx, dword [ebx + 0x2c]
cmp dword [esi + 0x70], ecx
jg 0x4945b9
push dword [esp + 0x30]
mov ecx, esi
push edx
push dword [esp + 0x2c]
mov edx, 0x60
call fcn.0047a300
add esp, 0xc
jmp 0x4945e8
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x24]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x60
mov dword [eax + ecx*4 + 4], esi
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 esi, dword [eax + 8]
call fcn.004abce0
mov edx, eax
test edx, edx
je 0x494628
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
je 0x494616
push edx
mov edx, 0xfffffff7
call fcn.0047af00
add esp, 4
jmp 0x494628
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 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 esi, byte [eax]
add esi, 3
mov dword [esp + 0x1c], esi
test edx, edx
je 0x494662
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 0x494662
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
call fcn.00493e00
add esp, 4
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x6c]
mov eax, dword [eax]
cmp byte [eax + 0x51], 0
je 0x49467b
mov eax, 0x60d7e0
mov dword [eax + 8], edx
jmp 0x49469a
test edi, edi
lea eax, [edx - 1]
cmovns eax, edi
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x49469a
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ebx, dword [ebx + 0x14]
mov dword [esp + 0x38], ebx
test ebx, ebx
jne 0x494316
test esi, esi
jne 0x49478f
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov eax, 1
test byte [ebp + 8], 1
je 0x494725
test dword [ecx + 4], 0x800
jne 0x494725
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.00493910
mov dword [esp + 0x68], 0x4937e0
mov dword [esp + 0x78], 0
call fcn.0048e580
cmp word [esp + 0x74], 0
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0xc], esi
je 0x49471a
mov eax, dword [ecx + 0x14]
cmp dword [eax], 2
jg 0x494725
mov esi, 5
mov dword [esp + 0x1c], esi
jmp 0x494793
mov edi, dword [ebx + 0x88]
xor esi, esi
test byte [ebp + 8], 4
mov dword [esp + 0x1c], 2
je 0x494750
push dword [esp + 0x24]
mov edx, ecx
mov dword [ebx + 0x88], esi
mov ecx, ebx
call fcn.004949d0
jmp 0x494782
mov eax, dword [esp + 0x40]
test eax, eax
je 0x494760
inc dword [ebx + 0x2c]
mov esi, dword [ebx + 0x2c]
mov dword [eax], esi
push dword [esp + 0x24]
mov edx, ecx
mov ecx, ebx
call fcn.004949d0
add esp, 4
test esi, esi
je 0x494785
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push esi
call fcn.00493e00
add esp, 4
mov dword [ebx + 0x88], edi
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x48]
test edx, edx
je 0x494880
cmp esi, 3
je 0x494880
cmp esi, 4
je 0x494880
mov ecx, dword [ecx + 0xc]
mov al, byte [ecx]
cmp al, 0xad
jne 0x4947bd
mov al, byte [ecx + 2]
cmp al, 0xae
jne 0x4947c6
mov edi, dword [ecx + 0x14]
jmp 0x4947d4
cmp al, 0x88
jne 0x494871
mov eax, dword [ecx + 0x14]
mov edi, dword [eax + 0x1c]
mov edi, dword [edi]
test edi, edi
jle 0x494880
xor ecx, ecx
cmp edi, 0x10
jb 0x494878
movaps xmm1, xmmword [0x604610]
mov eax, edi
and eax, 0x8000000f
jns 0x4947fe
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 0x494810
cmp ecx, edi
jge 0x494880
mov edx, dword [esp + 0x48]
jmp 0x494878
mov edi, 1
xor ecx, ecx
mov dword [edx + ecx*4], ecx
inc ecx
cmp ecx, edi
jl 0x494878
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x24]
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.005a6fed
mov esp, ebp
pop ebp
ret