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

Disassembly:
sub esp, 0x78
xor eax, eax
push ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x88]
push ebp
push esi
mov esi, dword [esp + 0x88]
movups xmm0, xmmword [eax]
push edi
mov edi, dword [ebx + 0x34]
mov ebp, dword [esi + 8]
mov ecx, dword [esi]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x18], ebp
movups xmmword [esp + 0x34], xmm0
movq xmm0, qword [eax + 0x10]
mov eax, dword [eax + 0x18]
movq qword [esp + 0x44], xmm0
mov dword [esp + 0x4c], eax
test ebp, ebp
jne 0x5299b5
cmp dword [esi + 0x80], ebp
jne 0x5299a6
test byte [ecx + 0x50], 8
jne 0x5299a6
mov byte [esi + 0x17], 1
push esi
call fcn.0057f600
add esp, 4
mov dword [esp + 0x18], eax
mov ebp, eax
mov dl, byte [esp + 0x34]
cmp dl, 0xc
jne 0x5299d8
mov ecx, dword [ebx + 0x1c]
push dword [ecx]
push dword [esp + 0x3c]
push 0x76
push ebp
call fcn.0057edd0
mov dl, 0xe
add esp, 0x10
mov byte [esp + 0x34], dl
mov eax, dword [ebx + 4]
test eax, 0x400
je 0x529a1f
mov eax, dword [ebx + 0x3c]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x2c], eax
mov esi, ebx
mov edi, 1
sete cl
cmp dword [ebx + 0x44], 0
jne 0x529a11
nop dword [eax]
mov eax, dword [esi + 0x34]
test eax, eax
je 0x529a68
mov esi, eax
add edi, ecx
cmp dword [esi + 0x44], 0
je 0x529a00
mov edi, dword [esp + 0x28]
mov eax, dword [ebx + 4]
mov esi, dword [esp + 0x8c]
test eax, 0x2000
je 0x529a44
mov eax, ebx
nop dword [eax + eax]
test dword [eax + 4], 0x2000
je 0x529ade
mov eax, dword [eax + 0x34]
test eax, eax
jne 0x529a30
cmp dword [ebx + 0x30], 0
je 0x529af8
mov edx, dword [esp + 0x94]
push edx
push ebx
push esi
call fcn.0052a3d0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret
mov ebp, dword [esp + 0x8c]
mov ecx, 0x61ea20
cmp edi, 1
mov eax, section..rdata
cmovne eax, ecx
push eax
push edi
push str.SCAN__d_CONSTANT_ROW_s
push 0
push ebp
call fcn.00588db0
mov ebx, dword [esp + 0x40]
add esp, 0x14
push 1
push 1
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0xffffffffffffffff
push esi
push ebp
call fcn.0053b640
add esp, 0x20
test ebx, ebx
jne 0x529abd
mov word [esi + 2], di
mov esi, dword [esi + 0x38]
test esi, esi
jne 0x529a95
mov edx, dword [esp + 0x94]
xor ecx, ecx
mov eax, dword [esp + 0x40]
pop edi
pop esi
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x3c]
pop ebp
mov dword [edx + 0x10], eax
mov eax, ecx
pop ebx
add esp, 0x78
ret
lea eax, [esp + 0x34]
push eax
push ebx
push esi
call fcn.0051bbc0
add esp, 0xc
xor eax, eax
mov dword [esp + 0x14], eax
jmp 0x52a147
cmp dword [edi + 0x34], 0
jne 0x529b1f
push str.COMPOUND_QUERY
push 1
push esi
call fcn.00588db0
push str.LEFT_MOST_SUBQUERY
push 1
push esi
call fcn.00588db0
mov dl, byte [esp + 0x4c]
add esp, 0x18
movzx eax, byte [ebx]
sub eax, 0x86
je 0x529f5c
sub eax, 1
je 0x529d29
sub eax, 1
je 0x529f5c
mov esi, dword [esi + 0x28]
mov ecx, dword [esp + 0x8c]
push 0
push esi
lea eax, [esi + 1]
mov dword [esp + 0x30], esi
mov dword [esp + 0x28], eax
inc eax
push 0x76
push ebp
mov dword [ecx + 0x28], eax
call fcn.0057edd0
push ebx
mov dword [ebx + 0x14], eax
call fcn.004fcaf0
or dword [eax + 4], 0x20
lea eax, [esp + 0x64]
push eax
push edi
push dword [esp + 0xa8]
mov byte [esp + 0x70], 1
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
call fcn.005740c0
mov ecx, eax
add esp, 0x20
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x52a321
push eax
lea eax, [esi + 1]
push eax
push 0x76
push ebp
call fcn.0057edd0
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x3c], eax
lea eax, [esi + 1]
mov dword [esp + 0x64], eax
movzx eax, byte [ebx]
push eax
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x3c], 0
call fcn.005776b0
push eax
push str._s_USING_TEMP_B_TREE
push 1
push dword [esp + 0xac]
call fcn.00588db0
lea eax, [esp + 0x74]
push eax
push ebx
push dword [esp + 0xb8]
call fcn.005740c0
mov dword [esp + 0x44], eax
add esp, 0x30
mov eax, dword [ebx + 0x34]
mov dword [esp + 0x24], eax
mov dword [ebx + 0x34], edi
movzx eax, word [edi + 2]
cmp word [ebx + 2], ax
jle 0x529c3c
mov word [ebx + 2], ax
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x529c50
push eax
push dword [esp + 0x20]
call fcn.005514d0
add esp, 8
cmp dword [esp + 0x14], 0
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x3c], eax
jne 0x52a131
mov ecx, dword [esp + 0x8c]
mov ebp, dword [ecx + 0x38]
dec ebp
push ebp
push dword [esp + 0x94]
lea ebx, [ebp - 1]
push ecx
mov dword [ecx + 0x38], ebx
call fcn.004f3340
mov edi, dword [esp + 0x24]
push ebp
push esi
push 0x24
push edi
call fcn.0057edd0
push dword [esp + 0xa8]
call fcn.00560dd0
mov esi, eax
push esi
push dword [esp + 0x4c]
push 0x86
push edi
call fcn.0057edd0
push 0
push esi
push ebx
push dword [esp + 0x5c]
mov edi, eax
push 0x1c
push dword [esp + 0x5c]
call fcn.0057ef60
add esp, 0x48
push esi
push dword [esp + 0x90]
call fcn.00571fa0
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x3c]
push ebp
push ebx
push eax
push 0
push 0
push esi
push dword [esp + 0xb0]
push dword [esp + 0xb0]
call fcn.0053b640
push ebx
mov ebx, dword [esp + 0x44]
push ebx
call fcn.0058c450
push edi
push esi
push 0x27
push ebx
call fcn.0057edd0
add esp, 0x40
push ebp
mov ebp, ebx
push ebp
call fcn.0058c450
push 0
lea eax, [esi + 1]
push eax
push 0x7a
push ebp
call fcn.0057edd0
jmp 0x52a11c
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x3c]
mov dword [edi + 0x3c], eax
lea eax, [esp + 0x34]
push eax
push edi
push esi
call fcn.005740c0
mov ecx, eax
mov dword [edi + 0x3c], 0
add esp, 0xc
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x52a2ef
mov dword [ebx + 0x34], eax
mov ecx, dword [edi + 8]
mov dword [ebx + 8], ecx
mov eax, dword [edi + 0xc]
mov dword [ebx + 0xc], eax
test ecx, ecx
je 0x529da7
push ecx
push 0x11
push ebp
call fcn.0057ed70
mov ecx, dword [ebx + 0xc]
add esp, 0xc
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x529da7
push ecx
inc ecx
push ecx
push dword [ebx + 8]
push 0xa0
push ebp
call fcn.0057ee30
add esp, 0x14
push str.UNION_ALL
push 1
push esi
call fcn.00588db0
lea eax, [esp + 0x40]
push eax
push ebx
push esi
call fcn.005740c0
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x34]
mov dword [esp + 0x3c], eax
mov dword [ebx + 0x34], edi
movzx eax, word [edi + 2]
push eax
movzx eax, word [ebx + 2]
push eax
call fcn.00565ed0
mov ecx, dword [ebx + 0x3c]
add esp, 0x20
mov word [esp + 0x10], ax
mov word [ebx + 2], ax
test ecx, ecx
je 0x529f41
lea eax, [esp + 0x2c]
push eax
push dword [ecx + 0xc]
call fcn.00552220
add esp, 8
test eax, eax
je 0x529f41
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x529f41
cdq
mov edi, 0x28
mov esi, edx
mov ecx, eax
test esi, esi
ja 0x529e60
jb 0x529e38
cmp eax, 8
jae 0x529e54
test esi, esi
ja 0x529e40
jb 0x529e38
cmp eax, 2
jae 0x529e40
xor eax, eax
jmp 0x529ea9
shld esi, eax, 1
sub edi, 0xa
add eax, eax
test esi, esi
jne 0x529e94
cmp eax, 8
jb 0x529e40
jmp 0x529e94
test esi, esi
jne 0x529e60
cmp eax, 0xff
jbe 0x529e77
nop
shrd eax, esi, 4
add edi, 0x28
shr esi, 4
test esi, esi
ja 0x529e60
jb 0x529e80
cmp eax, 0xff
ja 0x529e60
test esi, esi
jne 0x529e80
cmp eax, 0xf
jbe 0x529e94
shrd eax, esi, 1
add edi, 0xa
shr esi, 1
test esi, esi
ja 0x529e80
jb 0x529e94
cmp eax, 0xf
ja 0x529e80
and eax, 7
mov ax, word [eax*2 + 0x646454]
sub ax, 0xa
add ax, di
movzx eax, ax
cmp word [esp + 0x10], ax
jle 0x529f41
mov esi, 0x28
test edx, edx
ja 0x529ef3
jb 0x529ecf
cmp ecx, 8
jae 0x529ee7
test edx, edx
ja 0x529ed3
jb 0x529ecf
cmp ecx, 2
jae 0x529ed3
xor eax, eax
jmp 0x529f3d
shld edx, ecx, 1
sub esi, 0xa
add ecx, ecx
test edx, edx
jne 0x529f28
cmp ecx, 8
jb 0x529ed3
jmp 0x529f28
test edx, edx
jne 0x529ef3
cmp ecx, 0xff
jbe 0x529f0b
shrd ecx, edx, 4
add esi, 0x28
shr edx, 4
test edx, edx
ja 0x529ef3
jb 0x529f14
cmp ecx, 0xff
ja 0x529ef3
test edx, edx
jne 0x529f14
cmp ecx, 0xf
jbe 0x529f28
shrd ecx, edx, 1
add esi, 0xa
shr edx, 1
test edx, edx
ja 0x529f14
jb 0x529f28
cmp ecx, 0xf
ja 0x529f14
and ecx, 7
mov ax, word [ecx*2 + 0x646454]
sub ax, 0xa
add ax, si
movzx eax, ax
mov word [ebx + 2], ax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x52a131
push eax
push ebp
call fcn.00589b40
add esp, 8
jmp 0x52a131
cmp dl, 1
jne 0x529f6b
mov esi, dword [esp + 0x38]
mov dword [esp + 0x20], esi
jmp 0x529f9a
mov esi, dword [esi + 0x28]
mov ecx, dword [esp + 0x8c]
push 0
push esi
lea eax, [esi + 1]
mov dword [esp + 0x28], esi
push 0x76
push ebp
mov dword [ecx + 0x28], eax
call fcn.0057edd0
push ebx
mov dword [ebx + 0x14], eax
call fcn.004fcaf0
add esp, 0x14
or dword [eax + 4], 0x20
lea eax, [esp + 0x6c]
mov byte [esp + 0x6c], 1
push eax
push edi
push dword [esp + 0x94]
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
call fcn.005740c0
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x52a321
cmp byte [ebx], 0x88
mov dword [ebx + 0x34], eax
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x2c], eax
sete al
inc al
mov dword [ebx + 0x3c], ecx
mov byte [esp + 0x6c], al
movzx eax, byte [ebx]
push eax
call fcn.005776b0
push eax
push str._s_USING_TEMP_B_TREE
push 1
push dword [esp + 0x9c]
call fcn.00588db0
lea eax, [esp + 0x80]
push eax
push ebx
push dword [esp + 0xa8]
call fcn.005740c0
add esp, 0x20
mov dword [esp + 0x14], eax
cmp byte [ebx], 0x86
mov eax, dword [ebx + 0x34]
mov dword [esp + 0x24], eax
mov dword [ebx + 0x34], edi
mov dword [ebx + 0x30], 0
jne 0x52a070
movzx eax, word [edi + 2]
push eax
movzx eax, word [ebx + 2]
push eax
call fcn.00565ed0
add esp, 8
mov word [ebx + 2], ax
mov eax, dword [ebx + 0x3c]
mov edi, dword [esp + 0x1c]
test eax, eax
je 0x52a085
push eax
push edi
call fcn.005514d0
add esp, 8
cmp byte [esp + 0x34], 1
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x3c], eax
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
je 0x52a131
cmp byte [edi + 0x57], 0
jne 0x52a131
mov ecx, dword [esp + 0x8c]
mov ebx, dword [ecx + 0x38]
dec ebx
push ebx
push dword [esp + 0x94]
lea edi, [ebx - 1]
push ecx
mov dword [ecx + 0x38], edi
call fcn.004f3340
push ebx
push esi
push 0x24
push ebp
call fcn.0057edd0
mov esi, dword [ebp + 0x6c]
lea eax, [esp + 0x50]
push ebx
push edi
push eax
push 0
push 0
push dword [esp + 0x50]
push dword [esp + 0xc4]
push dword [esp + 0xc4]
call fcn.0053b640
push edi
push ebp
call fcn.0058c450
add esp, 0x44
push esi
mov esi, dword [esp + 0x24]
push esi
push 0x27
push ebp
call fcn.0057edd0
push ebx
push ebp
call fcn.0058c450
push 0
push esi
push 0x7a
push ebp
call fcn.0057edd0
mov ebx, dword [esp + 0xb8]
add esp, 0x28
cmp dword [ebx + 0x38], 0
mov esi, dword [esp + 0x8c]
jne 0x52a147
push esi
call fcn.00588e50
add esp, 4
cmp dword [esi + 0x24], 0
jne 0x52a2eb
test byte [ebx + 4], 0x20
je 0x52a2eb
mov eax, dword [ebx + 0x1c]
push 1
mov eax, dword [eax]
push eax
push dword [esp + 0x24]
mov dword [esp + 0x2c], eax
call fcn.00564950
mov edi, eax
add esp, 0xc
mov dword [esp + 0x30], edi
test edi, edi
jne 0x52a18b
mov ecx, 7
mov dword [esp + 0x14], ecx
jmp 0x52a2ef
mov edx, dword [esp + 0x20]
lea ecx, [edi + 0x14]
xor esi, esi
mov dword [esp + 0x10], ecx
test edx, edx
jle 0x52a212
mov ebp, dword [esp + 0x8c]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x28], esi
nop dword [eax + eax]
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x52a1cc
push esi
push eax
push ebp
call fcn.0052a380
mov ecx, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jne 0x52a1ea
jmp 0x52a1ce
xor eax, eax
mov edx, dword [ebx + 0x1c]
cmp esi, dword [edx]
jge 0x52a1ea
mov eax, dword [esp + 0x28]
push dword [edx + eax + 8]
push ebp
call fcn.00550cd0
mov ecx, dword [esp + 0x18]
add esp, 8
mov dword [ecx], eax
test eax, eax
jne 0x52a1f5
mov eax, dword [edi + 8]
mov dword [ecx], eax
add dword [esp + 0x28], 0x14
inc esi
mov edx, dword [esp + 0x20]
add ecx, 4
mov dword [esp + 0x10], ecx
cmp esi, edx
jl 0x52a1b0
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x28], 0
lea esi, [ebp + 0x68]
add ebx, 0x14
mov eax, dword [ebx]
test eax, eax
js 0x52a2b6
lea ecx, [eax + eax*4]
mov eax, dword [ebp]
shl ecx, 2
cmp byte [eax + 0x57], 0
je 0x52a240
mov eax, 0x64e020
jmp 0x52a244
mov eax, dword [esi]
add eax, ecx
mov dword [eax + 8], edx
mov edx, dword [edi]
lea eax, [edx + 1]
mov dword [edi], eax
mov eax, dword [ebp]
cmp byte [eax + 0x57], 0
je 0x52a277
cmp dword [eax + 0x210], 0
jne 0x52a272
mov dword [edi], edx
test edx, edx
jne 0x52a272
push edi
push dword [edi + 0xc]
call fcn.0054ad00
add esp, 8
lea esi, [ebp + 0x68]
jmp 0x52a297
mov eax, dword [esi]
add eax, ecx
cmp byte [eax + 1], 0
je 0x52a290
push 0xfffffffffffffff8
push edi
push eax
push ebp
call fcn.0059d7a0
add esp, 0x10
jmp 0x52a297
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0xf8
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
inc ecx
mov dword [ebx], 0xffffffff
add ebx, 4
mov dword [esp + 0x28], ecx
cmp ecx, 2
jl 0x52a220
mov ebx, dword [esp + 0x90]
mov edx, dword [esp + 0x20]
mov ebx, dword [ebx + 0x34]
mov dword [esp + 0x90], ebx
test ebx, ebx
jne 0x52a212
add dword [edi], 0xffffffff
jne 0x52a2e4
push edi
push dword [edi + 0xc]
call fcn.0054ad00
add esp, 8
mov esi, dword [esp + 0x8c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x24]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
mov dword [edx + 0x10], eax
test ebx, ebx
je 0x52a36f
mov eax, dword [esi]
push 0
push 0xc
test eax, eax
je 0x52a32a
push eax
call fcn.0054aba0
add esp, 0xc
jmp 0x52a332
mov esi, dword [esp + 0x8c]
jmp 0x52a2ef
call fcn.005660f0
add esp, 8
mov ecx, eax
test ecx, ecx
je 0x52a35e
mov eax, dword [esi + 0x8c]
mov dword [ecx], eax
mov dword [esi + 0x8c], ecx
pop edi
pop esi
mov dword [ecx + 4], ebx
mov dword [ecx + 8], 0x577290
mov ecx, dword [esp + 0xc]
mov eax, ecx
pop ebp
pop ebx
add esp, 0x78
ret
push 1
push ebx
push dword [esi]
call fcn.004f0140
mov ecx, dword [esp + 0x20]
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x78
ret