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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
push esi
mov esi, dword [ecx + 8]
push edi
mov edi, edx
mov dword [esp + 0x10], ecx
push 0
push 0
push 0
mov eax, dword [edi + 0x1c]
mov edx, 0x21
mov dword [esp + 0x2c], eax
mov eax, dword [edi]
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x34], 0
mov eax, dword [eax]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x30]
mov dword [esp + 0x38], eax
call fcn.00454dd0
add esp, 0xc
test eax, eax
jne 0x46fa52
mov ebx, dword [esi + 0x18]
mov ecx, dword [ebx + 0x74]
mov dword [esp + 0xc], ecx
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea eax, [ecx - 1]
test ecx, eax
jne 0x46f35f
mov edx, dword [ebx + 0x78]
lea eax, [ecx*8 + 4]
mov ecx, dword [ebx]
push 0
push eax
call fcn.00418a40
mov ecx, dword [esp + 0x14]
add esp, 8
mov dword [ebx + 0x78], eax
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x46f36d
mov dword [eax + ecx*4], 0xffffffff
not ecx
mov edx, edi
mov dword [esp + 0xc], ecx
push ecx
mov ecx, dword [esp + 0x14]
call fcn.0046f030
mov eax, dword [edi + 0x38]
add esp, 4
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x3c], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0xc], 0
mov edx, dword [ebx]
mov dword [esp + 0x14], eax
xor eax, eax
test edx, edx
jle 0x46f3ec
lea ecx, [ebx + 0x30]
test byte [ecx], 0x20
jne 0x46f3df
inc eax
add ecx, 0x50
cmp eax, edx
jl 0x46f3d0
jmp 0x46f3ec
lea eax, [eax + eax*4]
add eax, eax
mov eax, dword [ebx + eax*8 + 0x38]
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov ebx, dword [edx + 0x48]
lea eax, [ebx + 1]
mov dword [edx + 0x48], eax
cmp byte [edi + 4], 0x73
jne 0x46f419
cmp dword [esp + 0x14], ecx
mov dword [esp + 0x28], eax
setne cl
inc eax
mov dword [edx + 0x48], eax
lea ecx, [ecx*2 + 6]
jmp 0x46f427
cmp dword [esp + 0x14], ecx
setne cl
lea ecx, [ecx*2 + 5]
inc dword [edx + 0x4c]
mov edx, dword [edx + 0x4c]
mov byte [esp + 0x44], cl
mov dword [esp + 0x48], ebx
mov byte [esp + 0x45], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x20], edx
cmp dword [eax + 0x58], ecx
jg 0x46f477
push dword [esp + 0x24]
mov ecx, esi
push edx
push dword [esp + 0x20]
mov edx, 0x6c
call fcn.004376e0
mov edx, dword [esp + 0x30]
add esp, 0xc
jmp 0x46f4ae
mov edi, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x1c]
mov word [eax + ecx*4], 0x6c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x14], 0
je 0x46f5a3
push ecx
mov ecx, dword [esp + 0x14]
mov edx, edi
call fcn.0046f1b0
mov ecx, dword [esi + 0x18]
add esp, 4
mov edx, dword [esi + 0x20]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
add eax, 2
mov dword [esp + 0x30], eax
cmp dword [ecx + 0x58], edx
jg 0x46f4fb
push 0
push eax
push ebx
mov edx, 0x69
mov ecx, esi
call fcn.004376e0
add esp, 0xc
mov edx, eax
jmp 0x46f532
mov edi, dword [esp + 0x30]
lea eax, [edx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x1c]
mov word [eax + ecx*4], 0x69
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi]
cmp byte [ecx + 0x45], 0
je 0x46f559
mov edx, dword [esp + 0x24]
push edx
mov edx, 0xfffffffa
call fcn.004381b0
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x54], eax
jmp 0x46f5f2
test edx, edx
jns 0x46f561
mov edx, dword [esi + 0x20]
dec edx
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov edx, dword [esp + 0x24]
je 0x46f58e
push 0xfffffffffffffffa
push edx
mov edx, eax
mov ecx, esi
call fcn.004383e0
mov eax, dword [esp + 0x1c]
add esp, 8
mov dword [esp + 0x54], eax
jmp 0x46f5f2
test edx, edx
je 0x46f599
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xfa
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], eax
jmp 0x46f5f2
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x46f5c3
push 0
push edx
push ebx
mov edx, 0x69
mov ecx, esi
call fcn.004376e0
add esp, 0xc
jmp 0x46f5f2
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x69
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x46f65f
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
cmp dword [eax + 0x58], edx
jg 0x46f61d
push 0
push 0
push ecx
mov edx, 0x69
mov ecx, esi
call fcn.004376e0
add esp, 0xc
mov edx, eax
jmp 0x46f658
mov edi, dword [esp + 0x28]
lea eax, [edx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x1c]
mov word [eax + ecx*4], 0x69
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov dword [edi + 0x14], edx
or dword [edi + 8], 0x20
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x14]
mov edx, eax
mov dword [edi + 0x2c], 0
mov dword [eax + 0x34], 0
call fcn.00474420
mov ecx, dword [esp + 0x30]
add esp, 4
mov dword [ecx + 0x34], edi
test eax, eax
jne 0x46fa2b
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x28], ecx
cmp dword [eax + 0x58], ecx
jg 0x46f6bf
push 0
push edx
push ebx
mov edx, 0x37
mov ecx, esi
call fcn.004376e0
add esp, 0xc
mov dword [esp + 0x28], eax
jmp 0x46f6ee
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x37
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x46f712
push 0
push 0
push dword [esp + 0x20]
mov edx, 0x7a
mov ecx, esi
call fcn.004376e0
add esp, 0xc
jmp 0x46f749
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x7a
mov byte [eax + ecx*4 + 3], 0
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
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
test eax, eax
je 0x46f796
mov edx, dword [eax]
mov eax, dword [esi + 0x18]
inc edx
cmp dword [eax + 0x58], ecx
jg 0x46f776
push dword [esp + 0x20]
mov ecx, esi
push edx
push ebx
mov edx, 0x5e
call fcn.004376e0
add esp, 0xc
jmp 0x46f7e9
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x20]
mov word [eax + ecx*4], 0x5e
mov dword [eax + ecx*4 + 0xc], edx
jmp 0x46f7d8
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x46f7b6
push 0
push dword [esp + 0x24]
mov edx, 0x78
mov ecx, esi
push ebx
call fcn.004376e0
add esp, 0xc
jmp 0x46f7e9
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x78
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 4], ebx
mov byte [eax + ecx*4 + 3], 0
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x46f80a
push 0
push 0
push ebx
mov edx, 0x73
mov ecx, esi
call fcn.004376e0
add esp, 0xc
jmp 0x46f83d
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x73
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x30], ecx
mov ebx, dword [ecx + 0x74]
lea eax, [ebx + 1]
mov dword [ecx + 0x74], eax
lea eax, [ebx - 1]
test ebx, eax
jne 0x46f872
mov edx, dword [ecx + 0x78]
lea eax, [ebx*8 + 4]
mov ecx, dword [ecx]
push 0
push eax
call fcn.00418a40
mov ecx, dword [esp + 0x38]
add esp, 8
mov dword [ecx + 0x78], eax
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x46f880
mov dword [eax + ebx*4], 0xffffffff
mov edx, dword [esp + 0x34]
not ebx
test edx, edx
jle 0x46f8d9
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x46f8aa
push 1
push ebx
push edx
mov edx, 0x40
mov ecx, esi
call fcn.004376e0
add esp, 0xc
jmp 0x46f8d9
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x40
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 1
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, edi
push ebx
push dword [ebp + 8]
push 0
push 0
push dword [esp + 0x2c]
push dword [edi]
call fcn.0046cf80
mov edx, dword [esp + 0x54]
add esp, 0x1c
test edx, edx
je 0x46f957
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x46f924
push 0
push dword [esp + 0x10]
mov ecx, esi
push edx
mov edx, 0x42
call fcn.004376e0
add esp, 0xc
jmp 0x46f957
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0xc]
mov word [eax + ecx*4], 0x42
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x46f96f
lea eax, [ebx*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
dec eax
mov dword [edx + 0x60], eax
test byte [edi + 8], 8
je 0x46f98f
push str.recursive_aggregate_queries_not_supported
push dword [esp + 0x14]
call fcn.0041b2c0
add esp, 8
jmp 0x46f9b0
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x44]
push eax
mov edx, edi
mov dword [edi + 0x30], 0
call fcn.00474420
mov eax, dword [esp + 0x30]
add esp, 4
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x28]
cmp dword [eax + 0x58], ecx
jg 0x46f9d5
push 0
push edx
push 0
mov edx, 0xd
mov ecx, esi
call fcn.004376e0
add esp, 0xc
jmp 0x46fa08
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0xd
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x46fa24
mov eax, dword [esp + 0xc]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
dec eax
mov dword [edx + 0x60], eax
mov edx, dword [edi + 0x2c]
test edx, edx
je 0x46fa3d
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
call fcn.0044d030
mov eax, dword [esp + 0x14]
mov dword [edi + 0x2c], eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x40]
mov dword [edi + 0x3c], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret