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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
push ebx
mov ebx, ecx
mov dword [esp + 4], edx
xor eax, eax
mov dword [esp + 8], ebx
mov dword [esp + 0x10], eax
push esi
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x1c], eax
inc eax
mov dword [ebx + 0x28], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x18], eax
push edi
test eax, eax
jne 0x4a8a10
cmp dword [ebx + 0x74], eax
jne 0x4a8a03
mov eax, dword [ebx]
test byte [eax + 0x50], 8
jne 0x4a8a03
mov byte [ebx + 0x17], 1
call fcn.0048e850
mov edx, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
cmp dword [ebp + 0xc], 0
je 0x4a8a54
test dword [edx + 4], 0x800
je 0x4a8a54
mov eax, dword [edx + 0x14]
xor esi, esi
mov edi, dword [eax + 0x1c]
mov ebx, dword [edi]
test ebx, ebx
jle 0x4a8a43
add edi, 8
mov ecx, dword [edi]
call fcn.004a8650
test eax, eax
jne 0x4a8a43
inc esi
add edi, 0x14
cmp esi, ebx
jl 0x4a8a30
mov eax, dword [ebp + 0xc]
xor ecx, ecx
cmp esi, ebx
mov ebx, dword [esp + 0x10]
cmove eax, ecx
mov dword [ebp + 0xc], eax
cmp dword [ebx + 0x24], 0
mov eax, 1
mov ecx, dword [esp + 0xc]
jne 0x4a912d
mov eax, dword [ecx + 4]
test eax, 0x800
je 0x4a9128
test al, 0x20
jne 0x4a9128
mov eax, dword [ecx + 0x14]
cmp dword [eax + 0x34], 0
jne 0x4a9128
test byte [eax + 4], 9
jne 0x4a9128
cmp dword [eax + 0x3c], 0
jne 0x4a9128
cmp dword [eax + 0x24], 0
jne 0x4a9128
mov ecx, dword [eax + 0x20]
cmp dword [ecx], 1
jne 0x4a9124
cmp dword [ecx + 0x1c], 0
jne 0x4a9124
mov ebx, dword [ecx + 0x18]
mov dword [esp + 0x30], ebx
cmp byte [ebx + 0x2b], 1
je 0x4a9120
mov edi, dword [eax + 0x1c]
xor edx, edx
mov esi, dword [edi]
mov dword [esp + 0x14], esi
test esi, esi
jle 0x4a8af4
lea ecx, [edi + 8]
mov eax, dword [ecx]
cmp byte [eax], 0xa7
jne 0x4a9120
inc edx
add ecx, 0x14
cmp edx, esi
jl 0x4a8ae1
mov ecx, dword [ebx + 0x3c]
mov dword [esp + 0x24], 0xffff8000
test ecx, ecx
je 0x4a8b2c
mov eax, dword [esp + 0x10]
xor edx, edx
mov dword [esp + 0x24], edx
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x4a8b2c
nop dword [eax]
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4a8b20
mov dword [esp + 0x24], edx
mov ecx, dword [esp + 0x10]
mov edx, ecx
mov eax, dword [ecx + 0x74]
test eax, eax
mov ecx, dword [esp + 0x24]
cmovne edx, eax
mov eax, 1
shl eax, cl
mov esi, dword [edx + 0x54]
test esi, eax
jne 0x4a8b60
bts esi, ecx
mov dword [edx + 0x54], esi
cmp ecx, 1
jne 0x4a8b65
mov ecx, edx
call fcn.004c0d30
jmp 0x4a8b8f
cmp ecx, 1
je 0x4a8b8f
mov esi, dword [esp + 0x10]
add ecx, ecx
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx*8 + 4]
cmp byte [eax + 9], 0
je 0x4a8b8f
push dword [ebx]
mov edx, dword [esp + 0x28]
mov ecx, esi
push 0
push dword [ebx + 0x14]
call fcn.004b77a0
add esp, 0xc
mov edx, dword [esp + 0x14]
cmp edx, 1
jne 0x4a8c72
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov dword [esp + 0x38], ecx
cmp word [eax + 0x20], 0
jge 0x4a8c79
mov edi, dword [esp + 0x1c]
mov esi, dword [edi + 0x74]
cmp dword [edi + 0x78], esi
jg 0x4a8bd6
push 0
push 0
push 0
mov edx, 0x11
mov ecx, edi
call fcn.0048eaa0
add esp, 0xc
mov esi, eax
jmp 0x4a8c09
lea eax, [esi + 1]
mov dword [edi + 0x74], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x70]
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 + 0x10]
mov ecx, edi
mov edx, dword [esp + 0x20]
push 0x65
push ebx
push dword [esp + 0x2c]
call fcn.004cbc10
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.0048f0a0
mov ebx, dword [esp + 0x2c]
add esp, 0x10
mov eax, dword [ebx]
mov edx, dword [ebx + 0x74]
cmp byte [eax + 0x57], 0
je 0x4a8c58
mov eax, 0x5c24f8
mov dword [eax + 8], edx
jmp 0x4a91f5
test esi, esi
lea eax, [edx - 1]
cmovns eax, esi
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4a91f5
lea eax, [edi + 8]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0
mov eax, 1
mov dword [esp + 0x34], eax
test edx, edx
jle 0x4a8d77
xor edi, edi
test eax, eax
je 0x4a9120
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0xc]
mov bl, byte [ecx]
mov al, bl
cmp al, 0xb0
jne 0x4a8cae
mov al, byte [ecx + 2]
cmp al, 0xb1
jne 0x4a8cb9
mov eax, dword [ecx + 0x14]
mov esi, eax
jmp 0x4a8cc3
cmp al, 0x8a
jne 0x4a8cda
mov eax, dword [ecx + 0x14]
mov esi, dword [eax + 0x1c]
cmp dword [esi], 1
jle 0x4a8cda
cmp bl, 0x8a
je 0x4a8cd3
cmp byte [ecx + 2], 0x8a
jne 0x4a8cd6
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + edi + 8]
mov eax, dword [esp + 0x38]
mov eax, dword [eax + edi]
movsx edx, word [eax + 0x20]
test edx, edx
js 0x4a8d00
mov ebx, dword [esp + 0x30]
movsx eax, word [ebx + 0x22]
cmp edx, eax
jge 0x4a8d00
mov eax, dword [ebx + 4]
add edx, edx
mov bl, byte [eax + edx*8 + 8]
jmp 0x4a8d02
mov bl, 0x44
call fcn.004a5570
mov dl, al
cmp dl, 0x40
jle 0x4a8d25
cmp bl, 0x40
jle 0x4a8d25
cmp dl, 0x43
jge 0x4a8d21
cmp bl, 0x43
jge 0x4a8d21
mov cl, 0x41
jmp 0x4a8d34
mov cl, 0x43
jmp 0x4a8d34
cmp dl, 0x40
movzx ecx, bl
movzx eax, dl
cmovg ecx, eax
or cl, 0x40
movsx eax, cl
sub eax, 0x41
je 0x4a8d4f
sub eax, 1
je 0x4a8d4f
xor eax, eax
cmp bl, 0x43
setge al
mov dword [esp + 0x34], eax
jmp 0x4a8d53
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
add edi, 0x14
mov edx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x3c], ecx
cmp ecx, edx
jl 0x4a8c94
test eax, eax
je 0x4a9120
mov ebx, dword [esp + 0x30]
mov ebx, dword [ebx + 8]
mov dword [esp + 0x2c], ebx
test ebx, ebx
je 0x4a9120
xor esi, esi
test esi, esi
jne 0x4a91f9
movzx eax, word [ebx + 0x34]
mov ecx, eax
cmp ecx, edx
jl 0x4a9109
cmp dword [ebx + 0x24], esi
jne 0x4a9109
cmp eax, 0x3f
jae 0x4a9109
test byte [ebp + 8], 4
je 0x4a8dd0
movzx eax, word [ebx + 0x32]
cmp eax, edx
jg 0x4a9109
cmp ecx, edx
jle 0x4a8dd0
cmp byte [ebx + 0x36], 0
je 0x4a9109
mov dword [esp + 0x3c], 0
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
test edx, edx
jle 0x4a8faa
mov eax, dword [esp + 0x4c]
xor edi, edi
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x40], edi
mov dword [esp + 0x30], eax
nop
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0xc]
mov bl, byte [edx]
mov al, bl
cmp al, 0xb0
jne 0x4a8e12
mov al, byte [edx + 2]
cmp al, 0xb1
jne 0x4a8e1d
mov eax, dword [edx + 0x14]
mov esi, eax
jmp 0x4a8e27
cmp al, 0x8a
jne 0x4a8e3e
mov eax, dword [edx + 0x14]
mov esi, dword [eax + 0x1c]
cmp dword [esi], 1
jle 0x4a8e3e
cmp bl, 0x8a
je 0x4a8e37
cmp byte [edx + 2], 0x8a
jne 0x4a8e3a
mov eax, dword [eax + 0x1c]
mov edx, dword [eax + edi + 8]
test dword [edx + 4], 0x100
mov eax, dword [esp + 0x38]
mov esi, dword [eax + edi]
je 0x4a8e54
mov ecx, dword [esp + 0x10]
jmp 0x4a8e7e
test esi, esi
je 0x4a8e67
test dword [esi + 4], 0x100
je 0x4a8e67
mov ecx, dword [esp + 0x10]
jmp 0x4a8e7c
mov ebx, dword [esp + 0x10]
mov ecx, ebx
call fcn.004a5710
mov dword [esp + 0x34], eax
test eax, eax
jne 0x4a8e87
mov ecx, ebx
mov edx, esi
call fcn.004a5710
mov dword [esp + 0x34], eax
movzx ecx, word [esi + 0x20]
xor edi, edi
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x44], ecx
mov ebx, dword [esi + 4]
cmp word [ebx], cx
jne 0x4a8edf
test eax, eax
je 0x4a8eed
mov edx, dword [eax]
mov eax, dword [esi + 0x20]
mov esi, dword [eax + edi*4]
sub esi, edx
nop dword [eax + eax]
movzx eax, byte [edx]
movzx ecx, byte [esi + edx]
cmp eax, ecx
jne 0x4a8ec2
test eax, eax
je 0x4a8eed
inc edx
jmp 0x4a8eb0
movzx ecx, byte [ecx + 0x58d168]
movzx eax, byte [eax + 0x58d168]
sub eax, ecx
jne 0x4a8ed7
inc edx
jmp 0x4a8eb0
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
inc edi
add ebx, 2
cmp edi, dword [esp + 0x14]
jl 0x4a8e98
mov ebx, dword [esp + 0x14]
cmp edi, ebx
je 0x4a8f4a
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 + 0x30]
mov eax, esi
and eax, dword [esp + 0x28]
or ecx, eax
jne 0x4a8f4a
or dword [esp + 0x28], esi
or dword [esp + 0x30], edx
mov eax, dword [ebp + 0x10]
mov esi, dword [esp + 0x3c]
test eax, eax
je 0x4a8f32
mov dword [eax + esi*4], edi
mov edi, dword [esp + 0x40]
inc esi
add edi, 0x14
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], edi
cmp esi, ebx
jl 0x4a8e00
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x28]
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 + 0x30], ecx
jne 0x4a9101
cmp esi, edx
jne 0x4a9101
mov esi, dword [esp + 0x1c]
mov edi, dword [esi + 0x74]
cmp dword [esi + 0x78], edi
jg 0x4a8fb8
push 0
push 0
push 0
mov edx, 0x11
mov ecx, esi
call fcn.0048eaa0
add esp, 0xc
mov edi, eax
jmp 0x4a8feb
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x30], eax
jmp 0x4a8f56
lea eax, [edi + 1]
mov dword [esi + 0x74], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 0x70]
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.0048f0a0
mov ecx, dword [esi + 0x74]
add esp, 0x10
mov edx, dword [ebx + 0x2c]
cmp dword [esi + 0x78], ecx
jg 0x4a9025
push dword [esp + 0x24]
mov ecx, esi
push edx
push dword [esp + 0x28]
mov edx, 0x65
call fcn.0048eaa0
add esp, 0xc
jmp 0x4a9054
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x20]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x65
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 + 0x10]
mov edx, ebx
mov ecx, eax
mov esi, dword [eax + 8]
call fcn.004c16c0
mov edx, eax
test edx, edx
je 0x4a9094
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x4a9082
push edx
mov edx, 0xfffffff7
call fcn.0048f5b0
add esp, 4
jmp 0x4a9094
mov eax, dword [esi + 0x74]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [ebx + 0x1c]
mov edx, dword [ebp + 0xc]
movzx esi, byte [eax]
add esi, 3
mov dword [esp + 0x18], esi
test edx, edx
je 0x4a90cd
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x2c]
inc eax
cmp dword [esp + 0x14], 1
mov dword [ecx + 0x2c], eax
mov dword [edx], eax
jne 0x4a90cd
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
call fcn.004a8870
add esp, 4
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x74]
mov eax, dword [eax]
cmp byte [eax + 0x57], 0
je 0x4a90e6
mov eax, 0x5c24f8
mov dword [eax + 8], edx
jmp 0x4a9105
test edi, edi
lea eax, [edx - 1]
cmovns eax, edi
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x70]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4a9105
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ebx, dword [ebx + 0x14]
mov dword [esp + 0x2c], ebx
test ebx, ebx
jne 0x4a8d88
test esi, esi
jne 0x4a91f9
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov eax, 1
test byte [ebp + 8], 1
je 0x4a9190
test dword [ecx + 4], 0x800
jne 0x4a9190
mov esi, dword [ecx + 0xc]
mov edx, ecx
mov dword [ecx + 0xc], 0
lea ecx, [esp + 0x54]
mov word [esp + 0x68], ax
mov dword [esp + 0x58], fcn.004a8370
mov dword [esp + 0x5c], 0x4a8250
mov dword [esp + 0x6c], 0
call fcn.004a2570
cmp word [esp + 0x68], 0
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0xc], esi
je 0x4a9185
mov eax, dword [ecx + 0x14]
cmp dword [eax], 2
jg 0x4a9190
mov esi, 5
mov dword [esp + 0x18], esi
jmp 0x4a91fd
mov edi, dword [ebx + 0x88]
xor esi, esi
test byte [ebp + 8], 4
mov dword [esp + 0x18], 2
je 0x4a91bb
push dword [esp + 0x20]
mov edx, ecx
mov dword [ebx + 0x88], esi
mov ecx, ebx
call fcn.004a9430
jmp 0x4a91ec
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4a91ca
inc dword [ebx + 0x2c]
mov esi, dword [ebx + 0x2c]
mov dword [eax], esi
push dword [esp + 0x20]
mov edx, ecx
mov ecx, ebx
call fcn.004a9430
add esp, 4
test esi, esi
je 0x4a91ef
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push esi
call fcn.004a8870
add esp, 4
mov dword [ebx + 0x88], edi
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x4a92e8
cmp esi, 3
je 0x4a92e8
cmp esi, 4
je 0x4a92e8
mov ecx, dword [ecx + 0xc]
mov al, byte [ecx]
cmp al, 0xb0
jne 0x4a9226
mov al, byte [ecx + 2]
cmp al, 0xb1
jne 0x4a922f
mov edi, dword [ecx + 0x14]
jmp 0x4a923d
cmp al, 0x8a
jne 0x4a92d3
mov eax, dword [ecx + 0x14]
mov edi, dword [eax + 0x1c]
mov edi, dword [edi]
test edi, edi
jle 0x4a92e8
xor ecx, ecx
cmp edi, 0x10
jb 0x4a92e0
movaps xmm1, xmmword [0x59fec0]
mov eax, edi
and eax, 0x8000000f
jns 0x4a9267
dec eax
or eax, 0xfffffff0
inc eax
mov ebx, edi
mov esi, 8
sub ebx, eax
add edx, 0x20
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 0x4a9273
cmp ecx, edi
jge 0x4a92e8
mov edx, dword [ebp + 0x10]
jmp 0x4a92e0
mov edi, 1
xor ecx, ecx
nop word [eax + eax]
mov dword [edx + ecx*4], ecx
inc ecx
cmp ecx, edi
jl 0x4a92e0
mov ecx, dword [ebp + 0x14]
mov eax, dword [esp + 0x20]
pop edi
pop esi
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
pop ebx
mov esp, ebp
pop ebp
ret