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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x704034]
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 0x4b20b4
cmp dword [ebx + 0x74], eax
jne 0x4b20a5
mov eax, dword [ebx]
test byte [eax + 0x4c], 8
jne 0x4b20a5
mov byte [ebx + 0x17], 1
mov ecx, ebx
call fcn.00499460
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x20], eax
test ecx, ecx
je 0x4b20f7
test dword [esi + 4], 0x800
je 0x4b20f7
mov eax, dword [esi + 0x14]
xor edx, edx
mov esi, dword [eax]
mov edi, dword [esi]
test edi, edi
jle 0x4b20e8
add esi, 4
mov ecx, dword [esi]
call fcn.004b1ca0
test eax, eax
jne 0x4b20e4
inc edx
add esi, 0x18
cmp edx, edi
jl 0x4b20d1
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 0x4b26cd
mov ecx, esi
call fcn.004b1e80
test eax, eax
je 0x4b26cd
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 0x4b2148
mov eax, dword [esi + 0x10]
xor ecx, ecx
add eax, 0xc
cmp dword [eax], edx
je 0x4b2148
lea eax, [eax + 0x10]
inc ecx
cmp dword [eax], edx
jne 0x4b2140
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 0x4b2185
bts esi, ecx
mov dword [edx + 0x54], esi
cmp ecx, 1
jne 0x4b2185
mov ecx, edx
call fcn.004c3690
mov ecx, dword [esp + 0x3c]
push dword [ebx]
mov edx, ecx
mov ecx, dword [esp + 0x14]
push 0
push dword [ebx + 0x1c]
call fcn.004bcc40
add esp, 0xc
cmp edi, 1
jne 0x4b2227
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 4]
cmp word [eax + 0x20], 0
jge 0x4b2227
mov ecx, dword [esp + 0x20]
lea edx, [edi + 0x10]
call fcn.00499810
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.004cbef0
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.00499c90
mov ebx, dword [esp + 0x30]
add esp, 0x10
mov edx, dword [ebx + 0x6c]
test esi, esi
jns 0x4b2200
lea esi, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x4b2215
mov eax, 0x716eec
mov dword [eax + 8], edx
jmp 0x4b278d
mov eax, dword [ebx + 0x68]
lea ecx, [esi + esi*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4b278d
mov dword [esp + 0x38], 0
mov eax, 1
mov dword [esp + 0x28], eax
test edi, edi
jle 0x4b231d
xor edi, edi
test eax, eax
je 0x4b26c9
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
mov bl, byte [ecx]
mov al, bl
cmp al, 0xab
jne 0x4b225c
mov al, byte [ecx + 0x26]
cmp al, 0xac
jne 0x4b2269
mov eax, dword [ecx + 0x14]
mov edx, dword [eax]
mov esi, edx
jmp 0x4b2274
cmp al, 0x86
jne 0x4b228e
mov eax, dword [ecx + 0x14]
mov edx, dword [eax]
mov esi, dword [edx]
cmp esi, 1
jle 0x4b228e
cmp bl, 0x86
je 0x4b228a
cmp byte [ecx + 0x26], 0x86
je 0x4b228a
mov ecx, dword [eax + edi + 4]
jmp 0x4b228e
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 0x4b22ad
mov eax, dword [esp + 0x24]
add edx, edx
mov eax, dword [eax + 4]
mov bl, byte [eax + edx*8 + 0xd]
jmp 0x4b22af
mov bl, 0x44
call fcn.004af270
cmp al, 0x40
jle 0x4b22d3
cmp bl, 0x40
jle 0x4b22ce
cmp al, 0x43
jge 0x4b22ca
cmp bl, 0x43
jge 0x4b22ca
mov al, 0x41
jmp 0x4b22d8
mov al, 0x43
jmp 0x4b22d8
movsx eax, al
jmp 0x4b22d6
movsx eax, bl
or al, 0x40
movsx eax, al
sub eax, 0x41
je 0x4b22f3
sub eax, 1
je 0x4b22f3
xor eax, eax
cmp bl, 0x43
setge al
mov dword [esp + 0x28], eax
jmp 0x4b22f7
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 0x4b2242
test eax, eax
je 0x4b26c9
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
mov ebx, dword [ebx + 8]
mov dword [esp + 0x34], ebx
test ebx, ebx
je 0x4b26c9
xor esi, esi
nop
test esi, esi
jne 0x4b2791
movzx eax, word [ebx + 0x34]
mov ecx, eax
cmp ecx, edi
jl 0x4b26b2
cmp dword [ebx + 0x24], esi
jne 0x4b26b2
cmp eax, 0x3f
jae 0x4b26b2
test byte [ebp + 8], 4
je 0x4b2378
movzx eax, word [ebx + 0x32]
cmp eax, edi
jg 0x4b26b2
cmp ecx, edi
jle 0x4b2378
cmp byte [ebx + 0x36], 0
je 0x4b26b2
mov dword [esp + 0x38], 0
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
test edi, edi
jle 0x4b255b
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 0x4b23b9
mov al, byte [edx + 0x26]
cmp al, 0xac
jne 0x4b23c6
mov eax, dword [edx + 0x14]
mov ecx, dword [eax]
mov esi, ecx
jmp 0x4b23d1
cmp al, 0x86
jne 0x4b23eb
mov eax, dword [edx + 0x14]
mov ecx, dword [eax]
mov esi, dword [ecx]
cmp esi, 1
jle 0x4b23eb
cmp bl, 0x86
je 0x4b23e7
cmp byte [edx + 0x26], 0x86
je 0x4b23e7
mov edx, dword [edi + eax + 4]
jmp 0x4b23eb
mov edx, dword [edi + ecx + 4]
test dword [edx + 4], 0x100
mov eax, dword [esp + 0x44]
mov esi, dword [eax + edi + 4]
je 0x4b2402
mov ecx, dword [esp + 0x10]
jmp 0x4b242c
test esi, esi
je 0x4b2415
test dword [esi + 4], 0x100
je 0x4b2415
mov ecx, dword [esp + 0x10]
jmp 0x4b242a
mov ebx, dword [esp + 0x10]
mov ecx, ebx
call fcn.004af400
mov dword [esp + 0x28], eax
test eax, eax
jne 0x4b2435
mov ecx, ebx
mov edx, esi
call fcn.004af400
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 0x4b248f
test eax, eax
je 0x4b249d
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 0x4b2472
test eax, eax
je 0x4b249d
inc edx
jmp 0x4b2460
movzx ecx, byte [ecx + 0x6c6f10]
movzx eax, byte [eax + 0x6c6f10]
sub eax, ecx
jne 0x4b2487
inc edx
jmp 0x4b2460
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 0x4b2446
mov ebx, dword [esp + 0x1c]
cmp edi, ebx
je 0x4b24fb
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 0x4b24fb
or dword [esp + 0x24], edx
or dword [esp + 0x30], esi
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x38]
test eax, eax
je 0x4b24e3
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 0x4b23a7
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 0x4b26ae
cmp esi, edx
jne 0x4b26ae
mov edi, dword [esp + 0x20]
mov esi, dword [edi + 0x6c]
cmp dword [edi + 0x70], esi
jg 0x4b2569
push 0
push 0
push 0
mov edx, 0x11
mov ecx, edi
call fcn.00499760
add esp, 0xc
mov esi, eax
jmp 0x4b259c
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x54]
mov dword [esp + 0x24], eax
jmp 0x4b2507
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.00499c90
mov ecx, dword [edi + 0x6c]
add esp, 0x10
mov edx, dword [ebx + 0x2c]
cmp dword [edi + 0x70], ecx
jg 0x4b25d6
push dword [esp + 0x3c]
mov ecx, edi
push edx
push dword [esp + 0x34]
mov edx, 0x61
call fcn.00499760
add esp, 0xc
jmp 0x4b2605
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.004c4030
mov edx, eax
test edx, edx
je 0x4b2645
mov ecx, dword [edi]
cmp byte [ecx + 0x51], 0
je 0x4b2633
push edx
mov edx, 0xfffffff7
call fcn.0049a470
add esp, 4
jmp 0x4b2645
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 0x4b2681
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 0x4b2681
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
push eax
call fcn.004b1ef0
add esp, 4
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x6c]
test esi, esi
jns 0x4b268f
lea esi, [edx - 1]
mov eax, dword [eax]
cmp byte [eax + 0x51], 0
je 0x4b269e
mov eax, 0x716eec
jmp 0x4b26ab
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 0x4b2330
test esi, esi
jne 0x4b2791
mov ebx, dword [esp + 0x10]
test byte [ebp + 8], 1
mov ecx, dword [esp + 0x14]
je 0x4b2733
test dword [ecx + 4], 0x800
jne 0x4b2733
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.004b18f0
mov dword [esp + 0x68], 0x4b17c0
mov dword [esp + 0x78], 0
call fcn.004aca70
cmp byte [esp + 0x74], 0
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0xc], esi
je 0x4b2728
mov eax, dword [ecx + 0x14]
cmp dword [eax], 2
jg 0x4b2733
mov esi, 5
mov dword [esp + 0x18], esi
jmp 0x4b2795
mov edi, dword [ebx + 0x84]
xor esi, esi
test byte [ebp + 8], 4
mov eax, 2
mov dword [esp + 0x18], eax
je 0x4b2752
mov dword [ebx + 0x84], esi
jmp 0x4b2762
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4b2762
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.004b2a00
add esp, 4
test esi, esi
je 0x4b2787
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
push esi
call fcn.004b1ef0
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 0x4b283d
cmp esi, 3
je 0x4b283d
cmp esi, 4
je 0x4b283d
mov ecx, dword [ecx + 0xc]
mov al, byte [ecx]
cmp al, 0xab
jne 0x4b27bf
mov al, byte [ecx + 0x26]
cmp al, 0xac
jne 0x4b27ca
mov eax, dword [ecx + 0x14]
mov edx, dword [eax]
jmp 0x4b27dc
cmp al, 0x86
jne 0x4b27d7
mov eax, dword [ecx + 0x14]
mov eax, dword [eax]
mov edx, dword [eax]
jmp 0x4b27dc
mov edx, 1
xor ecx, ecx
test edx, edx
jle 0x4b283d
cmp edx, 8
jb 0x4b2831
movaps xmm1, xmmword [0x6dd040]
mov eax, edx
and eax, 0x80000007
jns 0x4b27fc
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 0x4b2800
mov esi, dword [esp + 0x18]
cmp ecx, edx
jge 0x4b283d
mov dword [ebx + ecx*4], ecx
inc ecx
cmp ecx, edx
jl 0x4b2835
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.00620676
mov esp, ebp
pop ebp
ret