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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
mov eax, dword [0x634254]
xor eax, esp
mov dword [esp + 0xd8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x48], eax
push edi
mov dword [esp + 0x64], edx
mov dword [esp + 0x30], esi
mov eax, dword [esi + 0x1e4]
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 0x1e8]
mov dword [esi + 0x1e4], eax
inc eax
mov dword [esi + 0x1e8], eax
mov eax, dword [esi]
mov dword [esp + 0x54], 1
mov dword [esp + 0x38], eax
test edx, edx
je 0x4a20e0
cmp byte [eax + 0x36], 0
jne 0x4a20e0
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jne 0x4a20e0
push ebx
push ebx
push ebx
push 0x15
pop edx
call fcn.0048ffaa
add esp, 0xc
test eax, eax
jne 0x4a20e0
push 0xa
pop ecx
lea edi, [esp + 0x84]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x64]
cmp byte [eax], 4
ja 0x4a0f52
mov edx, dword [edi + 0x38]
mov ecx, dword [esp + 0x38]
call fcn.0048b3d6
mov eax, 0xfffe
mov dword [edi + 0x38], ebx
and word [edi + 6], ax
push ebx
mov edx, edi
mov ecx, esi
call fcn.004a0a9f
mov eax, dword [edi + 0x38]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x28], eax
mov eax, dword [edi]
pop ecx
mov dword [esp + 0x14], eax
cmp dword [esi + 0x44], ebx
jne 0x4a20a9
mov eax, dword [esp + 0x38]
cmp byte [eax + 0x36], bl
jne 0x4a20a9
movzx eax, word [edi + 6]
mov ecx, esi
shr eax, 2
and eax, 1
mov dword [esp + 0x1c], eax
call fcn.0049e436
mov dword [esp + 0xc], eax
test eax, eax
je 0x4a20a9
mov eax, dword [esp + 0x14]
mov ecx, esi
mov edx, dword [esp + 0x4c]
push dword [eax]
call fcn.0049d5b7
pop ecx
test eax, eax
jne 0x4a20a9
mov ecx, dword [edi + 0x3c]
mov edx, ebx
mov dword [esp + 0x18], ebx
test ecx, ecx
jne 0x4a11cc
mov eax, dword [esp + 0x24]
mov ecx, ebx
movsx eax, word [eax]
cmp edx, eax
jge 0x4a11cc
mov ecx, dword [esp + 0x24]
mov eax, edx
shl eax, 6
mov dword [esp + 0x40], eax
mov esi, dword [eax + ecx + 0x18]
test esi, esi
mov dword [esp + 0x60], esi
mov esi, dword [esp + 0x30]
je 0x4a11b8
mov edx, dword [eax + ecx + 0x1c]
test edx, edx
je 0x4a102b
push ebx
push edx
push dword [eax + ecx + 0x20]
mov ecx, dword [esp + 0x18]
push 2
pop edx
call fcn.0047da7a
mov edx, dword [esp + 0x24]
add esp, 0xc
jmp 0x4a11b8
mov ecx, edi
call fcn.0048a6bb
add dword [esi + 0x1e0], eax
mov edx, edi
mov eax, dword [esp + 0x60]
mov ecx, esi
movzx eax, word [eax + 6]
shr eax, 2
and eax, 1
push eax
push dword [esp + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
push eax
call fcn.0049fe5f
add esp, 0xc
test eax, eax
je 0x4a1083
cmp dword [esp + 0x14], ebx
je 0x4a1077
or word [edi + 6], 4
mov dword [esp + 0x1c], 1
or eax, 0xffffffff
mov dword [esp + 0x18], eax
jmp 0x4a1183
mov eax, dword [esi + 0x4c]
mov edx, dword [esp + 0x40]
inc eax
mov ecx, dword [esp + 0x24]
push ebx
push eax
push ebx
mov dword [esi + 0x4c], eax
mov dword [edx + ecx + 0x20], eax
mov ecx, dword [esp + 0x18]
push 7
pop edx
mov dword [esp + 0x34], ebx
call fcn.0047da7a
mov ecx, dword [esp + 0x4c]
add esp, 0xc
mov edx, dword [esp + 0x24]
mov dword [esp + 0x14], eax
inc eax
mov dword [ecx + edx + 0x1c], eax
cmp byte [ecx + edx + 0x26], bl
jne 0x4a10d6
mov ecx, esi
call fcn.0048b672
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + edx + 0x28]
mov edi, dword [esp + 0x60]
mov dword [esp + 0xd8], eax
mov al, byte [esi + 0x1e8]
mov word [esp + 0xd4], 9
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], ebx
mov byte [ecx + edx + 0x27], al
lea eax, [esp + 0xd4]
push eax
mov edx, edi
mov ecx, esi
call fcn.004a0e95
movsd xmm0, qword [edi + 0x20]
pop ecx
call fcn.005cbf70
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x40]
mov ecx, dword [edx + edi + 0x14]
mov edi, dword [esp + 0x64]
mov dword [ecx + 0x18], eax
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x4a1151
js 0x4a1151
mov eax, dword [esp + 0xc]
mov edx, ecx
mov ecx, eax
push dword [eax + 0x1c]
call fcn.0047dde0
pop ecx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
push ebx
push ebx
push dword [eax + ecx + 0x20]
mov ecx, dword [esp + 0x18]
push 3
pop edx
call fcn.0047da7a
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0xc]
push eax
call fcn.0047ddc9
pop ecx
mov byte [esi + 0x13], bl
mov dword [esi + 0x3c], ebx
mov eax, dword [esp + 0x38]
cmp byte [eax + 0x36], bl
jne 0x4a20b0
mov ecx, edi
call fcn.0048a6bb
mov ecx, dword [esp + 0x4c]
sub dword [esi + 0x1e0], eax
mov eax, dword [edi + 0x28]
mov edx, dword [esp + 0x18]
cmp byte [ecx], 4
mov dword [esp + 0x24], eax
jbe 0x4a11bc
mov eax, dword [edi + 0x38]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [edi + 0x3c]
inc edx
mov dword [esp + 0x18], edx
test ecx, ecx
je 0x4a0fd9
mov edx, dword [edi + 0x34]
mov eax, dword [edi]
mov dword [esp + 0x60], edx
movzx edx, word [edi + 6]
mov dword [esp + 0x34], eax
and edx, 1
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0x30]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x68], edx
test ecx, ecx
je 0x4a124d
cmp dword [edi + 0x44], ebx
jne 0x4a1230
mov ecx, ebx
mov eax, edi
mov dword [eax + 0x40], ebx
inc ecx
mov dword [eax + 0x44], edi
mov ebx, eax
mov eax, dword [eax + 0x3c]
test eax, eax
jne 0x4a11ff
mov eax, dword [esp + 0x38]
cmp dword [eax + 0x5c], 0
je 0x4a1230
cmp ecx, dword [eax + 0x5c]
jle 0x4a1230
push str.too_many_terms_in_compound_SELECT
push esi
call fcn.0046afad
pop ecx
pop ecx
jmp 0x4a20b0
push dword [esp + 0x4c]
mov edx, edi
mov ecx, esi
call fcn.0049e62e
pop ecx
mov ecx, dword [esp + 0x6c]
mov dword [esi + 0x1e4], ecx
jmp 0x4a20e3
mov edx, dword [esp + 0x20]
mov ecx, eax
call fcn.0048d9e3
mov ecx, dword [esp + 0x20]
test eax, eax
jne 0x4a1272
mov eax, dword [esp + 0x38]
push 0
test byte [eax + 0x18], 0x20
pop eax
cmove ecx, eax
mov dword [esp + 0x20], ecx
mov al, byte [edi + 6]
and al, 5
cmp al, 1
jne 0x4a12af
mov edx, dword [edi]
call fcn.0048d9e3
test eax, eax
jne 0x4a12ab
mov edx, dword [edi]
mov eax, 0xfffe
mov ecx, dword [esp + 0x38]
and word [edi + 6], ax
push ebx
call fcn.0048aeea
pop ecx
mov ecx, ebx
mov dword [edi + 0x30], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], ecx
jmp 0x4a12af
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4a12f4
mov edx, ecx
mov ecx, esi
call fcn.0049d93c
mov ecx, dword [esi + 0x48]
mov edx, eax
mov eax, dword [esp + 0x20]
push 0xfffffffffffffff0
push edx
push ebx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x2c]
inc dword [esi + 0x48]
mov eax, dword [ecx]
add eax, 2
push eax
push dword [ecx + 4]
mov ecx, dword [esp + 0x20]
push 0x2a
pop edx
call fcn.0047db00
add esp, 0x14
mov dword [esp + 0x18], eax
mov dword [edi + 0x18], eax
jmp 0x4a12f9
or dword [esp + 0x18], 0xffffffff
mov ecx, dword [esp + 0x4c]
cmp byte [ecx], 9
jne 0x4a131b
mov eax, dword [esp + 0x34]
push ebx
push dword [eax]
push dword [ecx + 4]
mov ecx, dword [esp + 0x18]
push 0x2a
pop edx
call fcn.0047da7a
add esp, 0xc
mov ecx, dword [esp + 0xc]
call fcn.0047db9e
movsd xmm0, qword [0x6156e0]
mov edx, edi
push eax
mov ecx, esi
mov dword [esp + 0xb4], eax
movsd qword [edi + 0x20], xmm0
call fcn.0049e46a
pop ecx
mov ecx, dword [esp + 0xc]
cmp dword [edi + 8], ebx
jne 0x4a1363
mov eax, dword [esp + 0x18]
test eax, eax
js 0x4a1363
mov edx, eax
call fcn.0047e0f4
mov byte [eax], 0x2b
or word [edi + 6], 0x40
test byte [edi + 6], 1
je 0x4a13c2
mov eax, dword [esi + 0x48]
mov ecx, esi
mov dword [esp + 0x40], eax
inc eax
mov dword [esi + 0x48], eax
mov edx, dword [edi]
call fcn.0049d93c
mov ecx, dword [esp + 0xc]
mov esi, eax
push ebx
push ebx
push dword [esp + 0x48]
push 0x2a
pop edx
call fcn.0047da7a
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, eax
mov dword [esp + 0x28], eax
push 0xfffffffffffffff0
push esi
call fcn.0047dfad
mov esi, dword [esp + 0x38]
pop ecx
pop ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 4]
test edx, edx
je 0x4a13cc
imul eax, dword [ecx + 0x1c], 0x14
mov byte [eax + edx - 0x11], 8
jmp 0x4a13cc
or dword [esp + 0x28], 0xffffffff
or dword [esp + 0x40], 0xffffffff
mov edx, dword [esp + 0x2c]
cmp dword [esp + 0x1c], ebx
jne 0x4a1600
test edx, edx
jne 0x4a1600
cmp dword [esp + 0x68], ebx
je 0x4a13ec
mov eax, dword [edi]
jmp 0x4a13ee
mov eax, ebx
mov edx, dword [esp + 0x24]
mov ecx, esi
push ebx
push ebx
push eax
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x58]
call fcn.004a9922
add esp, 0x14
mov dword [esp + 0x3c], eax
test eax, eax
je 0x4a20a9
movsd xmm1, qword [eax + 0x30]
movsd xmm0, qword [edi + 0x20]
comisd xmm0, xmm1
jbe 0x4a1429
movsd qword [edi + 0x20], xmm1
mov edx, dword [esp + 0x18]
test edx, edx
js 0x4a1448
cmp dword [esp + 0x20], ebx
jne 0x4a1448
mov ecx, dword [esp + 0xc]
call fcn.0047df81
or dword [edi + 0x18], 0xffffffff
mov eax, dword [esp + 0x3c]
mov cl, byte [eax + 8]
mov byte [esp + 0x13], cl
test cl, cl
je 0x4a15ce
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0xc]
call fcn.0047e0f4
or dword [esp + 0x40], 0xffffffff
mov edx, eax
cmp byte [esp + 0x13], 2
jne 0x4a15c7
inc dword [esi + 0x4c]
mov ecx, dword [esi + 0x4c]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x58], ecx
lea eax, [ecx + 1]
mov edi, dword [edi]
mov dword [esp + 0x50], eax
add eax, edi
mov dword [esp + 0x70], eax
mov dword [esp + 0x44], edi
lea eax, [ecx + edi*2]
mov dword [esi + 0x4c], eax
xor eax, eax
inc eax
mov dword [edx + 8], ecx
mov dword [edx + 4], eax
push eax
lea eax, [ecx + 1]
mov byte [edx], 7
mov edx, dword [esp + 0x38]
mov ecx, esi
push eax
call fcn.0048d234
mov eax, dword [esp + 0x14]
push ebx
mov ecx, dword [eax + 0x1c]
mov eax, dword [esp + 0x40]
add ecx, 3
mov eax, dword [eax]
add eax, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x68], eax
dec eax
push eax
push dword [esp + 0x68]
push 0x1b
pop edx
call fcn.0047da7a
mov ecx, dword [esp + 0x48]
add esp, 0x14
mov edi, dword [esp + 0x64]
mov dword [esp + 0x60], ebx
cmp dword [ecx], ebx
jle 0x4a157b
mov edi, dword [esp + 0xc]
mov eax, ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x28], eax
jmp 0x4a150d
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 8]
mov ecx, esi
mov edx, dword [eax + edx]
call fcn.0048a39d
mov esi, eax
mov ecx, edi
mov eax, dword [esp + 0x44]
add eax, ebx
push eax
push dword [esp + 0x60]
push ebx
push 0x4b
pop edx
call fcn.0047da7a
add esp, 0xc
or edx, 0xffffffff
mov ecx, edi
push 0xfffffffffffffffc
push esi
call fcn.0047dfad
pop ecx
pop ecx
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4a1554
imul eax, dword [edi + 0x1c], 0x14
mov byte [eax + ecx - 0x11], 0x80
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x28]
inc ecx
mov edx, dword [esp + 0x34]
add eax, 0x14
mov esi, dword [esp + 0x30]
inc ebx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x28], eax
cmp ecx, dword [edx]
jl 0x4a1509
mov edi, dword [esp + 0x64]
xor ebx, ebx
mov ecx, dword [esp + 0x3c]
xor edx, edx
push ebx
inc edx
push dword [ecx + 0x14]
mov ecx, dword [esp + 0x14]
push ebx
call fcn.0047da7a
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ebx
push dword [esp + 0x5c]
push ebx
push 7
pop edx
call fcn.0047da7a
mov eax, dword [esp + 0x40]
add esp, 0xc
mov ecx, dword [esp + 0xc]
push dword [eax]
push dword [esp + 0x74]
push dword [esp + 0x58]
push 0xd
pop edx
call fcn.0047da7a
add esp, 0xc
jmp 0x4a15ca
mov byte [edx], 0x95
mov eax, dword [esp + 0x3c]
push dword [eax + 0x18]
mov edx, edi
mov ecx, esi
push dword [eax + 0x14]
push dword [esp + 0x54]
push dword [esp + 0x4c]
push dword [esp + 0x30]
push ebx
push ebx
push dword [esp + 0x50]
call fcn.0049d5e4
mov ecx, dword [esp + 0x5c]
add esp, 0x20
call fcn.004aa21f
jmp 0x4a202a
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x44], ebx
test edx, edx
je 0x4a167a
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov eax, dword [eax]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x30]
test eax, eax
jle 0x4a163b
mov edx, dword [esp + 0x14]
add edx, 0x10
xor ecx, ecx
dec eax
mov word [edx], cx
lea edx, [edx + 0x14]
test eax, eax
jg 0x4a1626
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
mov eax, dword [edx + 8]
mov dword [esp + 0x14], eax
mov eax, dword [edx]
test eax, eax
jle 0x4a1660
mov edx, dword [esp + 0x14]
add edx, 0x10
xor esi, esi
dec eax
mov word [edx], si
lea edx, [edx + 0x14]
test eax, eax
jg 0x4a164f
mov esi, dword [esp + 0x30]
movsd xmm0, qword [edi + 0x20]
movsd xmm1, qword [0x615660]
comisd xmm0, xmm1
jbe 0x4a1687
movsd qword [edi + 0x20], xmm1
jmp 0x4a1687
movsd xmm0, qword [0x615600]
movsd qword [edi + 0x20], xmm0
call fcn.0047db9e
mov ecx, dword [esp + 0x2c]
xorps xmm0, xmm0
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xb8], eax
lea eax, [esp + 0x84]
mov dword [esp + 0xbc], ebx
movlpd qword [esp + 0xc4], xmm0
movlpd qword [esp + 0xcc], xmm0
mov dword [esp + 0xb4], esi
mov dword [esp + 0xc0], eax
test ecx, ecx
je 0x4a16de
mov eax, dword [ecx]
inc eax
mov dword [esp + 0x90], eax
mov edx, dword [esp + 0x34]
mov dword [esp + 0x94], ecx
lea ecx, [esp + 0xb4]
call fcn.0048ddc0
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0xb4]
call fcn.0048ddc0
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4a171b
mov edx, eax
lea ecx, [esp + 0xb4]
call fcn.0048dd97
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xa0], eax
cmp dword [esp + 0xa8], ebx
jle 0x4a1784
mov al, byte [esp + 0xd0]
mov edi, ebx
mov esi, ebx
or al, 8
lea ecx, [esp + 0xb4]
mov byte [esp + 0xd0], al
mov eax, dword [esp + 0xa4]
mov edx, dword [edi + eax]
mov edx, dword [edx + 0x10]
call fcn.0048ddc0
mov al, byte [esp + 0xd0]
lea edi, [edi + 0x10]
and al, 0xf7
inc esi
mov byte [esp + 0xd0], al
cmp esi, dword [esp + 0xa8]
jl 0x4a173d
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x64]
mov eax, dword [esp + 0x38]
cmp byte [eax + 0x36], bl
jne 0x4a20a9
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x4a1dbb
mov eax, dword [esi + 0x48]
mov ecx, esi
mov dword [esp + 0x88], eax
inc eax
mov dword [esi + 0x48], eax
call fcn.0049d93c
mov ecx, dword [esp + 0xc]
push 0xfffffffffffffff0
push eax
push ebx
push dword [esp + 0x9c]
mov dword [esp + 0x90], eax
push dword [esp + 0x98]
push 0x2b
pop edx
call fcn.0047db00
mov ecx, dword [esp + 0x20]
add esp, 0x14
mov dword [esp + 0xac], eax
mov eax, dword [esi + 0x4c]
inc eax
mov dword [esp + 0x50], eax
inc eax
mov dword [esp + 0x18], eax
inc eax
mov dword [esi + 0x4c], eax
call fcn.0047db9e
inc dword [esi + 0x4c]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x70], eax
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x28], eax
call fcn.0047db9e
mov ecx, dword [esi + 0x4c]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x58], eax
push ebx
push dword [esp + 0x1c]
lea eax, [ecx + 1]
add ecx, dword [edx]
mov dword [esp + 0x7c], eax
mov dword [esi + 0x4c], ecx
push ebx
lea eax, [ecx + 1]
mov dword [esp + 0x84], eax
mov eax, dword [edx]
add eax, ecx
mov ecx, dword [esp + 0x18]
push 7
pop edx
mov dword [esi + 0x4c], eax
call fcn.0047da7a
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ebx
push dword [esp + 0x54]
push ebx
push 7
pop edx
call fcn.0047da7a
mov eax, dword [esp + 0x38]
add esp, 0xc
mov ecx, dword [esp + 0x74]
mov eax, dword [eax]
dec eax
add eax, ecx
push eax
push ecx
mov ecx, dword [esp + 0x14]
push ebx
push 0xa
pop edx
call fcn.0047da7a
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ebx
push dword [esp + 0x5c]
push dword [esp + 0x30]
push 2
pop edx
call fcn.0047da7a
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x38]
add esp, 0xc
mov ecx, esi
push ebx
push ebx
push ebx
push eax
push dword [esp + 0x58]
call fcn.004a9922
add esp, 0x14
mov dword [esp + 0x14], eax
test eax, eax
je 0x4a20a9
cmp dword [esp + 0x2c], ebx
jne 0x4a18db
mov eax, dword [edi + 0x30]
mov edi, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], ebx
jmp 0x4a1ae7
cmp dword [esp + 0x68], ebx
je 0x4a18ec
test byte [edi + 6], 1
mov edx, str.DISTINCT
je 0x4a18f1
mov edx, str.GROUP_BY
mov ecx, esi
call fcn.0049da00
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], 1
mov eax, dword [eax]
mov dword [esp + 0x44], eax
inc eax
mov edx, eax
mov dword [esp + 0x7c], eax
mov edi, eax
mov dword [esp + 0x54], edx
cmp dword [esp + 0x9c], ebx
jle 0x4a1953
mov esi, dword [esp + 0x98]
mov ebx, dword [esp + 0x9c]
add esi, 0xc
cmp dword [esi], edi
lea eax, [edx + 1]
lea esi, [esi + 0x18]
cmovl eax, edx
mov edx, eax
lea eax, [edi + 1]
cmovl eax, edi
mov edi, eax
sub ebx, 1
jne 0x4a1931
mov esi, dword [esp + 0x30]
mov dword [esp + 0x54], edx
mov ecx, esi
call fcn.0048de44
mov edi, eax
mov ecx, esi
mov dword [esp + 0x48], edi
call fcn.0048c311
mov edx, dword [esp + 0x2c]
mov ecx, esi
push ebx
push edi
call fcn.0048d234
mov eax, dword [esp + 0x4c]
push ebx
add eax, edi
mov edi, dword [esp + 0x18]
push eax
push dword [esp + 0x98]
mov ecx, edi
push 0x37
pop edx
call fcn.0047da7a
add esp, 0x14
mov dword [esp + 0x5c], ebx
cmp dword [esp + 0x9c], 0
jle 0x4a1a34
mov edx, dword [esp + 0x48]
mov eax, ebx
mov ecx, dword [esp + 0x7c]
add edx, ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x44], ebx
mov edi, dword [esp + 0x98]
cmp dword [eax + edi + 0xc], ecx
mov edi, dword [esp + 0xc]
jl 0x4a1a17
mov ecx, dword [esp + 0x98]
push ebx
push edx
push dword [eax + ecx + 4]
mov edx, dword [eax + ecx]
push dword [eax + ecx + 8]
mov ecx, esi
call fcn.0048c28c
mov edx, dword [esp + 0x78]
add esp, 0x10
cmp edx, eax
je 0x4a1a05
push ebx
push edx
push eax
push 0xf
pop edx
mov ecx, edi
call fcn.0047da7a
mov edx, dword [esp + 0x74]
add esp, 0xc
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x44]
inc ecx
inc edx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x68], edx
mov esi, dword [esp + 0x5c]
add eax, 0x18
inc esi
mov dword [esp + 0x44], eax
cmp esi, dword [esp + 0x9c]
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 0x30]
jl 0x4a19ba
mov ecx, esi
call fcn.0048ddf4
mov esi, eax
mov ecx, edi
push esi
push dword [esp + 0x58]
push dword [esp + 0x50]
push 0x1f
pop edx
call fcn.0047da7a
add esp, 0xc
mov ecx, edi
push ebx
push esi
push dword [esp + 0x90]
push 0x60
pop edx
call fcn.0047da7a
add esp, 0xc
mov edx, esi
mov esi, dword [esp + 0x30]
mov ecx, esi
call fcn.0048de10
push dword [esp + 0x54]
mov edx, dword [esp + 0x4c]
call fcn.0048de6f
pop ecx
mov ecx, dword [esp + 0x14]
call fcn.004aa21f
mov edx, dword [esi + 0x48]
mov ecx, esi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x8c], edx
lea eax, [edx + 1]
mov dword [esi + 0x48], eax
call fcn.0048ddf4
push dword [esp + 0x54]
mov ecx, edi
mov dword [esp + 0x48], eax
push eax
push edx
push 0x2c
pop edx
call fcn.0047da7a
add esp, 0xc
mov ecx, edi
push ebx
push dword [esp + 0x40]
push dword [esp + 0x90]
push 0x46
pop edx
call fcn.0047da7a
add esp, 0xc
mov byte [esp + 0x85], 1
mov ecx, esi
call fcn.0048c311
mov eax, dword [edi + 0x1c]
mov ecx, esi
mov dword [esp + 0x68], eax
call fcn.0048c311
cmp dword [esp + 0x1c], 0
je 0x4a1b15
push ebx
push dword [esp + 0x48]
mov ecx, edi
push dword [esp + 0x90]
push 0x3e
pop edx
call fcn.0047da7a
add esp, 0xc
mov edx, dword [esp + 0x2c]
mov ecx, ebx
mov dword [esp + 0x48], ebx
cmp dword [edx], ebx
jle 0x4a1b8a
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x78]
add eax, ecx
push eax
test ebx, ebx
je 0x4a1b5e
push ecx
push dword [esp + 0x64]
mov ecx, edi
push 0x1d
pop edx
call fcn.0047da7a
mov ecx, dword [esp + 0x54]
add esp, 0xc
test ecx, ecx
jne 0x4a1b7b
mov edx, dword [edi + 4]
test edx, edx
je 0x4a1b7b
imul eax, dword [edi + 0x1c], 0x14
mov byte [eax + edx - 0x11], 0x20
jmp 0x4a1b7b
imul eax, ecx, 0x14
mov ecx, esi
mov byte [esp + 0x88], 1
mov edx, dword [edx + 8]
mov edx, dword [eax + edx]
call fcn.0048d078
pop ecx
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x2c]
inc ecx
mov dword [esp + 0x48], ecx
cmp ecx, dword [edx]
jl 0x4a1b27
xor ebx, ebx
push 0xfffffffffffffffa
push dword [esp + 0x84]
mov ecx, edi
push dword [edx]
push dword [esp + 0x84]
push dword [esp + 0x84]
push 0x18
pop edx
call fcn.0047db00
mov eax, dword [edi + 0x1c]
add esp, 0x14
mov dword [esp + 0x80], eax
mov ecx, edi
inc eax
push eax
push ebx
push eax
push 0x19
pop edx
call fcn.0047da7a
mov eax, dword [esp + 0x38]
add esp, 0xc
mov edx, dword [esp + 0x78]
mov ecx, esi
push dword [eax]
push dword [esp + 0x78]
call fcn.0048c340
mov eax, dword [esp + 0x20]
mov ecx, edi
push ebx
push dword [esp + 0x7c]
inc eax
push eax
push 2
pop edx
call fcn.0047da7a
add esp, 0x14
mov ecx, edi
push ebx
push dword [esp + 0x40]
push dword [esp + 0x20]
push 0x78
pop edx
call fcn.0047da7a
add esp, 0xc
mov ecx, edi
push ebx
push dword [esp + 0x5c]
push dword [esp + 0x30]
push 2
pop edx
call fcn.0047da7a
mov edx, dword [esp + 0x8c]
add esp, 0xc
test edx, edx
js 0x4a1c3a
push dword [edi + 0x1c]
mov ecx, edi
call fcn.0047dde0
pop ecx
lea edx, [esp + 0x84]
mov ecx, esi
call fcn.004a0c1e
push ebx
push dword [esp + 0x54]
mov ecx, edi
push 1
push 7
pop edx
call fcn.0047da7a
add esp, 0xc
cmp dword [esp + 0x1c], 0
je 0x4a1c7e
push ebx
push dword [esp + 0x6c]
mov ecx, edi
push dword [esp + 0x90]
push 0x51
pop edx
call fcn.0047da7a
add esp, 0xc
jmp 0x4a1c95
mov ecx, dword [esp + 0x14]
call fcn.004aa21f
mov edx, dword [esp + 0xac]
mov ecx, edi
call fcn.0047df81
mov esi, dword [esp + 0x18]
mov ecx, edi
push ebx
push dword [esp + 0x74]
lea eax, [esi + 1]
push eax
push 2
pop edx
call fcn.0047da7a
add esp, 0xc
xor edx, edx
inc edx
mov ecx, edi
push ebx
push dword [esp + 0x40]
push ebx
call fcn.0047da7a
mov edi, dword [edi + 0x1c]
add esp, 0xc
push ebx
push esi
mov esi, dword [esp + 0x14]
mov ecx, esi
push 1
push 7
pop edx
call fcn.0047da7a
mov eax, dword [esp + 0x24]
add esp, 0xc
inc eax
mov ecx, esi
push ebx
push ebx
push eax
push 3
pop edx
call fcn.0047da7a
mov edx, dword [esp + 0x7c]
add esp, 0xc
mov ecx, esi
call fcn.0047dbda
mov esi, dword [esi + 0x1c]
push ebx
lea eax, [esi + 2]
push eax
push dword [esp + 0x58]
push 0x78
pop edx
call fcn.0047da7a
mov eax, dword [esp + 0x24]
add esp, 0xc
mov ecx, dword [esp + 0xc]
inc eax
push ebx
push ebx
push eax
push 3
pop edx
call fcn.0047da7a
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x90]
add esp, 0xc
call fcn.004a0bcf
mov edx, dword [esp + 0x60]
inc esi
mov ecx, dword [esp + 0x30]
push 8
push esi
call fcn.0048d61c
push edi
mov edi, dword [esp + 0x70]
mov edx, edi
push esi
push dword [esp + 0x5c]
mov esi, dword [esp + 0x44]
mov ecx, esi
push dword [esp + 0x54]
push dword [esp + 0x38]
push ebx
push ebx
push dword [edi]
call fcn.0049d5e4
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
inc eax
push ebx
push ebx
push eax
push 3
pop edx
call fcn.0047da7a
mov edx, dword [esp + 0x8c]
add esp, 0x34
mov ecx, dword [esp + 0xc]
call fcn.0047dbda
lea edx, [esp + 0x84]
mov ecx, esi
call fcn.004a0af1
mov ecx, dword [esp + 0xc]
push ebx
push ebx
push dword [esp + 0x30]
push 3
pop edx
call fcn.0047da7a
add esp, 0xc
jmp 0x4a201d
lea edx, [esp + 0x84]
mov dword [esp + 0x50], ebx
mov ecx, edi
call fcn.004a03e7
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4a1ef7
mov ecx, dword [esi]
mov edx, dword [eax + 0x44]
call fcn.0049c89d
mov edx, dword [esp + 0x1c]
mov ecx, eax
mov eax, dword [esi + 0x48]
mov dword [esp + 0x28], eax
inc eax
mov dword [esi + 0x48], eax
mov eax, dword [edx + 0x14]
mov edx, ecx
mov dword [esp + 0x14], ecx
mov ecx, esi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x44], eax
call fcn.00493682
mov eax, dword [esp + 0x1c]
mov ecx, esi
mov edx, dword [esp + 0x14]
push dword [eax]
push ebx
push dword [eax + 0x14]
call fcn.0049005e
mov edx, dword [esp + 0x28]
add esp, 0xc
mov ecx, dword [edx + 0x10]
test ecx, ecx
je 0x4a1e7b
mov edi, ebx
cmp byte [ecx + 0x2e], bl
jne 0x4a1e48
test edi, edi
je 0x4a1e46
mov eax, dword [ecx + 0x24]
cmp eax, dword [edi + 0x24]
jge 0x4a1e48
mov edi, ecx
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4a1e35
mov dword [esp + 0x58], edi
test edi, edi
mov edi, dword [esp + 0x64]
je 0x4a1e7b
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx + 0x24]
cmp eax, dword [edx + 8]
jge 0x4a1e7b
mov eax, dword [ecx + 0x28]
mov edx, ecx
mov ecx, esi
mov dword [esp + 0x44], eax
call fcn.00493a11
mov dword [esp + 0x5c], eax
push dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push dword [esp + 0x48]
push dword [esp + 0x30]
push 0x27
pop edx
call fcn.0047da7a
mov eax, dword [esp + 0x68]
add esp, 0xc
test eax, eax
je 0x4a1eaf
mov ecx, dword [esp + 0xc]
or edx, 0xffffffff
push 0xfffffffffffffff0
push eax
call fcn.0047dfad
pop ecx
pop ecx
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xc]
push ebx
push dword [eax + 8]
push dword [esp + 0x30]
push 0x20
pop edx
call fcn.0047da7a
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ebx
push ebx
push dword [esp + 0x30]
push 0x2d
pop edx
call fcn.0047da7a
mov edx, dword [esp + 0x28]
add esp, 0xc
mov ecx, esi
push dword [esp + 0x58]
call fcn.004a0e26
pop ecx
jmp 0x4a1fde
mov ecx, edi
mov dword [esp + 0x1c], ebx
call fcn.004a0385
mov byte [esp + 0x13], al
test al, al
je 0x4a1f4e
mov eax, dword [edi]
mov ecx, dword [esp + 0x38]
push ebx
mov eax, dword [eax + 8]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
call fcn.0048aeea
mov dword [esp + 0x54], eax
mov dword [esp + 0x20], eax
pop ecx
test eax, eax
je 0x4a1f4e
mov ecx, dword [esp + 0x38]
cmp byte [ecx + 0x36], bl
jne 0x4a1f4e
mov eax, dword [eax + 8]
cmp byte [esp + 0x13], 1
setne cl
mov byte [eax + 0xc], cl
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov byte [eax], 0x98
lea edx, [esp + 0x84]
mov ecx, esi
call fcn.004a0af1
movzx eax, byte [esp + 0x13]
mov ecx, esi
mov edx, dword [esp + 0x24]
push ebx
push eax
push ebx
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x58]
call fcn.004a9922
add esp, 0x14
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4a1f95
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x38]
call fcn.0048b3d6
jmp 0x4a20b0
lea edx, [esp + 0x84]
mov ecx, esi
call fcn.004a0c1e
cmp dword [esp + 0x1c], ebx
jne 0x4a1fc7
cmp byte [esp + 0x13], bl
je 0x4a1fc7
mov eax, dword [esp + 0x14]
xor edx, edx
mov ecx, dword [esp + 0xc]
inc edx
push ebx
push dword [eax + 0x18]
push ebx
call fcn.0047da7a
add esp, 0xc
mov ecx, dword [esp + 0x14]
call fcn.004aa21f
lea edx, [esp + 0x84]
mov ecx, esi
call fcn.004a0bcf
mov edx, dword [esp + 0x60]
mov ecx, esi
push 8
push dword [esp + 0x40]
mov dword [esp + 0x28], ebx
call fcn.0048d61c
mov eax, dword [esp + 0x44]
mov edx, edi
push eax
push eax
push dword [esp + 0x5c]
mov ecx, esi
push 0xffffffffffffffff
push ebx
push ebx
push ebx
push dword [edi]
call fcn.0049d5e4
mov edx, dword [esp + 0x78]
add esp, 0x28
mov ecx, dword [esp + 0x38]
call fcn.0048b3d6
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0xc]
call fcn.0047dbda
cmp dword [esp + 0x40], 0
jl 0x4a203d
mov edx, str.DISTINCT
mov ecx, esi
call fcn.0049da00
cmp dword [esp + 0x20], 0
je 0x4a206a
mov edx, str.ORDER_BY
mov ecx, esi
call fcn.0049da00
mov eax, dword [esp + 0x34]
mov edx, edi
push dword [esp + 0x4c]
mov ecx, esi
push dword [eax]
push dword [esp + 0x14]
call fcn.0049dab5
add esp, 0xc
mov edx, dword [esp + 0xb0]
mov ecx, dword [esp + 0xc]
call fcn.0047dbda
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x6c]
mov dword [esi + 0x1e4], ecx
mov dword [esp + 0x54], ebx
cmp byte [eax], 5
jne 0x4a20ba
push dword [esp + 0x34]
mov edx, dword [esp + 0x28]
mov ecx, esi
call fcn.0049df96
mov eax, ebx
pop ecx
mov dword [esp + 0x54], eax
jmp 0x4a20ba
xor eax, eax
inc eax
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x6c]
mov dword [esi + 0x1e4], ecx
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0x38]
call fcn.00469176
mov edx, dword [esp + 0xa4]
mov ecx, dword [esp + 0x38]
call fcn.00469176
mov eax, dword [esp + 0x54]
jmp 0x4a20e3
xor eax, eax
inc eax
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0056d855
mov esp, ebp
pop ebp
ret