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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x70a034]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, ecx
mov dword [esp + 0x54], eax
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov dword [esp + 0x10], eax
push esi
mov eax, dword [ebx + 0x28]
mov esi, edx
mov dword [esp + 0x28], eax
inc eax
mov dword [ebx + 0x28], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x1c], eax
push edi
test eax, eax
jne 0x4ba9b4
cmp dword [ebx + 0x74], eax
jne 0x4ba9a5
mov eax, dword [ebx]
test byte [eax + 0x4c], 8
jne 0x4ba9a5
mov byte [ebx + 0x17], 1
mov ecx, ebx
call fcn.004a1d40
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x20], eax
test ecx, ecx
je 0x4ba9f7
test dword [esi + 4], 0x800
je 0x4ba9f7
mov eax, dword [esi + 0x14]
xor edx, edx
mov esi, dword [eax]
mov edi, dword [esi]
test edi, edi
jle 0x4ba9e8
add esi, 4
mov ecx, dword [esi]
call fcn.004ba5a0
test eax, eax
jne 0x4ba9e4
inc edx
add esi, 0x18
cmp edx, edi
jl 0x4ba9d1
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x14]
xor eax, eax
cmp edx, edi
cmove ecx, eax
mov dword [esp + 0x40], ecx
cmp dword [ebx + 0x24], 0
jne 0x4bafcd
mov ecx, esi
call fcn.004ba780
test eax, eax
je 0x4bafcd
mov ecx, dword [eax]
mov eax, dword [eax + 0x20]
mov esi, dword [ebx]
mov dword [esp + 0x44], ecx
mov edi, dword [ecx]
mov ecx, 0xfff0bdc0
mov ebx, dword [eax + 0x18]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], ebx
mov edx, dword [ebx + 0x48]
test edx, edx
je 0x4baa48
mov eax, dword [esi + 0x10]
xor ecx, ecx
add eax, 0xc
cmp dword [eax], edx
je 0x4baa48
lea eax, [eax + 0x10]
inc ecx
cmp dword [eax], edx
jne 0x4baa40
movsx eax, cx
mov ecx, dword [esp + 0x10]
mov edx, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [ecx + 0x74]
test eax, eax
mov ecx, dword [esp + 0x3c]
cmovne edx, eax
mov eax, 1
shl eax, cl
mov esi, dword [edx + 0x54]
test esi, eax
jne 0x4baa85
bts esi, ecx
mov dword [edx + 0x54], esi
cmp ecx, 1
jne 0x4baa85
mov ecx, edx
call fcn.004cbf90
mov ecx, dword [esp + 0x3c]
push dword [ebx]
mov edx, ecx
mov ecx, dword [esp + 0x14]
push 0
push dword [ebx + 0x1c]
call fcn.004c5540
add esp, 0xc
cmp edi, 1
jne 0x4bab27
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 4]
cmp word [eax + 0x20], 0
jge 0x4bab27
mov ecx, dword [esp + 0x20]
lea edx, [edi + 0x10]
call fcn.004a20f0
mov edi, dword [esp + 0x10]
mov esi, eax
mov edx, dword [esp + 0x2c]
mov ecx, edi
push 0x61
push ebx
push dword [esp + 0x44]
call fcn.004d47f0
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.004a2570
mov ebx, dword [esp + 0x30]
add esp, 0x10
mov edx, dword [ebx + 0x6c]
test esi, esi
jns 0x4bab00
lea esi, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x4bab15
mov eax, 0x71d19c
mov dword [eax + 8], edx
jmp 0x4bb08d
mov eax, dword [ebx + 0x68]
lea ecx, [esi + esi*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4bb08d
mov dword [esp + 0x38], 0
mov eax, 1
mov dword [esp + 0x28], eax
test edi, edi
jle 0x4bac1d
xor edi, edi
test eax, eax
je 0x4bafc9
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
mov bl, byte [ecx]
mov al, bl
cmp al, 0xab
jne 0x4bab5c
mov al, byte [ecx + 0x26]
cmp al, 0xac
jne 0x4bab69
mov eax, dword [ecx + 0x14]
mov edx, dword [eax]
mov esi, edx
jmp 0x4bab74
cmp al, 0x86
jne 0x4bab8e
mov eax, dword [ecx + 0x14]
mov edx, dword [eax]
mov esi, dword [edx]
cmp esi, 1
jle 0x4bab8e
cmp bl, 0x86
je 0x4bab8a
cmp byte [ecx + 0x26], 0x86
je 0x4bab8a
mov ecx, dword [eax + edi + 4]
jmp 0x4bab8e
mov ecx, dword [edx + edi + 4]
mov eax, dword [esp + 0x44]
mov eax, dword [eax + edi + 4]
movsx edx, word [eax + 0x20]
test edx, edx
js 0x4babad
mov eax, dword [esp + 0x24]
add edx, edx
mov eax, dword [eax + 4]
mov bl, byte [eax + edx*8 + 0xd]
jmp 0x4babaf
mov bl, 0x44
call fcn.004b7b40
cmp al, 0x40
jle 0x4babd3
cmp bl, 0x40
jle 0x4babce
cmp al, 0x43
jge 0x4babca
cmp bl, 0x43
jge 0x4babca
mov al, 0x41
jmp 0x4babd8
mov al, 0x43
jmp 0x4babd8
movsx eax, al
jmp 0x4babd6
movsx eax, bl
or al, 0x40
movsx eax, al
sub eax, 0x41
je 0x4babf3
sub eax, 1
je 0x4babf3
xor eax, eax
cmp bl, 0x43
setge al
mov dword [esp + 0x28], eax
jmp 0x4babf7
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
add edi, 0x18
inc ecx
mov dword [esp + 0x38], ecx
cmp ecx, dword [esp + 0x1c]
jl 0x4bab42
test eax, eax
je 0x4bafc9
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
mov ebx, dword [ebx + 8]
mov dword [esp + 0x34], ebx
test ebx, ebx
je 0x4bafc9
xor esi, esi
nop
test esi, esi
jne 0x4bb091
movzx eax, word [ebx + 0x34]
mov ecx, eax
cmp ecx, edi
jl 0x4bafb2
cmp dword [ebx + 0x24], esi
jne 0x4bafb2
cmp eax, 0x3f
jae 0x4bafb2
test byte [ebp + 8], 4
je 0x4bac78
movzx eax, word [ebx + 0x32]
cmp eax, edi
jg 0x4bafb2
cmp ecx, edi
jle 0x4bac78
cmp byte [ebx + 0x36], 0
je 0x4bafb2
mov dword [esp + 0x38], 0
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
test edi, edi
jle 0x4bae5b
mov eax, dword [esp + 0x54]
xor edi, edi
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x48], edi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0xc]
mov bl, byte [edx]
mov al, bl
cmp al, 0xab
jne 0x4bacb9
mov al, byte [edx + 0x26]
cmp al, 0xac
jne 0x4bacc6
mov eax, dword [edx + 0x14]
mov ecx, dword [eax]
mov esi, ecx
jmp 0x4bacd1
cmp al, 0x86
jne 0x4baceb
mov eax, dword [edx + 0x14]
mov ecx, dword [eax]
mov esi, dword [ecx]
cmp esi, 1
jle 0x4baceb
cmp bl, 0x86
je 0x4bace7
cmp byte [edx + 0x26], 0x86
je 0x4bace7
mov edx, dword [edi + eax + 4]
jmp 0x4baceb
mov edx, dword [edi + ecx + 4]
test dword [edx + 4], 0x100
mov eax, dword [esp + 0x44]
mov esi, dword [eax + edi + 4]
je 0x4bad02
mov ecx, dword [esp + 0x10]
jmp 0x4bad2c
test esi, esi
je 0x4bad15
test dword [esi + 4], 0x100
je 0x4bad15
mov ecx, dword [esp + 0x10]
jmp 0x4bad2a
mov ebx, dword [esp + 0x10]
mov ecx, ebx
call fcn.004b7cd0
mov dword [esp + 0x28], eax
test eax, eax
jne 0x4bad35
mov ecx, ebx
mov edx, esi
call fcn.004b7cd0
mov dword [esp + 0x28], eax
movzx ecx, word [esi + 0x20]
xor edi, edi
mov esi, dword [esp + 0x34]
mov dword [esp + 0x58], ecx
mov ebx, dword [esi + 4]
cmp word [ebx], cx
jne 0x4bad8f
test eax, eax
je 0x4bad9d
mov edx, dword [eax]
mov eax, dword [esi + 0x20]
mov esi, dword [eax + edi*4]
sub esi, edx
nop dword [eax]
movzx eax, byte [edx]
movzx ecx, byte [esi + edx]
cmp eax, ecx
jne 0x4bad72
test eax, eax
je 0x4bad9d
inc edx
jmp 0x4bad60
movzx ecx, byte [ecx + 0x6cd750]
movzx eax, byte [eax + 0x6cd750]
sub eax, ecx
jne 0x4bad87
inc edx
jmp 0x4bad60
mov ecx, dword [esp + 0x58]
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
inc edi
add ebx, 2
cmp edi, dword [esp + 0x1c]
jl 0x4bad46
mov ebx, dword [esp + 0x1c]
cmp edi, ebx
je 0x4badfb
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 + 0x24]
mov eax, esi
and eax, dword [esp + 0x30]
or ecx, eax
jne 0x4badfb
or dword [esp + 0x24], edx
or dword [esp + 0x30], esi
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x38]
test eax, eax
je 0x4bade3
mov dword [eax + ecx*4], edi
mov edi, dword [esp + 0x48]
inc ecx
add edi, 0x18
mov dword [esp + 0x38], ecx
mov dword [esp + 0x48], edi
cmp ecx, ebx
jl 0x4baca7
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x30]
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 + 0x24], ecx
jne 0x4bafae
cmp esi, edx
jne 0x4bafae
mov edi, dword [esp + 0x20]
mov esi, dword [edi + 0x6c]
cmp dword [edi + 0x70], esi
jg 0x4bae69
push 0
push 0
push 0
mov edx, 0x11
mov ecx, edi
call fcn.004a2040
add esp, 0xc
mov esi, eax
jmp 0x4bae9c
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x54]
mov dword [esp + 0x24], eax
jmp 0x4bae07
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 + 0x1c]
call fcn.004a2570
mov ecx, dword [edi + 0x6c]
add esp, 0x10
mov edx, dword [ebx + 0x2c]
cmp dword [edi + 0x70], ecx
jg 0x4baed6
push dword [esp + 0x3c]
mov ecx, edi
push edx
push dword [esp + 0x34]
mov edx, 0x61
call fcn.004a2040
add esp, 0xc
jmp 0x4baf05
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 + 0x3c]
mov dword [eax + ecx*4], 0x61
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.004cc930
mov edx, eax
test edx, edx
je 0x4baf45
mov ecx, dword [edi]
cmp byte [ecx + 0x51], 0
je 0x4baf33
push edx
mov edx, 0xfffffff7
call fcn.004a2d50
add esp, 4
jmp 0x4baf45
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]
mov edi, dword [esp + 0x1c]
movzx eax, byte [eax]
add eax, 3
mov dword [esp + 0x18], eax
test edx, edx
je 0x4baf81
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 0x4baf81
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
push eax
call fcn.004ba7f0
add esp, 4
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x6c]
test esi, esi
jns 0x4baf8f
lea esi, [edx - 1]
mov eax, dword [eax]
cmp byte [eax + 0x51], 0
je 0x4baf9e
mov eax, 0x71d19c
jmp 0x4bafab
mov eax, dword [esp + 0x20]
lea ecx, [esi + esi*4]
mov eax, dword [eax + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov esi, dword [esp + 0x18]
mov ebx, dword [ebx + 0x14]
mov dword [esp + 0x34], ebx
test ebx, ebx
jne 0x4bac30
test esi, esi
jne 0x4bb091
mov ebx, dword [esp + 0x10]
test byte [ebp + 8], 1
mov ecx, dword [esp + 0x14]
je 0x4bb033
test dword [ecx + 4], 0x800
jne 0x4bb033
mov esi, dword [ecx + 0xc]
mov edx, ecx
mov dword [ecx + 0xc], 0
lea ecx, [esp + 0x60]
mov byte [esp + 0x74], 1
mov dword [esp + 0x64], fcn.004ba1f0
mov dword [esp + 0x68], 0x4ba0c0
mov dword [esp + 0x78], 0
call fcn.004b5340
cmp byte [esp + 0x74], 0
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0xc], esi
je 0x4bb028
mov eax, dword [ecx + 0x14]
cmp dword [eax], 2
jg 0x4bb033
mov esi, 5
mov dword [esp + 0x18], esi
jmp 0x4bb095
mov edi, dword [ebx + 0x84]
xor esi, esi
test byte [ebp + 8], 4
mov eax, 2
mov dword [esp + 0x18], eax
je 0x4bb052
mov dword [ebx + 0x84], esi
jmp 0x4bb062
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4bb062
inc dword [ebx + 0x2c]
mov esi, dword [ebx + 0x2c]
mov dword [eax], esi
push dword [esp + 0x2c]
mov edx, ecx
mov ecx, ebx
call fcn.004bb300
add esp, 4
test esi, esi
je 0x4bb087
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
push esi
call fcn.004ba7f0
add esp, 4
mov dword [ebx + 0x84], edi
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x4c]
test ebx, ebx
je 0x4bb13d
cmp esi, 3
je 0x4bb13d
cmp esi, 4
je 0x4bb13d
mov ecx, dword [ecx + 0xc]
mov al, byte [ecx]
cmp al, 0xab
jne 0x4bb0bf
mov al, byte [ecx + 0x26]
cmp al, 0xac
jne 0x4bb0ca
mov eax, dword [ecx + 0x14]
mov edx, dword [eax]
jmp 0x4bb0dc
cmp al, 0x86
jne 0x4bb0d7
mov eax, dword [ecx + 0x14]
mov eax, dword [eax]
mov edx, dword [eax]
jmp 0x4bb0dc
mov edx, 1
xor ecx, ecx
test edx, edx
jle 0x4bb13d
cmp edx, 8
jb 0x4bb131
movaps xmm1, xmmword [0x6e2820]
mov eax, edx
and eax, 0x80000007
jns 0x4bb0fc
dec eax
or eax, 0xfffffff8
inc eax
mov esi, edx
sub esi, eax
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [ebx + ecx*4], xmm0
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [ebx + ecx*4 + 0x10], xmm0
add ecx, 8
cmp ecx, esi
jl 0x4bb100
mov esi, dword [esp + 0x18]
cmp ecx, edx
jge 0x4bb13d
mov dword [ebx + ecx*4], ecx
inc ecx
cmp ecx, edx
jl 0x4bb135
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x2c]
pop edi
mov dword [ecx], eax
mov eax, esi
mov ecx, dword [esp + 0x78]
pop esi
pop ebx
xor ecx, esp
call fcn.006255fe
mov esp, ebp
pop ebp
ret