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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xf4
mov eax, dword [0x5b31c8]
xor eax, esp
mov dword [esp + 0xf0], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x3c], eax
xor ecx, ecx
mov dword [esp + 0x68], edi
inc ecx
mov esi, edx
mov dword [esp + 0x6c], esi
mov eax, dword [edi + 0x22c]
mov dword [esp + 0xa8], eax
mov eax, dword [edi + 0x230]
mov dword [edi + 0x22c], eax
inc eax
mov dword [edi + 0x230], eax
mov eax, dword [edi]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], eax
test esi, esi
je 0x4e0d24
cmp byte [eax + 0x1e], 0
jne 0x4e0d24
xor ebx, ebx
cmp dword [edi + 0x40], ebx
jne 0x4e0d24
push ebx
push ebx
push ebx
push 0x15
pop edx
mov ecx, edi
call fcn.004cfe40
add esp, 0xc
test eax, eax
je 0x4dfe34
lea eax, [ebx + 1]
jmp 0x4e0d26
push 0x2c
lea eax, [esp + 0x80]
push ebx
push eax
call sub.MSVCR120.dll_memset
mov ecx, dword [esp + 0x48]
add esp, 0xc
cmp byte [ecx], 4
ja 0x4dfe68
mov edx, dword [esi + 0x18]
mov ecx, dword [esp + 0x14]
call fcn.004cb847
mov eax, 0xfffe
mov dword [esi + 0x18], ebx
and word [esi + 6], ax
push ebx
mov edx, esi
mov ecx, edi
call fcn.004df9d8
mov eax, dword [esi + 0x18]
mov edx, dword [esi]
pop ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], edx
cmp dword [edi + 0x40], ebx
jne 0x4e0d00
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x1e], bl
jne 0x4e0d0c
movzx eax, word [esi + 6]
mov ecx, edi
shr eax, 2
and eax, 1
mov dword [esp + 0x54], eax
call fcn.004dd747
mov dword [esp + 0xc], eax
test eax, eax
je 0x4dfee5
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x3c]
cmp dword [ecx], 1
movzx eax, byte [edx]
jle 0x4dff3f
cmp eax, 6
je 0x4dfed8
cmp eax, 7
jne 0x4dff3f
push str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
push edi
call fcn.004aec80
pop ecx
pop ecx
mov esi, dword [esp + 0x14]
xor ebx, ebx
inc ebx
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xa8]
mov dword [edi + 0x22c], eax
test ebx, ebx
jne 0x4dff19
mov eax, dword [esp + 0x3c]
cmp byte [eax], 5
jne 0x4dff19
push edx
mov edx, ecx
mov ecx, edi
call fcn.004dd2aa
pop ecx
push dword [esp + 0x8c]
push esi
call fcn.004ad0fb
push dword [esp + 0xa4]
push esi
call fcn.004ad0fb
mov eax, dword [esp + 0x38]
add esp, 0x10
jmp 0x4e0d26
mov ecx, ebx
mov dword [esp + 0x2c], ebx
cmp dword [esi + 0x1c], ebx
jne 0x4e00bb
mov eax, dword [esp + 0x10]
movsx eax, word [eax]
cmp ecx, eax
jge 0x4e00bb
mov edx, dword [esp + 0x10]
imul eax, ecx, 0x38
mov dword [esp + 0x24], eax
mov edx, dword [eax + edx + 0x18]
mov dword [esp + 0x4c], edx
test edx, edx
je 0x4e00a5
mov edx, dword [esp + 0x10]
cmp byte [eax + edx + 0x1c], bl
jne 0x4e00a5
lea edx, [esp + 0x38]
mov dword [esp + 0x38], ebx
mov ecx, esi
call fcn.004cab6d
mov eax, dword [esp + 0x38]
mov edx, esi
add dword [edi + 0x220], eax
mov ecx, edi
mov eax, dword [esp + 0x4c]
movzx eax, word [eax + 6]
shr eax, 2
and eax, 1
push eax
push dword [esp + 0x58]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x34]
push eax
call fcn.004ded5a
add esp, 0xc
test eax, eax
je 0x4dffe7
cmp dword [esp + 0x40], ebx
je 0x4dffde
or word [esi + 6], 4
mov dword [esp + 0x54], 1
or eax, 0xffffffff
mov dword [esp + 0x2c], eax
jmp 0x4e005e
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov eax, dword [ecx + edx + 0x20]
mov dword [esp + 0xf0], eax
mov al, byte [edi + 0x230]
mov word [esp + 0xec], 9
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf8], ebx
mov byte [ecx + edx + 0x1f], al
lea eax, [esp + 0xec]
mov edx, dword [esp + 0x4c]
mov ecx, edi
push eax
call fcn.004dfd9e
mov eax, dword [esp + 0x28]
pop ecx
mov ecx, dword [esp + 0x10]
mov byte [eax + ecx + 0x1c], 1
mov eax, dword [esp + 0x4c]
movsd xmm0, qword [eax + 0x48]
call fcn.0054ed71
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + esi + 0x14]
mov esi, dword [esp + 0x6c]
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x1e], bl
jne 0x4e0cf9
lea edx, [esp + 0x38]
mov dword [esp + 0x38], ebx
mov ecx, esi
call fcn.004cab6d
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
sub dword [edi + 0x220], eax
mov eax, dword [esi + 8]
cmp byte [edx], 4
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
jbe 0x4e00ad
mov eax, dword [esi + 0x18]
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], eax
jmp 0x4e00a9
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x2c], ecx
cmp dword [esi + 0x1c], ebx
je 0x4dff52
mov eax, dword [esi]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x34], eax
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x38], eax
movzx eax, word [esi + 6]
mov ecx, eax
and ecx, 1
mov dword [esp + 0x48], ecx
cmp dword [esi + 0x1c], ebx
je 0x4e013b
cmp dword [esi + 0x24], ebx
jne 0x4e011e
mov ecx, ebx
mov eax, esi
mov dword [eax + 0x20], ebx
inc ecx
mov dword [eax + 0x24], esi
mov ebx, eax
mov eax, dword [eax + 0x1c]
test eax, eax
jne 0x4e00f5
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x58], 0
je 0x4e011e
cmp ecx, dword [eax + 0x58]
jle 0x4e011e
push str.too_many_terms_in_compound_SELECT
jmp 0x4dfedd
push edx
mov edx, esi
mov ecx, edi
call fcn.004dd948
pop ecx
mov ecx, dword [esp + 0xa8]
mov dword [edi + 0x22c], ecx
jmp 0x4e0d26
and al, 5
cmp al, 1
jne 0x4e0164
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push ebx
call fcn.004cb38a
mov dword [esp + 0x38], eax
mov dword [esi + 0x10], eax
mov dword [esp + 0x54], eax
mov eax, 0xfffe
and word [esi + 6], ax
pop ecx
mov edx, dword [esp + 0x30]
mov ecx, dword [esi + 0x10]
call fcn.004cda3e
test eax, eax
jne 0x4e0190
mov eax, dword [esp + 0x14]
push 0
pop ecx
test byte [eax + 0xc], 0x20
mov eax, dword [esp + 0x30]
cmove eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], eax
jmp 0x4e0194
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4e01d5
mov edx, eax
mov ecx, edi
call fcn.004dcce0
mov edx, dword [esp + 0x30]
mov ecx, eax
mov eax, dword [edi + 0x44]
push 0xfffffffffffffff0
push ecx
mov ecx, dword [esp + 0x14]
mov dword [edx + 8], eax
inc dword [edi + 0x44]
mov eax, dword [edx]
push ebx
add eax, 2
push eax
push dword [edx + 8]
push 0x29
pop edx
call fcn.004bfc66
add esp, 0x14
mov dword [esp + 0x20], eax
mov dword [esi + 0x40], eax
jmp 0x4e01da
or dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x3c]
cmp byte [eax], 9
jne 0x4e01fc
mov ecx, dword [esp + 0x18]
push ebx
push dword [ecx]
mov ecx, dword [esp + 0x14]
push dword [eax + 4]
push 0x29
pop edx
call fcn.004bfbef
add esp, 0xc
mov ecx, dword [esp + 0xc]
call fcn.004bfcc9
movsd xmm0, qword [0x58f648]
mov edx, esi
push eax
mov ecx, edi
mov dword [esp + 0xb8], eax
movsd qword [esi + 0x48], xmm0
call fcn.004dd77d
test byte [esi + 6], 1
pop ecx
je 0x4e027f
mov eax, dword [edi + 0x44]
mov ecx, edi
mov dword [esp + 0x4c], eax
inc eax
mov dword [edi + 0x44], eax
mov edx, dword [esi]
call fcn.004dcce0
mov ecx, dword [esp + 0xc]
mov esi, eax
push ebx
push ebx
push dword [esp + 0x54]
push 0x29
pop edx
call fcn.004bfbef
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, eax
push 0xfffffffffffffff0
push esi
call fcn.004c0047
mov esi, dword [esp + 0x74]
pop ecx
pop ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 4]
test edx, edx
je 0x4e0288
imul eax, dword [ecx + 0x1c], 0x14
mov byte [eax + edx - 0x11], 0x10
jmp 0x4e0288
or dword [esp + 0x4c], 0xffffffff
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x34]
cmp dword [esp + 0x54], ebx
jne 0x4e0333
test edx, edx
jne 0x4e0337
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x44]
push ebx
push eax
push dword [esp + 0x68]
mov ecx, edi
call fcn.004e79d1
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x38], ecx
test ecx, ecx
je 0x4e0d10
movsd xmm1, qword [ecx + 0x28]
movsd xmm0, qword [esi + 0x48]
comisd xmm0, xmm1
jbe 0x4e02d9
movsd qword [esi + 0x48], xmm1
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x30], eax
test edx, edx
js 0x4e0305
test eax, eax
jne 0x4e0305
mov ecx, dword [esp + 0xc]
push 1
call fcn.004c0000
or dword [esi + 0x40], 0xffffffff
mov eax, dword [esp + 0x34]
pop ecx
mov ecx, dword [esp + 0x38]
push dword [ecx + 0x14]
mov edx, esi
push dword [ecx + 0x10]
mov ecx, dword [esp + 0x44]
push ecx
push 0xffffffffffffffff
push eax
push ebx
push ebx
push dword [esp + 0x34]
mov ecx, edi
call fcn.004dc9a0
mov ecx, dword [esp + 0x58]
add esp, 0x20
call fcn.004e82a7
jmp 0x4e0c9c
test edx, edx
je 0x4e0389
mov eax, dword [esi]
mov edi, dword [eax + 0xc]
mov eax, dword [eax]
test eax, eax
jle 0x4e0356
add edi, 0x10
xor ecx, ecx
dec eax
mov word [edi], cx
lea edi, [edi + 0x14]
test eax, eax
jg 0x4e0345
mov ecx, dword [esp + 0xc]
mov eax, dword [edx]
mov edi, dword [edx + 0xc]
test eax, eax
jle 0x4e036f
lea edx, [edi + 0x10]
xor edi, edi
dec eax
mov word [edx], di
lea edx, [edx + 0x14]
test eax, eax
jg 0x4e0362
movsd xmm0, qword [esi + 0x48]
movsd xmm1, qword [0x58f5c0]
comisd xmm0, xmm1
jbe 0x4e0396
movsd qword [esi + 0x48], xmm1
jmp 0x4e0396
movsd xmm0, qword [0x58f570]
movsd qword [esi + 0x48], xmm0
call fcn.004bfcc9
mov dword [esp + 0x2c], eax
lea edi, [esp + 0xc8]
xor eax, eax
push 9
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x68]
mov dword [esp + 0xcc], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0xc8], edi
mov dword [esp + 0xe4], eax
test ecx, ecx
je 0x4e03e2
mov eax, dword [ecx]
inc eax
mov dword [esp + 0x88], eax
jmp 0x4e03e9
mov dword [esp + 0x88], ebx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x84], ecx
lea ecx, [esp + 0xc8]
call fcn.004cdd1e
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0xc8]
call fcn.004cdd1e
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4e044a
lea ecx, [esp + 0xc8]
mov dword [esp + 0xb8], 0x4cdab1
mov dword [esp + 0xc4], ecx
mov edx, eax
lea ecx, [esp + 0xb8]
mov dword [esp + 0xbc], 0x4cdcf2
call fcn.004c95df
mov eax, dword [esp + 0x90]
mov dword [esp + 0x98], eax
cmp dword [esp + 0xa0], ebx
jle 0x4e0493
mov esi, ebx
mov edi, ebx
mov eax, dword [esp + 0x9c]
lea ecx, [esp + 0xc8]
mov edx, dword [esi + eax]
mov edx, dword [edx + 0x10]
call fcn.004cdd1e
inc edi
lea esi, [esi + 0x10]
cmp edi, dword [esp + 0xa0]
jl 0x4e0465
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x1e], bl
jne 0x4e0cf9
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x4e0a3f
mov eax, dword [edi + 0x44]
mov edx, ecx
mov dword [esp + 0x80], eax
mov ecx, edi
inc eax
mov dword [edi + 0x44], eax
call fcn.004dcce0
mov ecx, dword [esp + 0xc]
push 0xfffffffffffffff0
push eax
push ebx
push dword [esp + 0x94]
mov dword [esp + 0xc0], eax
push dword [esp + 0x90]
push 0x29
pop edx
call fcn.004bfc66
mov ecx, dword [esp + 0x20]
add esp, 0x14
inc dword [edi + 0x48]
mov dword [esp + 0xac], eax
mov eax, dword [edi + 0x48]
mov dword [esp + 0x78], eax
inc eax
mov dword [esp + 0x58], eax
inc eax
mov dword [edi + 0x48], eax
call fcn.004bfcc9
inc dword [edi + 0x48]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x74], eax
mov eax, dword [edi + 0x48]
mov dword [esp + 0x20], eax
call fcn.004bfcc9
mov ecx, dword [edi + 0x48]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x64], eax
push ebx
push dword [esp + 0x5c]
lea eax, [ecx + 1]
add ecx, dword [edx]
mov dword [esp + 0x78], eax
mov dword [edi + 0x48], ecx
push ebx
lea eax, [ecx + 1]
mov dword [esp + 0x30], eax
mov eax, dword [edx]
add eax, ecx
mov ecx, dword [esp + 0x18]
push 7
pop edx
mov dword [edi + 0x48], eax
call fcn.004bfbef
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ebx
push dword [esp + 0x7c]
push ebx
push 7
pop edx
call fcn.004bfbef
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ebx
push dword [esp + 0x68]
push dword [esp + 0x28]
push 2
pop edx
call fcn.004bfbef
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x5c]
add esp, 0xc
mov ecx, edi
push ebx
push eax
push dword [esp + 0x68]
call fcn.004e79d1
add esp, 0xc
mov dword [esp + 0x40], eax
test eax, eax
je 0x4dfee5
mov eax, dword [esp + 0x50]
mov dword [esp + 0x54], eax
test eax, eax
jne 0x4e05d0
mov eax, dword [esi + 0x10]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov dword [esp + 0x60], ebx
jmp 0x4e0792
cmp dword [esp + 0x48], ebx
je 0x4e05e1
test byte [esi + 6], 1
mov edx, str.DISTINCT
je 0x4e05e6
mov edx, str.GROUP_BY
mov ecx, edi
call fcn.004dcda2
mov esi, dword [esp + 0x50]
mov edx, dword [esp + 0x90]
mov dword [esp + 0x60], 1
mov eax, dword [esi]
mov dword [esp + 0x28], eax
inc eax
mov dword [esp + 0x50], eax
mov ecx, eax
mov dword [esp + 0x34], eax
test edx, edx
jle 0x4e062e
mov eax, dword [esp + 0x8c]
add eax, 0xc
cmp dword [eax], ecx
jl 0x4e0628
inc dword [esp + 0x34]
inc ecx
add eax, 0x18
dec edx
jne 0x4e061f
mov edx, dword [esp + 0x34]
mov ecx, edi
call fcn.004cddb8
mov ecx, edi
mov dword [esp + 0x44], eax
call fcn.004cc6d9
push ebx
push dword [esp + 0x48]
mov edx, esi
mov ecx, edi
call fcn.004cd3c8
mov eax, dword [esp + 0x4c]
add eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
push ebx
push eax
push dword [esp + 0x90]
push 0x35
pop edx
call fcn.004bfbef
add esp, 0x14
mov dword [esp + 0x48], ebx
cmp dword [esp + 0x90], ebx
jle 0x4e0710
mov ecx, dword [esp + 0x44]
mov eax, ebx
mov edx, dword [esp + 0x50]
add ecx, edx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x28], ebx
mov esi, dword [esp + 0x8c]
cmp dword [eax + esi + 0xc], edx
mov esi, dword [esp + 0xc]
jl 0x4e06f3
push ecx
mov ecx, dword [esp + 0x90]
push dword [eax + ecx + 4]
mov edx, dword [eax + ecx]
push dword [eax + ecx + 8]
mov ecx, edi
call fcn.004cc657
mov ecx, dword [esp + 0x68]
add esp, 0xc
cmp ecx, eax
je 0x4e06e1
push ebx
push ecx
push eax
push 0xf
pop edx
mov ecx, esi
call fcn.004bfbef
mov ecx, dword [esp + 0x68]
add esp, 0xc
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x28]
inc edx
inc ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x5c], ecx
mov edi, dword [esp + 0x48]
add eax, 0x18
inc edi
mov dword [esp + 0x28], eax
cmp edi, dword [esp + 0x90]
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x68]
jl 0x4e0697
mov ecx, edi
call fcn.004cdd68
mov ecx, dword [esp + 0xc]
mov esi, eax
push esi
push dword [esp + 0x38]
push dword [esp + 0x4c]
push 0x1e
pop edx
call fcn.004bfbef
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ebx
push esi
push dword [esp + 0x88]
push 0x46
pop edx
call fcn.004bfbef
add esp, 0xc
mov edx, esi
mov ecx, edi
call fcn.004cdd84
push dword [esp + 0x34]
mov edx, dword [esp + 0x48]
call fcn.004cdde3
pop ecx
mov ecx, dword [esp + 0x40]
call fcn.004e82a7
mov esi, dword [esp + 0xc]
mov ecx, esi
push ebx
push dword [esp + 0x30]
push dword [esp + 0x88]
push 0x40
pop edx
call fcn.004bfbef
add esp, 0xc
mov byte [esp + 0x7d], 1
mov ecx, edi
call fcn.004cc6d9
mov eax, dword [esi + 0x1c]
mov ecx, edi
mov dword [esp + 0x48], eax
call fcn.004cc6d9
mov edx, dword [esp + 0x54]
mov ecx, ebx
mov dword [esp + 0x28], ecx
cmp dword [edx], ebx
jle 0x4e080a
mov dword [esp + 0x5c], ebx
mov ebx, dword [esp + 0x60]
mov eax, dword [esp + 0x24]
add eax, ecx
push eax
test ebx, ebx
je 0x4e07d8
push ecx
push dword [esp + 0x88]
mov ecx, esi
push 0x1c
pop edx
call fcn.004bfbef
add esp, 0xc
jmp 0x4e07f2
mov eax, dword [esp + 0x60]
mov ecx, edi
mov byte [esp + 0x80], 1
mov edx, dword [edx + 0xc]
mov edx, dword [edx + eax]
call fcn.004cd29c
pop ecx
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x54]
inc ecx
add dword [esp + 0x5c], 0x14
mov dword [esp + 0x28], ecx
cmp ecx, dword [edx]
jl 0x4e07b6
xor ebx, ebx
push 0xfffffffffffffffa
push dword [esp + 0xb4]
mov ecx, esi
push dword [edx]
push dword [esp + 0x30]
push dword [esp + 0x80]
push 0x18
pop edx
call fcn.004bfc66
mov esi, dword [esi + 0x1c]
add esp, 0x14
mov ecx, dword [esp + 0xc]
lea eax, [esi + 1]
push eax
push ebx
push eax
push 0x19
pop edx
call fcn.004bfbef
mov eax, dword [esp + 0x60]
add esp, 0xc
mov edx, dword [esp + 0x24]
mov ecx, edi
push dword [eax]
push dword [esp + 0x74]
call fcn.004cc6fd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x14]
inc eax
push ebx
push dword [esp + 0x80]
push eax
push 2
pop edx
call fcn.004bfbef
mov ecx, dword [esp + 0x20]
add esp, 0x14
push ebx
push dword [esp + 0x30]
push dword [esp + 0x60]
push 0x71
pop edx
call fcn.004bfbef
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ebx
push dword [esp + 0x68]
push dword [esp + 0x28]
push 2
pop edx
call fcn.004bfbef
mov eax, dword [esp + 0x18]
add esp, 0xc
mov edx, esi
mov esi, eax
mov ecx, esi
push dword [eax + 0x1c]
call fcn.004bfe9f
pop ecx
lea edx, [esp + 0x7c]
mov ecx, edi
call fcn.004dfb7c
push ebx
push dword [esp + 0x7c]
mov ecx, esi
push 1
push 7
pop edx
call fcn.004bfbef
add esp, 0xc
cmp dword [esp + 0x60], 0
je 0x4e08fb
push ebx
push dword [esp + 0x4c]
mov ecx, esi
push dword [esp + 0x88]
push 0x43
pop edx
call fcn.004bfbef
add esp, 0xc
jmp 0x4e0915
mov ecx, dword [esp + 0x40]
call fcn.004e82a7
mov edx, dword [esp + 0xac]
mov ecx, esi
push 1
call fcn.004c0000
pop ecx
mov eax, dword [esp + 0x58]
mov ecx, esi
push ebx
push dword [esp + 0x78]
inc eax
push eax
push 2
pop edx
call fcn.004bfbef
add esp, 0xc
xor edx, edx
inc edx
mov ecx, esi
push ebx
push dword [esp + 0x30]
push ebx
call fcn.004bfbef
mov edi, dword [esi + 0x1c]
add esp, 0xc
mov ecx, esi
push ebx
push dword [esp + 0x5c]
push 1
push 7
pop edx
call fcn.004bfbef
mov eax, dword [esp + 0x64]
add esp, 0xc
inc eax
mov ecx, esi
push ebx
push ebx
push eax
push 3
pop edx
call fcn.004bfbef
mov edx, dword [esp + 0x80]
add esp, 0xc
mov ecx, esi
call fcn.004bfd19
mov esi, dword [esi + 0x1c]
push ebx
lea eax, [esi + 2]
push eax
push dword [esp + 0x80]
push 0x71
pop edx
call fcn.004bfbef
mov eax, dword [esp + 0x64]
add esp, 0xc
mov ecx, dword [esp + 0xc]
inc eax
push ebx
push ebx
push eax
push 3
pop edx
call fcn.004bfbef
mov ecx, dword [esp + 0x74]
lea edx, [esp + 0x88]
add esp, 0xc
call fcn.004dfb2b
mov edx, dword [esp + 0x38]
inc esi
mov ecx, dword [esp + 0x68]
push 8
push esi
call fcn.004cd70c
mov ecx, dword [esp + 0x44]
push edi
mov edi, dword [esp + 0x74]
push esi
mov esi, dword [esp + 0x7c]
mov edx, esi
push ecx
push dword [esp + 0x60]
mov ecx, edi
push dword [esp + 0x48]
push ebx
push ebx
push dword [esi]
call fcn.004dc9a0
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x34]
inc eax
push ebx
push ebx
push eax
push 3
pop edx
call fcn.004bfbef
mov edx, dword [esp + 0x98]
add esp, 0x34
mov ecx, dword [esp + 0xc]
call fcn.004bfd19
lea edx, [esp + 0x7c]
mov ecx, edi
call fcn.004dfa51
mov ecx, dword [esp + 0xc]
push ebx
push ebx
push dword [esp + 0x28]
push 3
pop edx
call fcn.004bfbef
add esp, 0xc
jmp 0x4e0c8f
lea edx, [esp + 0x7c]
mov dword [esp + 0x64], ebx
mov ecx, esi
call fcn.004df38b
mov dword [esp + 0x24], eax
test eax, eax
je 0x4e0b70
mov edx, dword [eax + 0x44]
mov ecx, dword [edi]
call fcn.004dbd31
mov edx, dword [esp + 0x24]
mov ecx, eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x20], eax
inc eax
mov dword [edi + 0x44], eax
mov eax, dword [edx + 0x14]
mov edx, ecx
mov dword [esp + 0x40], ecx
mov ecx, edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x70], eax
call fcn.004d32a7
mov eax, dword [esp + 0x24]
mov ecx, edi
mov edx, dword [esp + 0x40]
push dword [eax]
push ebx
push dword [eax + 0x14]
call fcn.004cfec1
mov edx, dword [esp + 0x30]
add esp, 0xc
cmp dword [edx + 0x10], ebx
je 0x4e0af4
mov esi, dword [edx + 0x10]
mov ecx, ebx
test ecx, ecx
je 0x4e0ac3
mov eax, dword [esi + 4]
cmp eax, dword [ecx + 4]
jge 0x4e0ac5
mov ecx, esi
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x4e0ab7
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x48], ecx
test ecx, ecx
je 0x4e0af4
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 8]
jge 0x4e0af4
mov eax, dword [ecx + 0x14]
mov edx, ecx
mov ecx, edi
mov dword [esp + 0x70], eax
call fcn.004d3610
mov dword [esp + 0x28], eax
push dword [esp + 0x40]
mov ecx, dword [esp + 0x10]
push dword [esp + 0x74]
push dword [esp + 0x28]
push 0x26
pop edx
call fcn.004bfbef
mov eax, dword [esp + 0x34]
add esp, 0xc
test eax, eax
je 0x4e0b28
mov ecx, dword [esp + 0xc]
or edx, 0xffffffff
push 0xfffffffffffffff0
push eax
call fcn.004c0047
pop ecx
pop ecx
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0xc]
push ebx
push dword [eax + 8]
push dword [esp + 0x28]
push 0x1f
pop edx
call fcn.004bfbef
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ebx
push ebx
push dword [esp + 0x28]
push 0x2b
pop edx
call fcn.004bfbef
mov edx, dword [esp + 0x30]
add esp, 0xc
mov ecx, edi
push dword [esp + 0x48]
call fcn.004dfd2d
pop ecx
jmp 0x4e0c4c
mov ecx, esi
mov dword [esp + 0x20], ebx
call fcn.004df326
mov byte [esp + 0x1f], al
test al, al
je 0x4e0bc5
mov eax, dword [esi]
mov ecx, dword [esp + 0x14]
push ebx
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
call fcn.004cb38a
mov edx, eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x24], edx
pop ecx
test edx, edx
je 0x4e0bc5
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x1e], bl
jne 0x4e0bc5
mov eax, dword [edx + 0xc]
cmp byte [esp + 0x1f], 1
setne cl
mov byte [eax + 0xc], cl
mov eax, dword [edx + 0xc]
mov eax, dword [eax]
mov byte [eax], 0x98
lea edx, [esp + 0x7c]
mov ecx, edi
call fcn.004dfa51
movzx eax, byte [esp + 0x1f]
mov ecx, edi
mov edx, dword [esp + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x68]
call fcn.004e79d1
add esp, 0xc
mov dword [esp + 0x40], eax
test eax, eax
jne 0x4e0c09
mov esi, dword [esp + 0x14]
mov ecx, esi
mov edx, dword [esp + 0x64]
call fcn.004cb847
jmp 0x4dfee9
lea edx, [esp + 0x7c]
mov ecx, edi
call fcn.004dfb7c
cmp dword [esp + 0x20], ebx
jne 0x4e0c38
cmp byte [esp + 0x1f], bl
je 0x4e0c38
mov eax, dword [esp + 0x40]
xor edx, edx
mov ecx, dword [esp + 0xc]
inc edx
push ebx
push dword [eax + 0x14]
push ebx
call fcn.004bfbef
add esp, 0xc
mov ecx, dword [esp + 0x40]
call fcn.004e82a7
lea edx, [esp + 0x7c]
mov ecx, edi
call fcn.004dfb2b
mov edx, dword [esp + 0x38]
mov ecx, edi
push 8
push dword [esp + 0x30]
mov dword [esp + 0x38], ebx
call fcn.004cd70c
mov eax, dword [esp + 0x34]
mov edx, esi
mov ecx, dword [esp + 0x44]
push eax
push eax
push ecx
push 0xffffffffffffffff
push ebx
push ebx
push ebx
push dword [esi]
mov ecx, edi
call fcn.004dc9a0
mov edx, dword [esp + 0x8c]
add esp, 0x28
mov ecx, dword [esp + 0x14]
call fcn.004cb847
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
call fcn.004bfd19
cmp dword [esp + 0x4c], 0
jl 0x4e0caf
mov edx, str.DISTINCT
mov ecx, edi
call fcn.004dcda2
cmp dword [esp + 0x30], 0
je 0x4e0cdc
mov edx, str.ORDER_BY
mov ecx, edi
call fcn.004dcda2
mov eax, dword [esp + 0x18]
mov edx, esi
push dword [esp + 0x3c]
mov ecx, edi
push dword [eax]
push dword [esp + 0x14]
call fcn.004dce5e
add esp, 0xc
mov edx, dword [esp + 0xb4]
mov ecx, dword [esp + 0xc]
call fcn.004bfd19
mov esi, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
jmp 0x4dfeec
mov esi, eax
jmp 0x4dfee9
mov esi, dword [esp + 0x14]
xor ebx, ebx
inc ebx
jmp 0x4dfef4
mov esi, eax
jmp 0x4e0d1c
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
xor ebx, ebx
inc ebx
jmp 0x4dfef4
mov eax, ecx
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0054e63c
mov esp, ebp
pop ebp
ret