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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xd0
mov dword [esp + 0x3c], edx
mov esi, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [esp + 4], eax
mov ecx, dword [eax + 8]
mov edi, dword [ebx + 0x50]
mov eax, dword [ecx + 0x6c]
cmp dword [ecx + 0x70], eax
mov dword [esp + 0x18], ecx
jle 0x4b6174
lea edx, [eax + 1]
mov dword [ecx + 0x6c], edx
mov edx, dword [ecx + 0x68]
lea ecx, [eax + eax*4]
mov byte [edx + ecx*4], 0xe
pxor xmm0, xmm0
movdqu xmmword [edx + ecx*4 + 1], xmm0
mov dword [edx + ecx*4 + 0x10], 0
jmp 0x4b6187
mov edx, 0xe
push 0
push 0
push 0
call fcn.004747e0
add esp, 0xc
mov dword [esp + 0x48], eax
mov eax, dword [esp + 4]
lea ecx, [eax + 0x20]
mov dword [esp + 0x44], ecx
mov eax, dword [eax]
mov dword [esp + 8], eax
mov dword [esp + 0x10], esi
lea eax, [esi + 0x360]
mov dword [esp + 0x4c], eax
mov eax, edi
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx + 4]
mov esi, ebx
movzx ebx, byte [ebx + 0x3c]
shl ebx, 6
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 8]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x24], eax
lea eax, [edi + ebx + 8]
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0xb0], xmm0
movdqa xmmword [esp + 0xa0], xmm0
movdqa xmmword [esp + 0x90], xmm0
movdqa xmmword [esp + 0x80], xmm0
movdqa xmmword [esp + 0x70], xmm0
movdqa xmmword [esp + 0x60], xmm0
mov dword [esp + 0xc0], 0xffffffff
movdqa xmm0, xmmword [0x529490]
movdqu xmmword [esp + 0x2c], xmm0
push eax
push str.BLOOM_FILTER_ON__S__
lea eax, [esp + 0x2c]
push eax
call fcn.00428090
add esp, 0xc
mov dword [esp + 0x1c], esi
mov esi, dword [esi + 0x50]
test byte [esi + 0x29], 1
jne 0x4b6310
movzx ebx, word [esi + 0x2e]
cmp bx, word [esi + 0x18]
jb 0x4b6294
jmp 0x4b6350
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x28]
mov byte [ecx + eax + 4], 0x20
mov dword [ecx + eax], 0x444e4120
push edi
push str._s_
lea eax, [esp + 0x2c]
push eax
call fcn.00428090
add esp, 0xc
inc ebx
movzx eax, word [esi + 0x18]
cmp ebx, eax
jae 0x4b6350
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 4]
movzx ecx, word [ecx + ebx*2]
cmp ecx, 0xfffe
je 0x4b62c0
cmp ecx, 0xffff
jne 0x4b62d0
mov edi, str.rowid
jmp 0x4b62df
mov edi, str._expr_
jmp 0x4b62df
movsx ecx, cx
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 4]
lea ecx, [ecx + ecx*2]
mov edi, dword [eax + ecx*4]
movzx eax, word [esi + 0x2e]
cmp ebx, eax
jbe 0x4b6274
mov eax, dword [esp + 0x34]
lea ecx, [eax + 5]
cmp ecx, dword [esp + 0x2c]
jb 0x4b6260
lea ecx, [esp + 0x24]
mov edx, str._AND
push 5
call fcn.00428370
add esp, 4
jmp 0x4b6274
mov eax, dword [edi + ebx + 0x18]
movzx ecx, word [eax + 0x20]
test cx, cx
js 0x4b633a
mov eax, dword [eax + 4]
lea ecx, [ecx + ecx*2]
push dword [eax + ecx*4]
push str._s_
lea eax, [esp + 0x2c]
push eax
call fcn.00428090
add esp, 0xc
jmp 0x4b6350
push str.rowid_
lea eax, [esp + 0x28]
push eax
call fcn.00428090
add esp, 8
nop dword [eax]
mov eax, dword [esp + 0x34]
lea ecx, [eax + 1]
cmp ecx, dword [esp + 0x2c]
jae 0x4b6370
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x28]
mov byte [ecx + eax], 0x29
jmp 0x4b6383
lea ecx, [esp + 0x24]
mov edx, 0x52bd8a
push 1
call fcn.00428370
add esp, 4
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4b63c0
mov ecx, dword [esp + 0x34]
mov byte [eax + ecx], 0
cmp dword [esp + 0x30], 0
je 0x4b63c0
test byte [esp + 0x39], 4
jne 0x4b63c0
lea ecx, [esp + 0x24]
call fcn.0043f820
jmp 0x4b63c4
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xc]
mov edx, 0xb9
push 0xfffffffffffffffa
push eax
push 0
mov edi, dword [esp + 0x10]
push dword [edi + 0xdc]
push dword [ecx + 0x6c]
call fcn.00493a50
add esp, 0x14
mov edx, dword [edi + 0x2c]
mov eax, dword [edi + 0x38]
mov dword [esp + 0x5c], eax
dec eax
mov dword [esp + 8], eax
mov dword [edi + 0x38], eax
mov ecx, dword [ebx + 4]
inc edx
mov dword [edi + 0x2c], edx
mov dword [esp + 0x14], edx
mov dword [ebx + 0x34], edx
movzx eax, byte [ebx + 0x3c]
shl eax, 6
mov edx, dword [esi + 4]
mov dword [esp + 0x58], eax
mov eax, dword [edx + eax + 0x18]
movsx eax, word [eax + 0x26]
cmp eax, 0x261
mov dword [esp + 0xc], ecx
mov dword [esp + 0x54], edx
jle 0x4b6450
mov edx, 0x7fffffff
mov esi, 0xffffffff
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
jmp 0x4b6512
imul ecx, eax, 0x6667
mov edx, eax
mov dword [esp + 0x50], eax
mov eax, ecx
shr eax, 0x1f
sar ecx, 0x12
add ecx, eax
lea eax, [ecx + ecx]
lea eax, [eax + eax*4]
sub edx, eax
movsx ebx, dx
mov edx, ebx
sar edx, 0x1f
mov eax, ebx
add eax, 0xfffffffe
mov dword [esp + 0x20], eax
mov eax, edx
adc eax, 0xffffffff
mov esi, ebx
add esi, 0xffffffff
adc edx, 0xffffffff
test bx, bx
mov edi, 0
cmove esi, edi
mov edi, 0
cmove edx, edi
cmp bx, 5
cmovae edx, eax
cmovae esi, dword [esp + 0x20]
movsx ecx, cx
add esi, 8
adc edx, 0
cmp word [esp + 0x50], 0x1e
jl 0x4b64e0
add cl, 0xfd
shld edx, esi, cl
shl esi, cl
test cl, 0x20
cmovne edx, esi
mov eax, 0
cmovne esi, eax
jmp 0x4b64f8
mov al, 3
sub al, cl
mov ecx, eax
shrd esi, edx, cl
shr edx, cl
test al, 0x20
cmovne esi, edx
mov eax, 0
cmovne edx, eax
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov eax, 0x2710
cmp esi, 0x2710
mov ecx, edx
sbb ecx, 0
jb 0x4b6527
cmp esi, 0x989680
mov eax, 0x989680
cmovae esi, eax
test edx, edx
cmovne esi, eax
mov eax, esi
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jle 0x4b6560
lea edx, [ecx + 1]
mov dword [edi + 0x6c], edx
mov edx, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4], 0x4d
mov dword [edx + ecx*4 + 4], eax
mov dword [edx + ecx*4 + 8], ebx
mov dword [edx + ecx*4 + 0xc], 0
mov dword [edx + ecx*4 + 0x10], 0
jmp 0x4b6573
mov ecx, edi
mov edx, 0x4d
push 0
push ebx
push eax
call fcn.004747e0
add esp, 0xc
mov esi, dword [esp + 0x10]
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jle 0x4b65c0
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
mov eax, dword [edi + 0x68]
mov dword [esp + 0x20], ecx
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4], 0x23
mov edx, dword [esp + 0xc]
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4b65db
mov ecx, edi
mov edx, 0x23
push 0
push 0
push dword [esp + 0x14]
call fcn.004747e0
add esp, 0xc
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x64]
test eax, eax
jle 0x4b66b0
mov ecx, dword [esp + 0x10]
mov esi, dword [ecx + 0x70]
lea ebx, [eax + eax*2]
shl ebx, 4
add ebx, esi
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
lea edi, [ecx + eax]
add edi, 0x2c
jmp 0x4b661b
add esi, 0x30
cmp esi, ebx
jae 0x4b66b0
test byte [esi + 0xa], 2
jne 0x4b6610
movzx eax, byte [edi]
test al, 0x40
jne 0x4b6610
mov edx, dword [esi]
mov ecx, dword [edx + 4]
test al, 8
jne 0x4b663b
test cl, 1
jne 0x4b6610
mov eax, dword [edi + 4]
jmp 0x4b6648
test cl, 1
je 0x4b6610
mov eax, dword [edx + 0x24]
cmp eax, dword [edi + 4]
jne 0x4b6610
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x60], xmm0
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x70], 0xffffffff
mov word [esp + 0x74], 3
mov dword [esp + 0x64], 0x499e30
mov dword [esp + 0x68], 0x499fa0
mov dword [esp + 0x78], eax
lea ecx, [esp + 0x60]
call fcn.00499fb0
cmp word [esp + 0x74], 0
je 0x4b6610
push 0x10
push dword [esp + 0xc]
push dword [esi]
push dword [esp + 0x10]
call fcn.004991c0
add esp, 0x10
jmp 0x4b6610
mov eax, dword [esp + 0x40]
test byte [eax + 0x29], 1
jne 0x4b6700
mov ebx, dword [eax + 0x20]
movzx esi, word [eax + 0x18]
cmp esi, 1
mov dword [esp + 0x14], esi
jne 0x4b6730
mov ecx, dword [esp + 4]
movzx eax, byte [ecx + 0x13]
test al, al
je 0x4b6879
dec al
mov byte [ecx + 0x13], al
movzx eax, al
mov eax, dword [ecx + eax*4 + 0x98]
mov dword [esp + 8], eax
jmp 0x4b6884
mov ecx, dword [esp + 4]
movzx eax, byte [ecx + 0x13]
test al, al
mov ebx, dword [esp + 0x18]
je 0x4b675b
dec al
mov byte [ecx + 0x13], al
movzx eax, al
mov esi, dword [ecx + eax*4 + 0x98]
jmp 0x4b6762
mov edx, dword [esp + 4]
mov eax, dword [edx + 0x1c]
sub eax, esi
jge 0x4b6864
mov eax, dword [edx + 0x2c]
lea ecx, [eax + 1]
mov dword [esp + 8], ecx
add eax, esi
mov dword [edx + 0x2c], eax
test esi, esi
jne 0x4b6884
jmp 0x4b68be
mov esi, dword [ecx + 0x2c]
inc esi
mov dword [ecx + 0x2c], esi
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jle 0x4b67a0
lea ecx, [eax + 1]
mov dword [ebx + 0x6c], ecx
mov ecx, dword [ebx + 0x68]
lea eax, [eax + eax*4]
mov dword [ecx + eax*4], 0x87
mov edx, dword [esp + 0xc]
mov dword [ecx + eax*4 + 4], edx
mov dword [ecx + eax*4 + 8], esi
mov dword [ecx + eax*4 + 0xc], 0
mov dword [ecx + eax*4 + 0x10], 0
jmp 0x4b67b6
mov ecx, ebx
mov edx, 0x87
push 0
push esi
push dword [esp + 0x14]
call fcn.004747e0
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov edi, dword [eax + 0x34]
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jle 0x4b6800
lea ecx, [eax + 1]
mov dword [ebx + 0x6c], ecx
mov ecx, dword [ebx + 0x68]
lea edx, [eax + eax*4]
mov dword [ecx + edx*4], 0xb4
mov dword [ecx + edx*4 + 4], edi
mov dword [ecx + edx*4 + 8], 0
mov dword [ecx + edx*4 + 0xc], esi
mov dword [ecx + edx*4 + 0x10], 0
jmp 0x4b6813
mov ecx, ebx
mov edx, 0xb4
push esi
push 0
push edi
call fcn.004747e0
add esp, 0xc
mov edi, ebx
mov ebx, dword [esp + 0x1c]
mov ecx, dword [edi]
cmp byte [ecx + 0x57], 0
jne 0x4b6834
mov ecx, dword [edi + 0x68]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 + 1], 0xfd
mov dword [ecx + eax*4 + 0x10], 1
test esi, esi
je 0x4b69a0
mov eax, dword [esp + 4]
movzx eax, byte [eax + 0x13]
cmp eax, 7
ja 0x4b69a0
mov ecx, eax
inc cl
mov edx, dword [esp + 4]
mov byte [edx + 0x13], cl
mov dword [edx + eax*4 + 0x98], esi
jmp 0x4b69a0
mov ecx, dword [edx + 0x20]
mov dword [esp + 8], ecx
add ecx, esi
mov dword [edx + 0x20], ecx
mov dword [edx + 0x1c], eax
test esi, esi
jne 0x4b6884
jmp 0x4b68be
mov eax, dword [ecx + 0x2c]
inc eax
mov dword [esp + 8], eax
mov dword [ecx + 0x2c], eax
xor edi, edi
nop word cs:[eax + eax]
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 0xc]
movsx eax, word [eax + edi*2]
mov esi, ebx
mov ecx, dword [esp + 8]
lea ebx, [ecx + edi]
mov ecx, dword [esp + 0x18]
push ebx
mov ebx, esi
push eax
push dword [esp + 0x14]
call fcn.00499720
add esp, 0xc
inc edi
cmp dword [esp + 0x14], edi
jne 0x4b6890
mov ebx, dword [esp + 0x1c]
mov esi, dword [ebx + 0x34]
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0x6c]
cmp dword [edi + 0x70], eax
jle 0x4b6910
lea ecx, [eax + 1]
mov dword [edi + 0x6c], ecx
mov ecx, dword [edi + 0x68]
lea edx, [eax + eax*4]
mov dword [ecx + edx*4], 0xb4
mov dword [ecx + edx*4 + 4], esi
mov dword [ecx + edx*4 + 8], 0
mov esi, dword [esp + 8]
mov dword [ecx + edx*4 + 0xc], esi
mov dword [ecx + edx*4 + 0x10], 0
jmp 0x4b6926
mov ecx, edi
mov edx, 0xb4
push dword [esp + 8]
push 0
push esi
call fcn.004747e0
add esp, 0xc
mov edx, dword [esp + 4]
mov esi, dword [esp + 0x14]
mov ecx, dword [edi]
cmp byte [ecx + 0x57], 0
je 0x4b6969
cmp si, 1
jne 0x4b697e
cmp dword [esp + 8], 0
je 0x4b69a0
mov eax, dword [esp + 4]
movzx eax, byte [eax + 0x13]
cmp eax, 7
ja 0x4b69a0
mov ecx, eax
inc cl
mov edx, dword [esp + 4]
mov byte [edx + 0x13], cl
lea eax, [edx + eax*4]
add eax, 0x98
mov ecx, dword [esp + 8]
jmp 0x4b6992
mov ecx, dword [edi + 0x68]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 + 1], 0xfd
mov dword [ecx + eax*4 + 0x10], esi
cmp si, 1
je 0x4b693c
cmp dword [edx + 0x1c], esi
mov ecx, dword [esp + 8]
jge 0x4b69a0
mov eax, dword [esp + 4]
mov dword [eax + 0x1c], esi
mov eax, dword [esp + 0x44]
mov dword [eax], ecx
nop word cs:[eax + eax]
mov ecx, dword [edi + 0xc]
mov esi, dword [esp + 0x5c]
neg esi
mov eax, dword [ecx + 0x38]
add eax, dword [ecx + 0x3c]
js 0x4b69c0
mov eax, dword [edi + 0x6c]
mov ecx, dword [ecx + 0x40]
mov dword [ecx + esi*4], eax
jmp 0x4b69cb
mov edx, edi
push esi
call fcn.0049d4a0
add esp, 4
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x20]
lea esi, [ecx + 1]
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jle 0x4b6a10
lea edx, [ecx + 1]
mov dword [edi + 0x6c], edx
mov edx, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4], 0x26
mov dword [edx + ecx*4 + 4], eax
mov dword [edx + ecx*4 + 8], esi
mov dword [edx + ecx*4 + 0xc], 0
mov dword [edx + ecx*4 + 0x10], 0
jmp 0x4b6a23
mov ecx, edi
mov edx, 0x26
push 0
push esi
push eax
call fcn.004747e0
add esp, 0xc
mov esi, dword [esp + 4]
mov edx, dword [edi]
mov eax, dword [edi + 0x6c]
mov ecx, 0x53e0e4
cmp byte [edx + 0x57], 0
jne 0x4b6a4c
lea ecx, [eax - 1]
mov edx, dword [esp + 0x20]
test edx, edx
cmovns ecx, edx
lea ecx, [ecx + ecx*4]
shl ecx, 2
add ecx, dword [edi + 0x68]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x40]
and byte [eax + 0x2a], 0xbf
mov ecx, dword [esi]
mov dword [esp + 8], ecx
test byte [ecx + 0x52], 0x10
jne 0x4b6b00
mov esi, dword [esp + 0x10]
movzx edi, byte [esi + 0x30]
mov ecx, dword [esp + 0x3c]
lea edx, [ecx + 1]
mov dword [esp + 0xc], edi
cmp edx, edi
jge 0x4b6af0
mov esi, dword [esi + 4]
lea ebx, [ecx + ecx*2]
shl ebx, 5
add ebx, dword [esp + 0x4c]
mov ecx, dword [esp + 0xc]
jmp 0x4b6aa8
inc edx
add ebx, 0x60
cmp ecx, edx
je 0x4b6b00
movzx edi, byte [ebx + 0x3c]
shl edi, 6
test byte [esi + edi + 0x2c], 0x48
jne 0x4b6aa0
mov eax, dword [ebx + 0x50]
test eax, eax
je 0x4b6aa0
mov edi, dword [eax]
and edi, dword [ebp + 0xc]
mov ecx, ebx
mov ebx, dword [eax + 4]
and ebx, dword [ebp + 0x10]
or ebx, edi
mov ebx, ecx
mov ecx, dword [esp + 0xc]
jne 0x4b6aa0
mov edi, dword [eax + 0x28]
mov ecx, 0x400004
and edi, ecx
mov ecx, dword [esp + 0xc]
cmp edi, 0x400000
jne 0x4b6aa0
jmp 0x4b6af4
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x3c], edx
cmp edx, ecx
jl 0x4b61ac
mov esi, dword [esp + 0x18]
mov edx, dword [esi]
mov eax, dword [esi + 0x6c]
mov ecx, 0x53e0e4
cmp byte [edx + 0x57], 0
jne 0x4b6b29
lea ecx, [eax - 1]
mov edx, dword [esp + 0x48]
test edx, edx
cmovns ecx, edx
lea ecx, [ecx + ecx*4]
shl ecx, 2
add ecx, dword [esi + 0x68]
mov dword [ecx + 8], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret