Function at 0x49e088
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 [0x62a3b4]
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 0x49f2d3
cmp byte [eax + 0x36], 0
jne 0x49f2d3
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jne 0x49f2d3
push ebx
push ebx
push ebx
push 0x15
pop edx
call fcn.0048d19d
add esp, 0xc
test eax, eax
jne 0x49f2d3
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 0x49e145
mov edx, dword [edi + 0x38]
mov ecx, dword [esp + 0x38]
call fcn.004885c9
mov eax, 0xfffe
mov dword [edi + 0x38], ebx
and word [edi + 6], ax
push ebx
mov edx, edi
mov ecx, esi
call fcn.0049dc92
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 0x49f29c
mov eax, dword [esp + 0x38]
cmp byte [eax + 0x36], bl
jne 0x49f29c
movzx eax, word [edi + 6]
mov ecx, esi
shr eax, 2
and eax, 1
mov dword [esp + 0x1c], eax
call fcn.0049b629
mov dword [esp + 0xc], eax
test eax, eax
je 0x49f29c
mov eax, dword [esp + 0x14]
mov ecx, esi
mov edx, dword [esp + 0x4c]
push dword [eax]
call fcn.0049a7aa
pop ecx
test eax, eax
jne 0x49f29c
mov ecx, dword [edi + 0x3c]
mov edx, ebx
mov dword [esp + 0x18], ebx
test ecx, ecx
jne 0x49e3bf
mov eax, dword [esp + 0x24]
mov ecx, ebx
movsx eax, word [eax]
cmp edx, eax
jge 0x49e3bf
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 0x49e3ab
mov edx, dword [eax + ecx + 0x1c]
test edx, edx
je 0x49e21e
push ebx
push edx
push dword [eax + ecx + 0x20]
mov ecx, dword [esp + 0x18]
push 2
pop edx
call fcn.0047ac6a
mov edx, dword [esp + 0x24]
add esp, 0xc
jmp 0x49e3ab
mov ecx, edi
call fcn.004878ae
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.0049d052
add esp, 0xc
test eax, eax
je 0x49e276
cmp dword [esp + 0x14], ebx
je 0x49e26a
or word [edi + 6], 4
mov dword [esp + 0x1c], 1
or eax, 0xffffffff
mov dword [esp + 0x18], eax
jmp 0x49e376
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.0047ac6a
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 0x49e2c9
mov ecx, esi
call fcn.00488865
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.0049e088
movsd xmm0, qword [edi + 0x20]
pop ecx
call fcn.005bc470
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 0x49e344
js 0x49e344
mov eax, dword [esp + 0xc]
mov edx, ecx
mov ecx, eax
push dword [eax + 0x1c]
call fcn.0047afd0
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.0047ac6a
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0xc]
push eax
call fcn.0047afb9
pop ecx
mov byte [esi + 0x13], bl
mov dword [esi + 0x3c], ebx
mov eax, dword [esp + 0x38]
cmp byte [eax + 0x36], bl
jne 0x49f2a3
mov ecx, edi
call fcn.004878ae
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 0x49e3af
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 0x49e1cc
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 0x49e440
cmp dword [edi + 0x44], ebx
jne 0x49e423
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 0x49e3f2
mov eax, dword [esp + 0x38]
cmp dword [eax + 0x5c], 0
je 0x49e423
cmp ecx, dword [eax + 0x5c]
jle 0x49e423
push str.too_many_terms_in_compound_SELECT
push esi
call fcn.0046819d
pop ecx
pop ecx
jmp 0x49f2a3
push dword [esp + 0x4c]
mov edx, edi
mov ecx, esi
call fcn.0049b821
pop ecx
mov ecx, dword [esp + 0x6c]
mov dword [esi + 0x1e4], ecx
jmp 0x49f2d6
mov edx, dword [esp + 0x20]
mov ecx, eax
call fcn.0048abd6
mov ecx, dword [esp + 0x20]
test eax, eax
jne 0x49e465
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 0x49e4a2
mov edx, dword [edi]
call fcn.0048abd6
test eax, eax
jne 0x49e49e
mov edx, dword [edi]
mov eax, 0xfffe
mov ecx, dword [esp + 0x38]
and word [edi + 6], ax
push ebx
call fcn.004880dd
pop ecx
mov ecx, ebx
mov dword [edi + 0x30], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], ecx
jmp 0x49e4a2
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x49e4e7
mov edx, ecx
mov ecx, esi
call fcn.0049ab2f
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.0047acf0
add esp, 0x14
mov dword [esp + 0x18], eax
mov dword [edi + 0x18], eax
jmp 0x49e4ec
or dword [esp + 0x18], 0xffffffff
mov ecx, dword [esp + 0x4c]
cmp byte [ecx], 9
jne 0x49e50e
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.0047ac6a
add esp, 0xc
mov ecx, dword [esp + 0xc]
call fcn.0047ad8e
movsd xmm0, qword [0x609cb0]
mov edx, edi
push eax
mov ecx, esi
mov dword [esp + 0xb4], eax
movsd qword [edi + 0x20], xmm0
call fcn.0049b65d
pop ecx
mov ecx, dword [esp + 0xc]
cmp dword [edi + 8], ebx
jne 0x49e556
mov eax, dword [esp + 0x18]
test eax, eax
js 0x49e556
mov edx, eax
call fcn.0047b2e4
mov byte [eax], 0x2b
or word [edi + 6], 0x40
test byte [edi + 6], 1
je 0x49e5b5
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.0049ab2f
mov ecx, dword [esp + 0xc]
mov esi, eax
push ebx
push ebx
push dword [esp + 0x48]
push 0x2a
pop edx
call fcn.0047ac6a
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, eax
mov dword [esp + 0x28], eax
push 0xfffffffffffffff0
push esi
call fcn.0047b19d
mov esi, dword [esp + 0x38]
pop ecx
pop ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 4]
test edx, edx
je 0x49e5bf
imul eax, dword [ecx + 0x1c], 0x14
mov byte [eax + edx - 0x11], 8
jmp 0x49e5bf
or dword [esp + 0x28], 0xffffffff
or dword [esp + 0x40], 0xffffffff
mov edx, dword [esp + 0x2c]
cmp dword [esp + 0x1c], ebx
jne 0x49e7f3
test edx, edx
jne 0x49e7f3
cmp dword [esp + 0x68], ebx
je 0x49e5df
mov eax, dword [edi]
jmp 0x49e5e1
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.004a6b15
add esp, 0x14
mov dword [esp + 0x3c], eax
test eax, eax
je 0x49f29c
movsd xmm1, qword [eax + 0x30]
movsd xmm0, qword [edi + 0x20]
comisd xmm0, xmm1
jbe 0x49e61c
movsd qword [edi + 0x20], xmm1
mov edx, dword [esp + 0x18]
test edx, edx
js 0x49e63b
cmp dword [esp + 0x20], ebx
jne 0x49e63b
mov ecx, dword [esp + 0xc]
call fcn.0047b171
or dword [edi + 0x18], 0xffffffff
mov eax, dword [esp + 0x3c]
mov cl, byte [eax + 8]
mov byte [esp + 0x13], cl
test cl, cl
je 0x49e7c1
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0xc]
call fcn.0047b2e4
or dword [esp + 0x40], 0xffffffff
mov edx, eax
cmp byte [esp + 0x13], 2
jne 0x49e7ba
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.0048a427
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.0047ac6a
mov ecx, dword [esp + 0x48]
add esp, 0x14
mov edi, dword [esp + 0x64]
mov dword [esp + 0x60], ebx
cmp dword [ecx], ebx
jle 0x49e76e
mov edi, dword [esp + 0xc]
mov eax, ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x28], eax
jmp 0x49e700
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 8]
mov ecx, esi
mov edx, dword [eax + edx]
call fcn.00487590
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.0047ac6a
add esp, 0xc
or edx, 0xffffffff
mov ecx, edi
push 0xfffffffffffffffc
push esi
call fcn.0047b19d
pop ecx
pop ecx
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x49e747
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 0x49e6fc
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.0047ac6a
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ebx
push dword [esp + 0x5c]
push ebx
push 7
pop edx
call fcn.0047ac6a
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.0047ac6a
add esp, 0xc
jmp 0x49e7bd
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.0049a7d7
mov ecx, dword [esp + 0x5c]
add esp, 0x20
call fcn.004a7412
jmp 0x49f21d
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x44], ebx
test edx, edx
je 0x49e86d
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 0x49e82e
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 0x49e819
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 0x49e853
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 0x49e842
mov esi, dword [esp + 0x30]
movsd xmm0, qword [edi + 0x20]
movsd xmm1, qword [0x609c28]
comisd xmm0, xmm1
jbe 0x49e87a
movsd qword [edi + 0x20], xmm1
jmp 0x49e87a
movsd xmm0, qword [0x609bc8]
movsd qword [edi + 0x20], xmm0
call fcn.0047ad8e
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 0x49e8d1
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.0048afb3
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0xb4]
call fcn.0048afb3
mov eax, dword [esp + 0x60]
test eax, eax
je 0x49e90e
mov edx, eax
lea ecx, [esp + 0xb4]
call fcn.0048af8a
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xa0], eax
cmp dword [esp + 0xa8], ebx
jle 0x49e977
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.0048afb3
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 0x49e930
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x64]
mov eax, dword [esp + 0x38]
cmp byte [eax + 0x36], bl
jne 0x49f29c
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x49efae
mov eax, dword [esi + 0x48]
mov ecx, esi
mov dword [esp + 0x88], eax
inc eax
mov dword [esi + 0x48], eax
call fcn.0049ab2f
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.0047acf0
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.0047ad8e
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.0047ad8e
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.0047ac6a
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ebx
push dword [esp + 0x54]
push ebx
push 7
pop edx
call fcn.0047ac6a
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.0047ac6a
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ebx
push dword [esp + 0x5c]
push dword [esp + 0x30]
push 2
pop edx
call fcn.0047ac6a
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.004a6b15
add esp, 0x14
mov dword [esp + 0x14], eax
test eax, eax
je 0x49f29c
cmp dword [esp + 0x2c], ebx
jne 0x49eace
mov eax, dword [edi + 0x30]
mov edi, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], ebx
jmp 0x49ecda
cmp dword [esp + 0x68], ebx
je 0x49eadf
test byte [edi + 6], 1
mov edx, str.DISTINCT
je 0x49eae4
mov edx, str.GROUP_BY
mov ecx, esi
call fcn.0049abf3
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 0x49eb46
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 0x49eb24
mov esi, dword [esp + 0x30]
mov dword [esp + 0x54], edx
mov ecx, esi
call fcn.0048b037
mov edi, eax
mov ecx, esi
mov dword [esp + 0x48], edi
call fcn.00489504
mov edx, dword [esp + 0x2c]
mov ecx, esi
push ebx
push edi
call fcn.0048a427
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.0047ac6a
add esp, 0x14
mov dword [esp + 0x5c], ebx
cmp dword [esp + 0x9c], 0
jle 0x49ec27
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 0x49ec0a
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.0048947f
mov edx, dword [esp + 0x78]
add esp, 0x10
cmp edx, eax
je 0x49ebf8
push ebx
push edx
push eax
push 0xf
pop edx
mov ecx, edi
call fcn.0047ac6a
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 0x49ebad
mov ecx, esi
call fcn.0048afe7
mov esi, eax
mov ecx, edi
push esi
push dword [esp + 0x58]
push dword [esp + 0x50]
push 0x1f
pop edx
call fcn.0047ac6a
add esp, 0xc
mov ecx, edi
push ebx
push esi
push dword [esp + 0x90]
push 0x60
pop edx
call fcn.0047ac6a
add esp, 0xc
mov edx, esi
mov esi, dword [esp + 0x30]
mov ecx, esi
call fcn.0048b003
push dword [esp + 0x54]
mov edx, dword [esp + 0x4c]
call fcn.0048b062
pop ecx
mov ecx, dword [esp + 0x14]
call fcn.004a7412
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.0048afe7
push dword [esp + 0x54]
mov ecx, edi
mov dword [esp + 0x48], eax
push eax
push edx
push 0x2c
pop edx
call fcn.0047ac6a
add esp, 0xc
mov ecx, edi
push ebx
push dword [esp + 0x40]
push dword [esp + 0x90]
push 0x46
pop edx
call fcn.0047ac6a
add esp, 0xc
mov byte [esp + 0x85], 1
mov ecx, esi
call fcn.00489504
mov eax, dword [edi + 0x1c]
mov ecx, esi
mov dword [esp + 0x68], eax
call fcn.00489504
cmp dword [esp + 0x1c], 0
je 0x49ed08
push ebx
push dword [esp + 0x48]
mov ecx, edi
push dword [esp + 0x90]
push 0x3e
pop edx
call fcn.0047ac6a
add esp, 0xc
mov edx, dword [esp + 0x2c]
mov ecx, ebx
mov dword [esp + 0x48], ebx
cmp dword [edx], ebx
jle 0x49ed7d
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x78]
add eax, ecx
push eax
test ebx, ebx
je 0x49ed51
push ecx
push dword [esp + 0x64]
mov ecx, edi
push 0x1d
pop edx
call fcn.0047ac6a
mov ecx, dword [esp + 0x54]
add esp, 0xc
test ecx, ecx
jne 0x49ed6e
mov edx, dword [edi + 4]
test edx, edx
je 0x49ed6e
imul eax, dword [edi + 0x1c], 0x14
mov byte [eax + edx - 0x11], 0x20
jmp 0x49ed6e
imul eax, ecx, 0x14
mov ecx, esi
mov byte [esp + 0x88], 1
mov edx, dword [edx + 8]
mov edx, dword [eax + edx]
call fcn.0048a26b
pop ecx
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x2c]
inc ecx
mov dword [esp + 0x48], ecx
cmp ecx, dword [edx]
jl 0x49ed1a
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.0047acf0
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.0047ac6a
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.00489533
mov eax, dword [esp + 0x20]
mov ecx, edi
push ebx
push dword [esp + 0x7c]
inc eax
push eax
push 2
pop edx
call fcn.0047ac6a
add esp, 0x14
mov ecx, edi
push ebx
push dword [esp + 0x40]
push dword [esp + 0x20]
push 0x78
pop edx
call fcn.0047ac6a
add esp, 0xc
mov ecx, edi
push ebx
push dword [esp + 0x5c]
push dword [esp + 0x30]
push 2
pop edx
call fcn.0047ac6a
mov edx, dword [esp + 0x8c]
add esp, 0xc
test edx, edx
js 0x49ee2d
push dword [edi + 0x1c]
mov ecx, edi
call fcn.0047afd0
pop ecx
lea edx, [esp + 0x84]
mov ecx, esi
call fcn.0049de11
push ebx
push dword [esp + 0x54]
mov ecx, edi
push 1
push 7
pop edx
call fcn.0047ac6a
add esp, 0xc
cmp dword [esp + 0x1c], 0
je 0x49ee71
push ebx
push dword [esp + 0x6c]
mov ecx, edi
push dword [esp + 0x90]
push 0x51
pop edx
call fcn.0047ac6a
add esp, 0xc
jmp 0x49ee88
mov ecx, dword [esp + 0x14]
call fcn.004a7412
mov edx, dword [esp + 0xac]
mov ecx, edi
call fcn.0047b171
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.0047ac6a
add esp, 0xc
xor edx, edx
inc edx
mov ecx, edi
push ebx
push dword [esp + 0x40]
push ebx
call fcn.0047ac6a
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.0047ac6a
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.0047ac6a
mov edx, dword [esp + 0x7c]
add esp, 0xc
mov ecx, esi
call fcn.0047adca
mov esi, dword [esi + 0x1c]
push ebx
lea eax, [esi + 2]
push eax
push dword [esp + 0x58]
push 0x78
pop edx
call fcn.0047ac6a
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.0047ac6a
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x90]
add esp, 0xc
call fcn.0049ddc2
mov edx, dword [esp + 0x60]
inc esi
mov ecx, dword [esp + 0x30]
push 8
push esi
call fcn.0048a80f
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.0049a7d7
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
inc eax
push ebx
push ebx
push eax
push 3
pop edx
call fcn.0047ac6a
mov edx, dword [esp + 0x8c]
add esp, 0x34
mov ecx, dword [esp + 0xc]
call fcn.0047adca
lea edx, [esp + 0x84]
mov ecx, esi
call fcn.0049dce4
mov ecx, dword [esp + 0xc]
push ebx
push ebx
push dword [esp + 0x30]
push 3
pop edx
call fcn.0047ac6a
add esp, 0xc
jmp 0x49f210
lea edx, [esp + 0x84]
mov dword [esp + 0x50], ebx
mov ecx, edi
call fcn.0049d5da
mov dword [esp + 0x1c], eax
test eax, eax
je 0x49f0ea
mov ecx, dword [esi]
mov edx, dword [eax + 0x44]
call fcn.00499a90
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.00490875
mov eax, dword [esp + 0x1c]
mov ecx, esi
mov edx, dword [esp + 0x14]
push dword [eax]
push ebx
push dword [eax + 0x14]
call fcn.0048d251
mov edx, dword [esp + 0x28]
add esp, 0xc
mov ecx, dword [edx + 0x10]
test ecx, ecx
je 0x49f06e
mov edi, ebx
cmp byte [ecx + 0x2e], bl
jne 0x49f03b
test edi, edi
je 0x49f039
mov eax, dword [ecx + 0x24]
cmp eax, dword [edi + 0x24]
jge 0x49f03b
mov edi, ecx
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x49f028
mov dword [esp + 0x58], edi
test edi, edi
mov edi, dword [esp + 0x64]
je 0x49f06e
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx + 0x24]
cmp eax, dword [edx + 8]
jge 0x49f06e
mov eax, dword [ecx + 0x28]
mov edx, ecx
mov ecx, esi
mov dword [esp + 0x44], eax
call fcn.00490c04
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.0047ac6a
mov eax, dword [esp + 0x68]
add esp, 0xc
test eax, eax
je 0x49f0a2
mov ecx, dword [esp + 0xc]
or edx, 0xffffffff
push 0xfffffffffffffff0
push eax
call fcn.0047b19d
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.0047ac6a
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ebx
push ebx
push dword [esp + 0x30]
push 0x2d
pop edx
call fcn.0047ac6a
mov edx, dword [esp + 0x28]
add esp, 0xc
mov ecx, esi
push dword [esp + 0x58]
call fcn.0049e019
pop ecx
jmp 0x49f1d1
mov ecx, edi
mov dword [esp + 0x1c], ebx
call fcn.0049d578
mov byte [esp + 0x13], al
test al, al
je 0x49f141
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.004880dd
mov dword [esp + 0x54], eax
mov dword [esp + 0x20], eax
pop ecx
test eax, eax
je 0x49f141
mov ecx, dword [esp + 0x38]
cmp byte [ecx + 0x36], bl
jne 0x49f141
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.0049dce4
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.004a6b15
add esp, 0x14
mov dword [esp + 0x14], eax
test eax, eax
jne 0x49f188
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x38]
call fcn.004885c9
jmp 0x49f2a3
lea edx, [esp + 0x84]
mov ecx, esi
call fcn.0049de11
cmp dword [esp + 0x1c], ebx
jne 0x49f1ba
cmp byte [esp + 0x13], bl
je 0x49f1ba
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.0047ac6a
add esp, 0xc
mov ecx, dword [esp + 0x14]
call fcn.004a7412
lea edx, [esp + 0x84]
mov ecx, esi
call fcn.0049ddc2
mov edx, dword [esp + 0x60]
mov ecx, esi
push 8
push dword [esp + 0x40]
mov dword [esp + 0x28], ebx
call fcn.0048a80f
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.0049a7d7
mov edx, dword [esp + 0x78]
add esp, 0x28
mov ecx, dword [esp + 0x38]
call fcn.004885c9
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0xc]
call fcn.0047adca
cmp dword [esp + 0x40], 0
jl 0x49f230
mov edx, str.DISTINCT
mov ecx, esi
call fcn.0049abf3
cmp dword [esp + 0x20], 0
je 0x49f25d
mov edx, str.ORDER_BY
mov ecx, esi
call fcn.0049abf3
mov eax, dword [esp + 0x34]
mov edx, edi
push dword [esp + 0x4c]
mov ecx, esi
push dword [eax]
push dword [esp + 0x14]
call fcn.0049aca8
add esp, 0xc
mov edx, dword [esp + 0xb0]
mov ecx, dword [esp + 0xc]
call fcn.0047adca
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 0x49f2ad
push dword [esp + 0x34]
mov edx, dword [esp + 0x28]
mov ecx, esi
call fcn.0049b189
mov eax, ebx
pop ecx
mov dword [esp + 0x54], eax
jmp 0x49f2ad
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.00466366
mov edx, dword [esp + 0xa4]
mov ecx, dword [esp + 0x38]
call fcn.00466366
mov eax, dword [esp + 0x54]
jmp 0x49f2d6
xor eax, eax
inc eax
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00542357
mov esp, ebp
pop ebp
ret