Function at 0x46fac0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
xor eax, eax
mov dword [esp + 8], ecx
push esi
mov dword [esp + 0x14], eax
mov esi, edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 8]
mov edx, dword [esi + 0x30]
push edi
mov edi, dword [ecx]
movups xmm0, xmmword [eax]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x50], eax
movups xmmword [esp + 0x40], xmm0
cmp dword [edx + 0x2c], 0
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], edx
je 0x46fb55
movzx eax, byte [esi + 4]
sub eax, 0x74
je 0x46fb37
sub eax, 1
je 0x46fb30
sub eax, 1
je 0x46fb29
mov eax, str.UNION
jmp 0x46fb3c
mov eax, str.INTERSECT
jmp 0x46fb3c
mov eax, str.EXCEPT
jmp 0x46fb3c
mov eax, str.UNION_ALL
push eax
push str.ORDER_BY_clause_should_come_after__s_not_before
push ecx
call fcn.0041b2c0
add esp, 0xc
mov esi, 1
jmp 0x470377
cmp dword [edx + 0x38], 0
je 0x46fba1
movzx eax, byte [esi + 4]
sub eax, 0x74
je 0x46fb83
sub eax, 1
je 0x46fb7c
sub eax, 1
je 0x46fb75
mov eax, str.UNION
jmp 0x46fb88
mov eax, str.INTERSECT
jmp 0x46fb88
mov eax, str.EXCEPT
jmp 0x46fb88
mov eax, str.UNION_ALL
push eax
push str.LIMIT_clause_should_come_after__s_not_before
push ecx
call fcn.0041b2c0
add esp, 0xc
mov esi, 1
jmp 0x470377
mov edi, dword [ecx + 8]
mov dword [esp + 0x1c], edi
test edi, edi
jne 0x46fbb7
call fcn.0046eff0
mov edi, eax
mov dword [esp + 0x1c], eax
mov cl, byte [esp + 0x40]
cmp cl, 0xc
jne 0x46fbdd
mov eax, dword [esi]
mov edx, 0x69
mov ecx, edi
push dword [eax]
push dword [esp + 0x48]
call fcn.00437870
mov cl, 0xe
add esp, 8
mov byte [esp + 0x40], cl
mov eax, dword [esi + 8]
test eax, 0x400
je 0x46fc01
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x40]
push eax
mov edx, esi
call fcn.0046fa60
add esp, 4
mov esi, eax
jmp 0x470373
test eax, 0x2000
je 0x46fc7d
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x40]
push eax
mov edx, esi
call fcn.0046f2d0
add esp, 4
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
xor eax, eax
mov ecx, dword [esp + 0x10]
cmp byte [edi + 4], 0x74
movzx edx, byte [edi + 4]
setne al
push eax
push dword [esp + 0x2c]
push dword [esp + 0x34]
call fcn.0046dce0
add esp, 0xc
test byte [edi + 8], 0x20
je 0x47036f
mov eax, dword [edi]
mov ecx, dword [esp + 0x14]
push 1
mov eax, dword [eax]
mov edx, eax
mov dword [esp + 0x38], eax
call fcn.0046dbb0
mov edi, eax
add esp, 4
mov dword [esp + 0x3c], edi
test edi, edi
jne 0x47024c
lea esi, [eax + 7]
jmp 0x470373
cmp dword [esi + 0x2c], 0
je 0x46fc9b
mov ecx, dword [ebp + 8]
mov edx, esi
push ecx
mov ecx, dword [esp + 0x14]
call fcn.00470870
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movzx eax, byte [esi + 4]
sub eax, 0x73
je 0x47002f
sub eax, 1
je 0x46fef4
sub eax, 1
je 0x47002f
mov ecx, dword [esp + 0x10]
push 0
mov edx, dword [ecx + 0x48]
mov dword [esp + 0x10], edx
push edx
lea eax, [edx + 1]
mov edx, 0x69
mov dword [esp + 0x3c], eax
inc eax
mov dword [ecx + 0x48], eax
mov ecx, edi
call fcn.00437870
mov ecx, esi
mov dword [esi + 0x14], eax
call fcn.0046c2e0
mov edx, dword [esp + 0x2c]
or dword [eax + 8], 0x20
mov eax, dword [esp + 0x14]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x18]
mov word [esp + 0x70], 1
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov ecx, dword [eax + 0x1d8]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x70]
push ecx
mov ecx, eax
call fcn.00474420
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x18], ecx
test ecx, ecx
jne 0x47036f
push eax
push dword [esp + 0x38]
lea edx, [eax + 0x69]
mov ecx, edi
call fcn.00437870
mov dword [esi + 0x18], eax
mov edx, esi
mov eax, dword [esi + 0x38]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x30], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov ecx, dword [eax + 0x1d8]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x70]
push ecx
mov ecx, eax
call fcn.00474420
mov dword [esp + 0x24], eax
add esp, 0xc
mov eax, dword [esi + 0x30]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x30], eax
movzx eax, word [eax + 6]
cmp word [esi + 6], ax
jle 0x46fdb7
mov word [esi + 6], ax
mov edx, dword [esi + 0x38]
test edx, edx
je 0x46fdc7
mov ecx, dword [esp + 0x14]
call fcn.0044c120
cmp byte [esp + 0x40], 9
mov eax, dword [esp + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x3c], eax
jne 0x46fdff
mov eax, dword [esi + 0x30]
mov edx, esi
test eax, eax
je 0x46fdee
mov edx, eax
mov eax, dword [edx + 0x30]
test eax, eax
jne 0x46fde5
push dword [edx]
mov edx, dword [edx + 0x1c]
mov ecx, dword [esp + 0x14]
call fcn.0046e7a0
add esp, 4
mov ecx, edi
call fcn.00437e30
mov esi, eax
mov ecx, edi
mov dword [esp + 0x38], esi
call fcn.00437e30
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
push esi
mov dword [esp + 0x28], eax
call fcn.0046f030
add esp, 4
mov edx, 0x37
mov ecx, edi
push esi
push dword [esp + 0x10]
call fcn.00437870
mov ecx, dword [esp + 0x18]
call fcn.004516c0
mov esi, eax
mov edx, 0x77
push esi
push dword [esp + 0x18]
mov ecx, edi
call fcn.00437870
mov ecx, dword [esp + 0x2c]
mov edx, 0x1e
push 0
push esi
push dword [esp + 0x3c]
mov edi, eax
push dword [esp + 0x50]
call fcn.00437ce0
mov ecx, dword [esp + 0x30]
mov edx, esi
call fcn.004516e0
push dword [esp + 0x58]
mov esi, dword [esp + 0x48]
lea eax, [esp + 0x64]
mov ecx, dword [esp + 0x34]
push esi
push eax
mov eax, dword [esp + 0x4c]
mov edx, eax
push 0
push 0
push dword [esp + 0x40]
push dword [eax]
call fcn.0046cf80
add esp, 0x3c
mov edx, esi
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.00437e80
push edi
mov edi, dword [esp + 0x10]
mov edx, 7
push edi
call fcn.00437870
mov edx, dword [esp + 0x40]
mov ecx, esi
call fcn.00437e80
lea eax, [edi + 1]
mov edx, 0x6d
push 0
push eax
call fcn.00437870
push 0
push edi
mov edx, 0x6d
mov ecx, esi
call fcn.00437870
add esp, 0x18
jmp 0x46fc1f
mov ecx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x38]
mov dword [ecx + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [ecx + 0x3c], eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x1d8]
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x40]
push edx
mov edx, ecx
mov ecx, eax
call fcn.00474420
mov ecx, eax
mov dword [esi + 0x38], 0
add esp, 4
mov dword [esp + 0x18], ecx
mov dword [esi + 0x3c], 0
test ecx, ecx
jne 0x47036f
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0xc]
mov dword [esi + 0xc], ecx
mov eax, dword [eax + 0x10]
mov dword [esi + 0x10], eax
test ecx, ecx
je 0x46ff98
push ecx
mov edx, 0x16
mov ecx, edi
call fcn.00437800
mov ecx, dword [esi + 0x10]
add esp, 4
mov dword [esp + 0x38], eax
test ecx, ecx
je 0x46ff98
push ecx
inc ecx
mov edx, 0x90
push ecx
push dword [esi + 0xc]
mov ecx, edi
call fcn.00437720
add esp, 0xc
mov eax, dword [esp + 0x10]
mov edx, esi
mov ecx, dword [eax + 0x1d8]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
call fcn.00474420
mov cx, word [esi + 6]
add esp, 4
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x30]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x30], eax
mov dx, word [eax + 6]
call fcn.0041c650
mov edx, dword [esp + 0x24]
mov word [esi + 6], ax
mov word [esp + 0xc], ax
mov ecx, dword [edx + 0x38]
test ecx, ecx
je 0x470015
lea edx, [esp + 0x3c]
call fcn.0044d390
test eax, eax
je 0x470015
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x470015
cdq
push edx
push eax
call fcn.0041c6b0
add esp, 8
cmp word [esp + 0xc], ax
jle 0x470015
mov word [esi + 6], ax
mov eax, dword [esp + 0x38]
test eax, eax
je 0x46fc1b
mov edx, eax
mov ecx, edi
call fcn.00438170
jmp 0x46fc1b
cmp cl, 1
jne 0x47003e
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], eax
jmp 0x470073
mov ecx, dword [esp + 0x10]
push 0
mov edx, dword [ecx + 0x48]
mov dword [esp + 0x10], edx
push edx
lea eax, [edx + 1]
mov edx, 0x69
mov dword [ecx + 0x48], eax
mov ecx, edi
call fcn.00437870
add esp, 8
mov dword [esi + 0x14], eax
mov ecx, esi
call fcn.0046c2e0
or dword [eax + 8], 0x20
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x10]
mov word [esp + 0x7c], 1
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov ecx, dword [eax + 0x1d8]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x7c]
push ecx
mov ecx, eax
call fcn.00474420
mov ecx, eax
add esp, 4
mov dword [esp + 0x18], ecx
test ecx, ecx
jne 0x47036f
cmp byte [esi + 4], 0x75
mov edx, esi
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x38]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x38], eax
sete al
inc al
mov dword [esi + 0x38], ecx
mov byte [esp + 0x7c], al
mov eax, dword [esp + 0x10]
mov dword [esi + 0x3c], ecx
mov ecx, dword [eax + 0x1d8]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x7c]
push ecx
mov ecx, eax
call fcn.00474420
mov edx, dword [esi + 0x2c]
add esp, 4
mov dword [esp + 0x18], eax
test edx, edx
je 0x47011d
mov ecx, dword [esp + 0x14]
call fcn.0044d030
cmp byte [esi + 4], 0x73
mov eax, dword [esi + 0x30]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x30], eax
mov dword [esi + 0x2c], 0
jne 0x470149
mov dx, word [eax + 6]
mov cx, word [esi + 6]
call fcn.0041c650
mov word [esi + 6], ax
mov edx, dword [esi + 0x38]
test edx, edx
je 0x470159
mov ecx, dword [esp + 0x14]
call fcn.0044c120
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x3c], eax
mov al, byte [esp + 0x40]
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
cmp al, 1
je 0x46fc1b
cmp al, 9
jne 0x4701aa
mov eax, dword [esi + 0x30]
mov edx, esi
test eax, eax
je 0x470199
nop
mov edx, eax
mov eax, dword [edx + 0x30]
test eax, eax
jne 0x470190
push dword [edx]
mov edx, dword [edx + 0x1c]
mov ecx, dword [esp + 0x14]
call fcn.0046e7a0
add esp, 4
mov ecx, edi
call fcn.00437e30
mov esi, eax
mov ecx, edi
mov dword [esp + 0x38], esi
call fcn.00437e30
mov edx, dword [esp + 0x20]
mov edi, eax
mov ecx, dword [esp + 0x10]
push esi
call fcn.0046f030
add esp, 4
mov edx, 0x37
push esi
push dword [esp + 0x10]
mov esi, dword [esp + 0x24]
mov ecx, esi
call fcn.00437870
push dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x4c]
mov esi, dword [esi + 0x20]
push edi
push eax
mov eax, dword [esp + 0x34]
mov edx, eax
push 0
push 0
push dword [esp + 0x28]
push dword [eax]
call fcn.0046cf80
mov ecx, dword [esp + 0x40]
add esp, 0x24
mov edx, edi
call fcn.00437e80
mov edi, dword [esp + 0xc]
mov edx, 7
push esi
push edi
mov esi, ecx
call fcn.00437870
mov edx, dword [esp + 0x40]
mov ecx, esi
call fcn.00437e80
push 0
push edi
mov edx, 0x6d
call fcn.00437870
add esp, 0x10
jmp 0x46fc1f
lea eax, [edi + 0x14]
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x38], eax
cmp dword [esp + 0x34], eax
jle 0x4702a5
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
push eax
mov edx, esi
mov ecx, edi
call fcn.0046f160
mov ecx, dword [esp + 0x30]
add esp, 4
mov dword [ecx], eax
test eax, eax
jne 0x470287
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 8]
mov dword [ecx], eax
mov eax, dword [esp + 0x38]
add ecx, 4
inc eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], eax
cmp eax, dword [esp + 0x34]
jl 0x470267
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x20]
nop dword [eax]
add eax, 0x14
mov dword [esp + 0x38], 0
mov dword [esp + 0x2c], eax
nop
mov eax, dword [eax]
test eax, eax
js 0x47034e
mov ecx, dword [esi]
cmp byte [ecx + 0x45], 0
je 0x4702d9
mov ecx, 0x520b44
jmp 0x4702e2
mov ecx, dword [esi + 4]
lea edx, [eax + eax*4]
lea ecx, [ecx + edx*4]
mov edx, dword [esp + 0x34]
mov dword [ecx + 8], edx
inc dword [edi]
mov ecx, dword [esi]
cmp byte [ecx + 0x45], 0
je 0x470303
push edi
mov edx, 0xfffffffa
call fcn.004381b0
add esp, 4
jmp 0x47032b
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x470324
push 0xfffffffffffffffa
push edi
mov edx, eax
mov ecx, esi
call fcn.004383e0
add esp, 8
jmp 0x47032b
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0xfa
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
inc ecx
mov dword [esp + 0x38], ecx
mov dword [eax], 0xffffffff
add eax, 4
mov dword [esp + 0x2c], eax
cmp ecx, 2
jl 0x4702c0
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x4702b0
add dword [edi], 0xffffffff
jne 0x47036f
push edi
call fcn.004184e0
add esp, 4
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x48]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x47039e
push 1
mov edx, eax
mov ecx, edi
call fcn.0046bfb0
add esp, 4
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret