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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe4
mov eax, dword [0x4b14c4]
xor eax, esp
mov dword [esp + 0xe0], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0x1e4]
mov dword [esp + 0xac], ecx
mov ecx, dword [ebx + 0x1e8]
mov dword [esp + 0x3c], eax
xor eax, eax
inc eax
mov dword [ebx + 0x1e4], ecx
inc ecx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebx + 0x1e8], ecx
mov ecx, dword [ebx]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x34], ecx
test edi, edi
je 0x45bd97
cmp byte [ecx + 0x38], 0
jne 0x45bd97
cmp dword [ebx + 0x44], 0
jne 0x45bd97
xor eax, eax
push eax
push eax
push eax
push 0x15
mov esi, ebx
call fcn.0044a5a1
add esp, 0x10
test eax, eax
je 0x45acb5
xor eax, eax
inc eax
jmp 0x45bd97
push 0x28
xor esi, esi
lea eax, [esp + 0x90]
push esi
push eax
call fcn.00474d90
mov eax, dword [esp + 0x50]
add esp, 0xc
cmp byte [eax], 4
ja 0x45aced
push dword [edi + 0x38]
push dword [esp + 0x38]
call fcn.004461ab
pop ecx
mov eax, 0xfffe
and word [edi + 6], ax
pop ecx
mov dword [edi + 0x38], esi
push esi
push edi
push ebx
call fcn.0045a85d
mov eax, dword [edi + 0x38]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x54], eax
mov eax, dword [edi]
add esp, 0xc
mov dword [esp + 0x5c], eax
cmp dword [ebx + 0x44], esi
jne 0x45bd45
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x38], 0
jne 0x45bd45
mov esi, edi
movzx eax, word [esi + 6]
shr eax, 2
and eax, 1
mov edi, ebx
mov dword [esp + 0x28], eax
call fcn.004585af
mov dword [esp + 0x10], eax
test eax, eax
je 0x45bd45
mov ecx, dword [esp + 0x5c]
cmp dword [ecx], 1
mov eax, dword [esp + 0x44]
movzx eax, byte [eax]
jle 0x45ad6a
cmp eax, 6
je 0x45ad60
cmp eax, 7
jne 0x45ad6a
push str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
jmp 0x45b111
and dword [esp + 0x38], 0
cmp dword [esi + 0x3c], 0
jne 0x45b0b9
mov eax, dword [esp + 0x48]
movsx eax, word [eax]
cmp dword [esp + 0x38], eax
jge 0x45b0b9
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x48]
imul eax, eax, 0x48
lea edi, [eax + ecx + 8]
mov eax, dword [edi + 0x14]
mov dword [esp + 0x30], eax
test eax, eax
je 0x45b0a5
mov eax, dword [edi + 0x18]
test eax, eax
je 0x45add2
test byte [edi + 0x24], 4
jne 0x45b0a5
push 0
push eax
push dword [edi + 0x1c]
mov eax, dword [esp + 0x1c]
push 2
call fcn.0043904e
add esp, 0x10
jmp 0x45b0a5
mov ecx, dword [esp + 0x20]
and dword [esp + 0x1c], 0
lea eax, [esp + 0x1c]
call fcn.00445419
mov eax, dword [esp + 0x1c]
add dword [ebx + 0x1e0], eax
mov eax, dword [esp + 0x30]
movzx esi, word [eax + 6]
mov eax, dword [esp + 0x20]
shr esi, 2
and esi, 1
push esi
push dword [esp + 0x2c]
push dword [esp + 0x40]
push ebx
call fcn.00459b26
add esp, 0x10
test eax, eax
je 0x45ae35
test esi, esi
je 0x45ae2b
mov eax, dword [esp + 0x20]
or word [eax + 6], 4
mov dword [esp + 0x28], 1
or dword [esp + 0x38], 0xffffffff
jmp 0x45b062
mov eax, dword [esp + 0x48]
cmp word [eax], 1
jne 0x45af8f
mov edx, dword [esp + 0x20]
mov eax, 0x100
mov ecx, eax
test word [edx + 6], cx
jne 0x45af8f
mov ecx, dword [esp + 0x34]
test word [ecx + 0x34], ax
jne 0x45af8f
inc dword [ebx + 0x4c]
mov ecx, dword [ebx + 0x4c]
mov dword [edi + 0x1c], ecx
inc dword [ebx + 0x4c]
mov eax, dword [ebx + 0x4c]
mov dword [esp + 0x3c], eax
or esi, 0xffffffff
mov eax, ebx
call fcn.0044d97c
mov esi, dword [esp + 0x10]
push 1
push esi
call fcn.0043909e
mov eax, dword [edi + 0x2c]
push 0
push 0
push eax
push 0x2c
mov eax, esi
call fcn.0043904e
mov dl, 1
mov ecx, esi
mov dword [esp + 0x30], eax
call fcn.0043934e
mov eax, dword [esp + 0x30]
push 0
push dword [esp + 0x58]
mov dword [edi + 0x18], eax
push 0
push 7
mov eax, esi
call fcn.0043904e
mov dl, 1
mov ecx, esi
call fcn.0043934e
mov eax, dword [edi + 0x1c]
and dword [esp + 0x10c], 0
and dword [esp + 0x110], 0
mov dword [esp + 0x108], eax
mov al, byte [ebx + 0x1e8]
mov word [esp + 0x104], 0xa
mov byte [edi + 0x28], al
lea eax, [esp + 0x104]
push eax
push dword [esp + 0x5c]
push ebx
call fcn.0045ac1d
mov eax, dword [esp + 0x64]
fld qword [eax + 0x20]
add esp, 0x34
call fcn.0048e376
mov ecx, dword [edi + 0x10]
mov dword [ecx + 0x1c], eax
mov eax, dword [esp + 0x18]
or dword [edi + 0x24], 4
cmp dword [esi + 0x1c], eax
jbe 0x45af40
mov ecx, dword [esi + 4]
imul eax, eax, 0x14
mov edx, dword [esp + 0xe4]
mov dword [eax + ecx + 8], edx
mov eax, dword [esp + 0x18]
cmp dword [esi + 0x1c], eax
jbe 0x45af5a
mov ecx, dword [esi + 4]
imul eax, eax, 0x14
mov edx, dword [esp + 0xe8]
mov dword [eax + ecx + 0xc], edx
push 0
push dword [esp + 0x40]
mov eax, esi
push 1
push 7
call fcn.0043904e
push 0
push 0
push dword [edi + 0x1c]
mov eax, esi
push 4
call fcn.0043904e
mov eax, dword [esp + 0x38]
add esp, 0x20
dec eax
mov edx, esi
call fcn.00439360
jmp 0x45b05a
mov eax, dword [ebx + 0x4c]
xor ecx, ecx
inc eax
push ecx
push eax
mov dword [ebx + 0x4c], eax
push ecx
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x1c]
push 7
mov dword [esp + 0x60], ecx
call fcn.0043904e
mov esi, eax
add esp, 0x10
test byte [edi + 0x24], 2
lea eax, [esi + 1]
mov dword [edi + 0x18], eax
jne 0x45afc9
mov eax, ebx
call fcn.004463cf
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x2c]
and dword [esp + 0xe4], 0
and dword [esp + 0xe8], 0
mov dword [esp + 0xe0], eax
mov al, byte [ebx + 0x1e8]
mov word [esp + 0xdc], 9
mov byte [edi + 0x28], al
lea eax, [esp + 0xdc]
push eax
push dword [esp + 0x34]
push ebx
call fcn.0045ac1d
mov eax, dword [esp + 0x3c]
fld qword [eax + 0x20]
add esp, 0xc
call fcn.0048e376
cmp dword [esp + 0x50], 0
mov ecx, dword [edi + 0x10]
mov dword [ecx + 0x1c], eax
je 0x45b031
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x10]
call fcn.00439360
mov edi, dword [edi + 0x1c]
mov eax, dword [esp + 0x10]
push 0
push 0
push edi
push 3
call fcn.0043904e
mov ecx, dword [esp + 0x20]
add esp, 0x10
cmp dword [ecx + 0x1c], esi
jbe 0x45b05a
mov ecx, dword [ecx + 4]
imul esi, esi, 0x14
mov dword [esi + ecx + 4], eax
and dword [ebx + 0x3c], 0
mov byte [ebx + 0x13], 0
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x38], 0
jne 0x45bd45
mov esi, dword [esp + 0x20]
and dword [esp + 0x1c], 0
lea eax, [esp + 0x1c]
mov ecx, esi
call fcn.00445419
mov eax, dword [esp + 0x1c]
sub dword [ebx + 0x1e0], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x44]
cmp byte [eax], 4
jbe 0x45b0a5
mov eax, dword [esi + 0x38]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
inc dword [esp + 0x38]
cmp dword [eax + 0x3c], 0
mov esi, eax
je 0x45ad79
mov eax, dword [esi]
mov edi, dword [esi + 0x30]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 0x50], eax
mov al, byte [esi + 6]
and al, 1
xor edx, edx
mov dword [esp + 0x18], edi
mov byte [esp + 0x7c], al
cmp dword [esi + 0x3c], edx
je 0x45b13e
cmp dword [esi + 0x44], edx
jne 0x45b11e
xor ecx, ecx
mov eax, esi
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], esi
mov ecx, eax
mov eax, dword [eax + 0x3c]
inc edx
test eax, eax
jne 0x45b0ed
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x60]
test eax, eax
je 0x45b11e
cmp edx, eax
jle 0x45b11e
push str.too_many_terms_in_compound_SELECT
push ebx
call fcn.00427a3d
pop ecx
pop ecx
jmp 0x45bd45
push dword [esp + 0x44]
mov edx, esi
mov ecx, ebx
call fcn.00458785
pop ecx
mov ecx, dword [esp + 0xb4]
mov dword [ebx + 0x1e4], ecx
jmp 0x45bd97
mov ebx, dword [esp + 0x2c]
call fcn.00448280
test eax, eax
jne 0x45b15a
mov eax, dword [esp + 0x34]
test byte [eax + 0x34], 4
jne 0x45b15a
and dword [esp + 0x2c], 0
mov esi, dword [esp + 0x20]
mov al, byte [esi + 6]
and al, 5
cmp al, 1
jne 0x45b19a
mov ebx, dword [esi]
mov edi, dword [esp + 0x2c]
call fcn.00448280
test eax, eax
jne 0x45b19a
mov ebx, dword [esi]
push 0
push dword [esp + 0x38]
mov eax, 0xfffe
and word [esi + 6], ax
call fcn.00445cf2
and dword [esp + 0x34], 0
pop ecx
pop ecx
mov dword [esi + 0x30], eax
mov dword [esp + 0x18], eax
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
test ebx, ebx
je 0x45b1db
push ebx
push edi
call fcn.00457ad2
mov ecx, dword [edi + 0x48]
push 0xfffffffffffffff0
push eax
mov dword [ebx + 4], ecx
inc dword [edi + 0x48]
mov eax, dword [ebx]
push 0
add eax, 2
push eax
push dword [ebx + 4]
push 0x2a
push dword [esp + 0x30]
call fcn.004390e5
add esp, 0x24
mov dword [esp + 0x3c], eax
mov dword [esi + 0x18], eax
jmp 0x45b1e0
or dword [esp + 0x3c], 0xffffffff
mov eax, dword [esp + 0x44]
cmp byte [eax], 9
jne 0x45b202
mov ecx, dword [esp + 0x5c]
push 0
push dword [ecx]
push dword [eax + 4]
mov eax, dword [esp + 0x1c]
push 0x2a
call fcn.0043904e
add esp, 0x10
mov eax, dword [esp + 0x10]
call fcn.0043918e
fld qword [0x4a5168]
push eax
fstp qword [esi + 0x20]
mov dword [esp + 0xbc], eax
push esi
mov eax, edi
call fcn.004585d8
cmp dword [esi + 8], 0
pop ecx
pop ecx
jne 0x45b248
cmp dword [esp + 0x3c], 0
jl 0x45b248
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x10]
call fcn.004395e8
mov byte [eax], 0x2b
or word [esi + 6], 0x40
test byte [esi + 6], 1
je 0x45b29d
mov eax, dword [edi + 0x48]
push 0xfffffffffffffff0
mov dword [esp + 0x84], eax
inc eax
push ecx
mov dword [edi + 0x48], eax
push dword [esi]
push edi
call fcn.00457ad2
add esp, 0xc
push eax
push 0
push 0
push dword [esp + 0x90]
push 0x2a
push dword [esp + 0x28]
call fcn.004390e5
mov ecx, dword [esp + 0x2c]
add esp, 0x1c
mov dl, 8
mov dword [esp + 0x84], eax
call fcn.0043934e
mov byte [esp + 0x7d], 3
jmp 0x45b2a2
mov byte [esp + 0x7d], 0
mov edx, dword [esp + 0x18]
xor eax, eax
cmp dword [esp + 0x28], eax
jne 0x45b364
cmp edx, eax
jne 0x45b364
cmp byte [esp + 0x7c], al
je 0x45b2c2
mov eax, dword [esi]
push 0
push 0
push eax
push ebx
push dword [esp + 0x50]
push dword [esp + 0x5c]
push edi
call fcn.0046332c
mov edi, eax
add esp, 0x1c
test edi, edi
je 0x45bd41
fld qword [esi + 0x20]
fcomp qword [edi + 0x30]
fnstsw ax
test ah, 0x41
jne 0x45b2f6
fld qword [edi + 0x30]
fstp qword [esi + 0x20]
mov al, byte [edi + 0xe]
test al, al
je 0x45b301
mov byte [esp + 0x7d], al
test ebx, ebx
je 0x45b316
movzx eax, word [edi + 8]
cmp eax, dword [ebx]
jne 0x45b316
and dword [esp + 0x2c], 0
mov ebx, dword [esp + 0x2c]
cmp dword [esp + 0x3c], 0
jl 0x45b332
test ebx, ebx
jne 0x45b332
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x10]
call fcn.00439489
or dword [esi + 0x18], 0xffffffff
push dword [edi + 0x18]
lea eax, [esp + 0x80]
push dword [edi + 0x14]
push dword [esp + 0x4c]
push eax
push ebx
push 0
push 0
push dword [esp + 0x78]
push esi
push dword [esp + 0x38]
call fcn.00457676
add esp, 0x28
call fcn.00463ba3
jmp 0x45bce4
mov dword [esp + 0x38], eax
mov dword [esp + 0x68], eax
cmp edx, eax
je 0x45b3b9
mov eax, dword [esi]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
test ecx, ecx
jle 0x45b38b
add eax, 0x16
xor ebx, ebx
mov word [eax], bx
dec ecx
add eax, 0x18
test ecx, ecx
jg 0x45b37e
mov eax, dword [edx]
mov ecx, dword [edx + 8]
test eax, eax
jle 0x45b3a4
add ecx, 0x16
xor edx, edx
mov word [ecx], dx
dec eax
add ecx, 0x18
test eax, eax
jg 0x45b397
fld qword [0x4a5090]
fcom qword [esi + 0x20]
fnstsw ax
test ah, 5
jp 0x45b3bd
fstp qword [esi + 0x20]
jmp 0x45b3bf
fld1
jmp 0x45b3b4
fstp st(0)
mov eax, dword [esp + 0x10]
call fcn.0043918e
push 0x20
mov dword [esp + 0x34], eax
xor ebx, ebx
lea eax, [esp + 0xc0]
push ebx
push eax
call fcn.00474d90
mov eax, dword [esp + 0x54]
mov dword [esp + 0xcc], eax
lea eax, [esp + 0x98]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0xbc], edi
cmp eax, ebx
je 0x45b415
mov ecx, dword [eax]
inc ecx
mov dword [esp + 0x98], ecx
jmp 0x45b41c
mov dword [esp + 0x98], ebx
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x9c], eax
lea eax, [esp + 0xbc]
push eax
call fcn.00448609
mov esi, dword [esp + 0x30]
pop ecx
lea eax, [esp + 0xbc]
push eax
call fcn.00448609
pop ecx
cmp dword [esp + 0x50], ebx
je 0x45b460
push dword [esp + 0x50]
lea eax, [esp + 0xc0]
push eax
call fcn.004485d1
pop ecx
pop ecx
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xa8], eax
cmp dword [esp + 0xb0], ebx
jle 0x45b4b1
xor edi, edi
or byte [esp + 0xd8], 8
mov eax, dword [esp + 0xac]
mov eax, dword [eax + edi]
mov esi, dword [eax + 0x10]
lea ecx, [esp + 0xbc]
push ecx
call fcn.00448609
and byte [esp + 0xdc], 0xf7
inc ebx
add edi, 0x10
pop ecx
cmp ebx, dword [esp + 0xb0]
jl 0x45b479
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x38], 0
jne 0x45bd41
mov ebx, dword [esp + 0x18]
xor edi, edi
cmp ebx, edi
je 0x45ba67
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x48]
mov dword [esp + 0x90], eax
inc eax
push ebx
push esi
mov dword [esi + 0x48], eax
call fcn.00457ad2
push 0xfffffffffffffff0
push eax
push edi
push dword [esp + 0xac]
mov dword [esp + 0xa0], eax
push dword [esp + 0xa8]
push 0x2b
push dword [esp + 0x30]
call fcn.004390e5
add esp, 0x24
inc dword [esi + 0x4c]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x58], eax
inc eax
mov dword [esp + 0x54], eax
inc eax
mov dword [esp + 0x6c], eax
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0x10]
call fcn.0043918e
inc dword [esi + 0x4c]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x10]
call fcn.0043918e
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x4c]
lea ecx, [eax + 1]
add eax, dword [ebx]
mov dword [esp + 0x74], ecx
lea ecx, [eax + 1]
push edi
push dword [esp + 0x58]
mov dword [esi + 0x4c], eax
mov dword [esp + 0x80], ecx
mov ecx, dword [ebx]
add ecx, eax
mov eax, dword [esp + 0x18]
push edi
push 7
mov dword [esi + 0x4c], ecx
call fcn.0043904e
mov eax, dword [esp + 0x20]
push edi
push dword [esp + 0x6c]
push edi
push 7
call fcn.0043904e
mov eax, dword [esp + 0x94]
mov ecx, dword [ebx]
lea ecx, [ecx + eax - 1]
push ecx
push eax
mov eax, dword [esp + 0x38]
push edi
push 0xa
call fcn.0043904e
mov eax, dword [esp + 0x40]
push edi
push dword [esp + 0x50]
push dword [esp + 0x74]
push 2
call fcn.0043904e
add esp, 0x40
push edi
push edi
push edi
push ebx
push dword [esp + 0x50]
push dword [esp + 0x5c]
push esi
call fcn.0046332c
add esp, 0x1c
mov dword [esp + 0x70], eax
cmp eax, edi
je 0x45bd41
movzx eax, word [eax + 8]
cmp eax, dword [ebx]
jne 0x45b5f2
and dword [esp + 0x28], edi
jmp 0x45b7c0
cmp byte [esp + 0x7c], 0
je 0x45b608
mov eax, dword [esp + 0x20]
test byte [eax + 6], 1
mov eax, str.DISTINCT
je 0x45b60d
mov eax, str.GROUP_BY
push eax
call fcn.00457b94
mov edi, dword [ebx]
mov edx, dword [esp + 0xa8]
lea eax, [edi + 1]
pop ecx
mov dword [esp + 0x28], 1
mov dword [esp + 0x40], eax
mov dword [esp + 0x18], eax
test edx, edx
jle 0x45b64d
mov ecx, dword [esp + 0xa0]
add ecx, 0xc
cmp dword [ecx], eax
jl 0x45b647
inc dword [esp + 0x18]
inc eax
add ecx, 0x18
dec edx
jne 0x45b63e
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
call fcn.00448683
mov esi, eax
mov eax, ecx
mov dword [esp + 0x68], esi
call fcn.00446f02
push 0
push eax
mov ecx, esi
mov eax, ebx
call fcn.00447baf
push 0
lea eax, [esi + edi]
push eax
push dword [esp + 0xa0]
mov eax, dword [esp + 0x24]
push 0x37
call fcn.0043904e
mov eax, dword [esp + 0x58]
and dword [esp + 0x50], 0
add esp, 0x18
cmp dword [esp + 0xa4], 0
mov dword [esp + 0x4c], eax
jle 0x45b708
add esi, eax
and dword [esp + 0x40], 0
mov eax, dword [esp + 0xa0]
add eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
cmp dword [eax + 0xc], ecx
jl 0x45b6f2
mov edi, dword [esp + 0x14]
push 0
push esi
push dword [eax + 4]
push dword [eax + 8]
push dword [eax]
call fcn.00446e72
add esp, 0x14
cmp esi, eax
je 0x45b6ed
push 0
push esi
push eax
mov eax, dword [esp + 0x1c]
push 0xf
call fcn.0043904e
add esp, 0x10
inc dword [esp + 0x4c]
inc esi
inc dword [esp + 0x38]
mov eax, dword [esp + 0x38]
add dword [esp + 0x40], 0x18
cmp eax, dword [esp + 0xa4]
jl 0x45b6ac
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.00448633
mov edi, eax
mov eax, dword [esp + 0x10]
push edi
push dword [esp + 0x1c]
push dword [esp + 0x70]
push 0x1f
call fcn.0043904e
mov eax, dword [esp + 0x20]
push 0
push edi
push dword [esp + 0xa8]
push 0x60
call fcn.0043904e
mov edx, edi
mov eax, esi
call fcn.0044864f
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x88]
call fcn.004486a7
mov edi, dword [esp + 0x90]
call fcn.00463ba3
mov edx, dword [esi + 0x48]
lea eax, [edx + 1]
mov ecx, esi
mov dword [esp + 0x58], edx
mov dword [esp + 0xb4], edx
mov dword [esi + 0x48], eax
call fcn.00448633
push dword [esp + 0x38]
mov dword [esp + 0x8c], eax
push eax
mov eax, dword [esp + 0x38]
push edx
push 0x2c
call fcn.0043904e
mov eax, dword [esp + 0x40]
push 0
push dword [esp + 0x64]
push dword [esp + 0xc8]
push 0x46
call fcn.0043904e
add esp, 0x40
mov eax, esi
mov byte [esp + 0x8d], 1
call fcn.00446f02
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x14]
call fcn.00446f02
xor edi, edi
cmp dword [esp + 0x28], edi
je 0x45b7f4
push edi
push dword [esp + 0x6c]
mov eax, esi
push dword [esp + 0x98]
push 0x3e
call fcn.0043904e
add esp, 0x10
xor esi, esi
cmp dword [ebx], edi
jle 0x45b850
cmp dword [esp + 0x28], 0
mov eax, dword [esp + 0x78]
je 0x45b82c
add eax, esi
push eax
mov eax, dword [esp + 0x14]
push esi
push dword [esp + 0x40]
push 0x1d
call fcn.0043904e
add esp, 0x10
test esi, esi
jne 0x45b84b
mov ecx, dword [esp + 0x10]
mov dl, 0x20
call fcn.0043934e
jmp 0x45b84b
lea edi, [esi + eax]
mov eax, esi
imul eax, eax, 0x18
mov byte [esp + 0x8c], 1
mov ecx, dword [ebx + 8]
mov eax, dword [eax + ecx]
mov ecx, dword [esp + 0x14]
call fcn.00447a95
inc esi
cmp esi, dword [ebx]
jl 0x45b7fa
mov edi, dword [esp + 0x78]
mov esi, dword [esp + 0x10]
push 0xfffffffffffffffa
push dword [esp + 0x8c]
push dword [ebx]
push edi
push dword [esp + 0x84]
push 0x18
push esi
call fcn.004390e5
mov eax, dword [esi + 0x1c]
add esp, 0x1c
mov dword [esp + 0x88], eax
inc eax
push eax
push 0
push eax
push 0x19
mov eax, esi
call fcn.0043904e
push dword [esp + 0x84]
mov ebx, dword [ebx]
mov eax, dword [esp + 0x28]
call fcn.00446f20
add esp, 0x14
xor edi, edi
push edi
push dword [esp + 0x64]
mov eax, esi
push dword [esp + 0x74]
push 2
call fcn.0043904e
push edi
push dword [esp + 0x44]
mov eax, esi
push dword [esp + 0x6c]
push 0x78
call fcn.0043904e
push edi
push dword [esp + 0x40]
mov eax, esi
push dword [esp + 0x64]
push 2
call fcn.0043904e
mov eax, dword [esp + 0xb8]
mov edx, esi
call fcn.00439360
push dword [esp + 0x44]
lea ebx, [esp + 0xc0]
call fcn.0045a9f0
add esp, 0x34
xor ebx, ebx
push ebx
push dword [esp + 0x5c]
mov eax, esi
push 1
push 7
call fcn.0043904e
add esp, 0x10
cmp dword [esp + 0x28], ebx
je 0x45b931
push ebx
push dword [esp + 0x44]
mov eax, esi
push dword [esp + 0x98]
push 0x51
call fcn.0043904e
add esp, 0x10
jmp 0x45b945
mov edi, dword [esp + 0x70]
call fcn.00463ba3
mov eax, dword [esp + 0x64]
mov edx, esi
call fcn.00439489
push ebx
push dword [esp + 0x64]
mov eax, esi
push dword [esp + 0x74]
push 2
call fcn.0043904e
push ebx
push dword [esp + 0x44]
mov eax, esi
push ebx
push 1
call fcn.0043904e
mov eax, dword [esi + 0x1c]
push ebx
push dword [esp + 0x78]
mov dword [esp + 0x8c], eax
push 1
push 7
mov eax, esi
call fcn.0043904e
push ebx
push ebx
push dword [esp + 0xa4]
mov eax, esi
push 3
call fcn.0043904e
mov edx, dword [esp + 0xa0]
add esp, 0x40
mov ecx, esi
call fcn.004391cb
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x60], eax
push ebx
add eax, 2
push eax
push dword [esp + 0x60]
mov eax, esi
push 0x78
call fcn.0043904e
push ebx
push ebx
push dword [esp + 0x84]
mov eax, esi
push 3
call fcn.0043904e
mov eax, dword [esp + 0x34]
lea edi, [esp + 0xac]
call fcn.0045a9a5
mov edi, dword [esp + 0x80]
push 8
inc edi
push edi
push dword [esp + 0x78]
push dword [esp + 0x40]
call fcn.00447ef3
push dword [esp + 0x94]
lea eax, [esp + 0xb0]
push edi
push dword [esp + 0x7c]
push eax
push dword [esp + 0x6c]
mov eax, dword [esp + 0x64]
push ebx
push ebx
push dword [eax]
push eax
push dword [esp + 0x68]
call fcn.00457676
add esp, 0x58
push ebx
push ebx
push dword [esp + 0x74]
mov eax, esi
push 3
call fcn.0043904e
mov edx, dword [esp + 0x2c]
mov ecx, esi
call fcn.004391cb
push dword [esp + 0x24]
lea edi, [esp + 0xa0]
call fcn.0045a8e3
add esp, 0x14
push ebx
push ebx
push dword [esp + 0x44]
mov eax, esi
push 3
call fcn.0043904e
add esp, 0x10
jmp 0x45bcd5
mov ebx, dword [esp + 0x20]
lea esi, [esp + 0x8c]
mov eax, ebx
mov dword [esp + 0x54], edi
call fcn.0045a0a9
mov dword [esp + 0x28], eax
cmp eax, edi
je 0x45bb95
mov ebx, eax
mov eax, dword [esp + 0x14]
mov esi, dword [ebx + 0x40]
mov ecx, dword [eax]
call fcn.00456a42
mov esi, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x48]
mov dword [esp + 0x58], ecx
inc ecx
mov dword [eax + 0x48], ecx
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x70], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x64], ecx
call fcn.0044d97c
push dword [ebx]
mov ebx, dword [ebx + 0x20]
mov eax, dword [esp + 0x18]
push edi
push esi
call fcn.0044a622
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 8]
xor ebx, ebx
add esp, 0xc
cmp eax, ebx
je 0x45bb24
test byte [eax + 0x2c], 4
jne 0x45baf4
cmp edi, ebx
je 0x45baf2
mov cx, word [eax + 0x28]
cmp cx, word [edi + 0x28]
jae 0x45baf4
mov edi, eax
mov eax, dword [eax + 0x14]
cmp eax, ebx
jne 0x45bade
cmp edi, ebx
je 0x45bb24
mov ecx, dword [esp + 0x28]
movzx eax, word [edi + 0x28]
movsx ecx, word [ecx + 0x26]
cmp eax, ecx
jge 0x45bb24
mov esi, dword [edi + 0x24]
push edi
push dword [esp + 0x18]
call fcn.0044dcab
pop ecx
pop ecx
mov dword [esp + 0x1c], eax
jmp 0x45bb28
mov esi, dword [esp + 0x64]
push dword [esp + 0x70]
push esi
push dword [esp + 0x60]
mov esi, dword [esp + 0x1c]
push 0x27
mov eax, esi
call fcn.0043904e
add esp, 0x10
cmp dword [esp + 0x1c], ebx
je 0x45bb59
push 0xfffffffffffffff0
push dword [esp + 0x20]
or eax, 0xffffffff
push esi
call fcn.004394bc
add esp, 0xc
mov eax, dword [esp + 0xac]
push ebx
push dword [eax + 8]
mov eax, esi
push dword [esp + 0x60]
push 0x20
call fcn.0043904e
push ebx
push ebx
push dword [esp + 0x70]
mov eax, esi
push 0x2d
call fcn.0043904e
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x34]
add esp, 0x20
call fcn.0045abc9
jmp 0x45bc87
xor esi, esi
mov dword [esp + 0x1c], esi
mov byte [esp + 0x27], 0
cmp dword [ebx + 0x34], edi
jne 0x45bbfa
lea edi, [esp + 0x1c]
lea eax, [esp + 0x8c]
call fcn.0045a03d
mov byte [esp + 0x27], al
test al, al
je 0x45bbf6
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x1c]
push esi
push edi
call fcn.00445cf2
mov esi, eax
pop ecx
pop ecx
mov dword [esp + 0x54], esi
test esi, esi
je 0x45bbfa
cmp byte [edi + 0x38], 0
jne 0x45bbfa
cmp byte [esp + 0x27], 1
mov ecx, dword [esi + 8]
setne al
mov byte [ecx + 0xc], al
mov eax, dword [esi + 8]
mov eax, dword [eax]
mov byte [eax], 0x98
jmp 0x45bbfa
mov esi, dword [esp + 0x1c]
push dword [esp + 0x14]
lea edi, [esp + 0x90]
call fcn.0045a8e3
movzx eax, byte [esp + 0x2b]
pop ecx
push 0
push eax
push 0
push esi
push dword [esp + 0x50]
push dword [esp + 0x5c]
push dword [esp + 0x2c]
call fcn.0046332c
mov edi, eax
add esp, 0x1c
test edi, edi
jne 0x45bc44
push dword [esp + 0x54]
push dword [esp + 0x38]
call fcn.004461ab
pop ecx
pop ecx
jmp 0x45bd41
push dword [esp + 0x14]
lea ebx, [esp + 0x90]
call fcn.0045a9f0
xor eax, eax
pop ecx
cmp word [edi + 8], ax
jbe 0x45bc70
push eax
push dword [edi + 0x18]
push eax
mov eax, dword [esp + 0x1c]
push 1
call fcn.0043904e
add esp, 0x10
call fcn.00463ba3
mov eax, dword [esp + 0x14]
lea edi, [esp + 0x8c]
call fcn.0045a9a5
xor ebx, ebx
push 8
push dword [esp + 0x34]
mov dword [esp + 0x34], ebx
push dword [esp + 0x58]
push dword [esp + 0x20]
call fcn.00447ef3
push dword [esp + 0x40]
mov eax, dword [esp + 0x34]
push dword [esp + 0x44]
push dword [esp + 0x5c]
push ebx
push ebx
push ebx
push ebx
push dword [eax]
push eax
push dword [esp + 0x48]
call fcn.00457676
push dword [esp + 0x8c]
push dword [esp + 0x70]
call fcn.004461ab
mov esi, dword [esp + 0x50]
add esp, 0x40
mov edx, dword [esp + 0x30]
mov ecx, esi
call fcn.004391cb
mov ebx, dword [esp + 0x2c]
cmp byte [esp + 0x7d], 3
jne 0x45bcfe
mov esi, dword [esp + 0x14]
push str.DISTINCT
call fcn.00457b94
mov ebx, dword [esp + 0x30]
pop ecx
test ebx, ebx
je 0x45bd2c
mov esi, dword [esp + 0x14]
push str.ORDER_BY
call fcn.00457b94
mov eax, dword [esp + 0x60]
pop ecx
push dword [esp + 0x44]
push dword [eax]
push dword [esp + 0x18]
push dword [esp + 0x2c]
push esi
call fcn.00457c2b
add esp, 0x14
mov edx, dword [esp + 0xb8]
mov ecx, dword [esp + 0x10]
call fcn.004391cb
and dword [esp + 0x4c], 0
mov ebx, dword [esp + 0x14]
cmp dword [esp + 0x4c], 0
mov eax, dword [esp + 0xb4]
mov dword [ebx + 0x1e4], eax
jne 0x45bd73
mov eax, dword [esp + 0x44]
cmp byte [eax], 5
jne 0x45bd73
push dword [esp + 0x5c]
push dword [esp + 0x4c]
push ebx
call fcn.004580ee
add esp, 0xc
mov edx, dword [esp + 0xa0]
mov ecx, dword [esp + 0x34]
call fcn.00425e81
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0x34]
call fcn.00425e81
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0xec]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00474c58
mov esp, ebp
pop ebp
ret