Function at 0x4e9dc3
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 [0x5ca1c8]
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 0x4ead31
cmp byte [eax + 0x1e], 0
jne 0x4ead31
xor ebx, ebx
cmp dword [edi + 0x40], ebx
jne 0x4ead31
push ebx
push ebx
push ebx
push 0x15
pop edx
mov ecx, edi
call fcn.004d9ecb
add esp, 0xc
test eax, eax
je 0x4e9e59
lea eax, [ebx + 1]
jmp 0x4ead33
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 0x4e9e8d
mov edx, dword [esi + 0x18]
mov ecx, dword [esp + 0x14]
call fcn.004d58ec
mov eax, 0xfffe
mov dword [esi + 0x18], ebx
and word [esi + 6], ax
push ebx
mov edx, esi
mov ecx, edi
call fcn.004e99fd
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 0x4ead0d
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x1e], bl
jne 0x4ead19
movzx eax, word [esi + 6]
mov ecx, edi
shr eax, 2
and eax, 1
mov dword [esp + 0x54], eax
call fcn.004e7786
mov dword [esp + 0xc], eax
test eax, eax
je 0x4e9f0a
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x3c]
cmp dword [ecx], 1
movzx eax, byte [edx]
jle 0x4e9f64
cmp eax, 6
je 0x4e9efd
cmp eax, 7
jne 0x4e9f64
push str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
push edi
call fcn.004b8dec
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 0x4e9f3e
mov eax, dword [esp + 0x3c]
cmp byte [eax], 5
jne 0x4e9f3e
push edx
mov edx, ecx
mov ecx, edi
call fcn.004e72e9
pop ecx
push dword [esp + 0x8c]
push esi
call fcn.004b71f7
push dword [esp + 0xa4]
push esi
call fcn.004b71f7
mov eax, dword [esp + 0x38]
add esp, 0x10
jmp 0x4ead33
mov ecx, ebx
mov dword [esp + 0x2c], ebx
cmp dword [esi + 0x1c], ebx
jne 0x4ea0de
mov eax, dword [esp + 0x10]
movsx eax, word [eax]
cmp ecx, eax
jge 0x4ea0de
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 0x4ea0c8
mov edx, dword [esp + 0x10]
cmp byte [eax + edx + 0x1c], bl
jne 0x4ea0c8
lea edx, [esp + 0x38]
mov dword [esp + 0x38], ebx
mov ecx, esi
call fcn.004d4c12
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.004e8d7f
add esp, 0xc
test eax, eax
je 0x4ea00c
cmp dword [esp + 0x40], ebx
je 0x4ea003
or word [esi + 6], 4
mov dword [esp + 0x54], 1
or eax, 0xffffffff
mov dword [esp + 0x2c], eax
jmp 0x4ea081
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.004e9dc3
mov eax, dword [esp + 0x28]
pop ecx
mov ecx, dword [esp + 0x10]
mov byte [eax + ecx + 0x1c], 1
mov eax, dword [esp + 0x4c]
fld qword [eax + 0x48]
call fcn.00560466
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 0x4ead06
lea edx, [esp + 0x38]
mov dword [esp + 0x38], ebx
mov ecx, esi
call fcn.004d4c12
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 0x4ea0d0
mov eax, dword [esi + 0x18]
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], eax
jmp 0x4ea0cc
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x2c], ecx
cmp dword [esi + 0x1c], ebx
je 0x4e9f77
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 0x4ea15e
cmp dword [esi + 0x24], ebx
jne 0x4ea141
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 0x4ea118
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x58], 0
je 0x4ea141
cmp ecx, dword [eax + 0x58]
jle 0x4ea141
push str.too_many_terms_in_compound_SELECT
jmp 0x4e9f02
push edx
mov edx, esi
mov ecx, edi
call fcn.004e7985
pop ecx
mov ecx, dword [esp + 0xa8]
mov dword [edi + 0x22c], ecx
jmp 0x4ead33
and al, 5
cmp al, 1
jne 0x4ea187
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push ebx
call fcn.004d542f
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.004d7ac9
test eax, eax
jne 0x4ea1b3
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 0x4ea1b7
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4ea1f8
mov edx, eax
mov ecx, edi
call fcn.004e6d1f
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.004c9d47
add esp, 0x14
mov dword [esp + 0x20], eax
mov dword [esi + 0x40], eax
jmp 0x4ea1fd
or dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x3c]
cmp byte [eax], 9
jne 0x4ea21f
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.004c9cd0
add esp, 0xc
mov ecx, dword [esp + 0xc]
call fcn.004c9daa
fld qword [0x5a4a38]
mov edx, esi
push eax
mov ecx, edi
mov dword [esp + 0xb8], eax
fstp qword [esi + 0x48]
call fcn.004e77bc
test byte [esi + 6], 1
pop ecx
je 0x4ea29e
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.004e6d1f
mov ecx, dword [esp + 0xc]
mov esi, eax
push ebx
push ebx
push dword [esp + 0x54]
push 0x29
pop edx
call fcn.004c9cd0
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, eax
push 0xfffffffffffffff0
push esi
call fcn.004ca128
mov esi, dword [esp + 0x74]
pop ecx
pop ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 4]
test edx, edx
je 0x4ea2a7
imul eax, dword [ecx + 0x1c], 0x14
mov byte [eax + edx - 0x11], 0x10
jmp 0x4ea2a7
or dword [esp + 0x4c], 0xffffffff
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x34]
cmp dword [esp + 0x54], ebx
jne 0x4ea34f
test edx, edx
jne 0x4ea353
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x44]
push ebx
push eax
push dword [esp + 0x68]
mov ecx, edi
call fcn.004f1951
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x38], ecx
test ecx, ecx
je 0x4ead1d
fld qword [ecx + 0x28]
fld qword [esi + 0x48]
fcompi st(1)
fstp st(0)
jbe 0x4ea2f5
fld qword [ecx + 0x28]
fstp qword [esi + 0x48]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x30], eax
test edx, edx
js 0x4ea321
test eax, eax
jne 0x4ea321
mov ecx, dword [esp + 0xc]
push 1
call fcn.004ca0e1
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.004e69df
mov ecx, dword [esp + 0x58]
add esp, 0x20
call fcn.004f2225
jmp 0x4eaca9
test edx, edx
je 0x4ea39d
mov eax, dword [esi]
mov edi, dword [eax + 0xc]
mov eax, dword [eax]
test eax, eax
jle 0x4ea372
add edi, 0x10
xor ecx, ecx
dec eax
mov word [edi], cx
lea edi, [edi + 0x14]
test eax, eax
jg 0x4ea361
mov ecx, dword [esp + 0xc]
mov eax, dword [edx]
mov edi, dword [edx + 0xc]
test eax, eax
jle 0x4ea38b
lea edx, [edi + 0x10]
xor edi, edi
dec eax
mov word [edx], di
lea edx, [edx + 0x14]
test eax, eax
jg 0x4ea37e
fld qword [0x5a49a8]
fld qword [esi + 0x48]
fcompi st(1)
jbe 0x4ea3a1
fstp qword [esi + 0x48]
jmp 0x4ea3a3
fld1
jmp 0x4ea398
fstp st(0)
call fcn.004c9daa
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 0x4ea3ef
mov eax, dword [ecx]
inc eax
mov dword [esp + 0x88], eax
jmp 0x4ea3f6
mov dword [esp + 0x88], ebx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x84], ecx
lea ecx, [esp + 0xc8]
call fcn.004d7da9
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0xc8]
call fcn.004d7da9
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4ea457
lea ecx, [esp + 0xc8]
mov dword [esp + 0xb8], 0x4d7b3c
mov dword [esp + 0xc4], ecx
mov edx, eax
lea ecx, [esp + 0xb8]
mov dword [esp + 0xbc], 0x4d7d7d
call fcn.004d3684
mov eax, dword [esp + 0x90]
mov dword [esp + 0x98], eax
cmp dword [esp + 0xa0], ebx
jle 0x4ea4a0
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.004d7da9
inc edi
lea esi, [esi + 0x10]
cmp edi, dword [esp + 0xa0]
jl 0x4ea472
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x1e], bl
jne 0x4ead06
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x4eaa4c
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.004e6d1f
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.004c9d47
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.004c9daa
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.004c9daa
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.004c9cd0
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ebx
push dword [esp + 0x7c]
push ebx
push 7
pop edx
call fcn.004c9cd0
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ebx
push dword [esp + 0x68]
push dword [esp + 0x28]
push 2
pop edx
call fcn.004c9cd0
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.004f1951
add esp, 0xc
mov dword [esp + 0x40], eax
test eax, eax
je 0x4e9f0a
mov eax, dword [esp + 0x50]
mov dword [esp + 0x54], eax
test eax, eax
jne 0x4ea5dd
mov eax, dword [esi + 0x10]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov dword [esp + 0x60], ebx
jmp 0x4ea79f
cmp dword [esp + 0x48], ebx
je 0x4ea5ee
test byte [esi + 6], 1
mov edx, str.DISTINCT
je 0x4ea5f3
mov edx, str.GROUP_BY
mov ecx, edi
call fcn.004e6de1
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 0x4ea63b
mov eax, dword [esp + 0x8c]
add eax, 0xc
cmp dword [eax], ecx
jl 0x4ea635
inc dword [esp + 0x34]
inc ecx
add eax, 0x18
dec edx
jne 0x4ea62c
mov edx, dword [esp + 0x34]
mov ecx, edi
call fcn.004d7e43
mov ecx, edi
mov dword [esp + 0x44], eax
call fcn.004d6764
push ebx
push dword [esp + 0x48]
mov edx, esi
mov ecx, edi
call fcn.004d7453
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.004c9cd0
add esp, 0x14
mov dword [esp + 0x48], ebx
cmp dword [esp + 0x90], ebx
jle 0x4ea71d
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 0x4ea700
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.004d66e2
mov ecx, dword [esp + 0x68]
add esp, 0xc
cmp ecx, eax
je 0x4ea6ee
push ebx
push ecx
push eax
push 0xf
pop edx
mov ecx, esi
call fcn.004c9cd0
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 0x4ea6a4
mov ecx, edi
call fcn.004d7df3
mov ecx, dword [esp + 0xc]
mov esi, eax
push esi
push dword [esp + 0x38]
push dword [esp + 0x4c]
push 0x1e
pop edx
call fcn.004c9cd0
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ebx
push esi
push dword [esp + 0x88]
push 0x46
pop edx
call fcn.004c9cd0
add esp, 0xc
mov edx, esi
mov ecx, edi
call fcn.004d7e0f
push dword [esp + 0x34]
mov edx, dword [esp + 0x48]
call fcn.004d7e6e
pop ecx
mov ecx, dword [esp + 0x40]
call fcn.004f2225
mov esi, dword [esp + 0xc]
mov ecx, esi
push ebx
push dword [esp + 0x30]
push dword [esp + 0x88]
push 0x40
pop edx
call fcn.004c9cd0
add esp, 0xc
mov byte [esp + 0x7d], 1
mov ecx, edi
call fcn.004d6764
mov eax, dword [esi + 0x1c]
mov ecx, edi
mov dword [esp + 0x48], eax
call fcn.004d6764
mov edx, dword [esp + 0x54]
mov ecx, ebx
mov dword [esp + 0x28], ecx
cmp dword [edx], ebx
jle 0x4ea817
mov dword [esp + 0x5c], ebx
mov ebx, dword [esp + 0x60]
mov eax, dword [esp + 0x24]
add eax, ecx
push eax
test ebx, ebx
je 0x4ea7e5
push ecx
push dword [esp + 0x88]
mov ecx, esi
push 0x1c
pop edx
call fcn.004c9cd0
add esp, 0xc
jmp 0x4ea7ff
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.004d7327
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 0x4ea7c3
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.004c9d47
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.004c9cd0
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.004d6788
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.004c9cd0
mov ecx, dword [esp + 0x20]
add esp, 0x14
push ebx
push dword [esp + 0x30]
push dword [esp + 0x60]
push 0x71
pop edx
call fcn.004c9cd0
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ebx
push dword [esp + 0x68]
push dword [esp + 0x28]
push 2
pop edx
call fcn.004c9cd0
mov eax, dword [esp + 0x18]
add esp, 0xc
mov edx, esi
mov esi, eax
mov ecx, esi
push dword [eax + 0x1c]
call fcn.004c9f80
pop ecx
lea edx, [esp + 0x7c]
mov ecx, edi
call fcn.004e9ba1
push ebx
push dword [esp + 0x7c]
mov ecx, esi
push 1
push 7
pop edx
call fcn.004c9cd0
add esp, 0xc
cmp dword [esp + 0x60], 0
je 0x4ea908
push ebx
push dword [esp + 0x4c]
mov ecx, esi
push dword [esp + 0x88]
push 0x43
pop edx
call fcn.004c9cd0
add esp, 0xc
jmp 0x4ea922
mov ecx, dword [esp + 0x40]
call fcn.004f2225
mov edx, dword [esp + 0xac]
mov ecx, esi
push 1
call fcn.004ca0e1
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.004c9cd0
add esp, 0xc
xor edx, edx
inc edx
mov ecx, esi
push ebx
push dword [esp + 0x30]
push ebx
call fcn.004c9cd0
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.004c9cd0
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.004c9cd0
mov edx, dword [esp + 0x80]
add esp, 0xc
mov ecx, esi
call fcn.004c9dfa
mov esi, dword [esi + 0x1c]
push ebx
lea eax, [esi + 2]
push eax
push dword [esp + 0x80]
push 0x71
pop edx
call fcn.004c9cd0
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.004c9cd0
mov ecx, dword [esp + 0x74]
lea edx, [esp + 0x88]
add esp, 0xc
call fcn.004e9b50
mov edx, dword [esp + 0x38]
inc esi
mov ecx, dword [esp + 0x68]
push 8
push esi
call fcn.004d7797
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.004e69df
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x34]
inc eax
push ebx
push ebx
push eax
push 3
pop edx
call fcn.004c9cd0
mov edx, dword [esp + 0x98]
add esp, 0x34
mov ecx, dword [esp + 0xc]
call fcn.004c9dfa
lea edx, [esp + 0x7c]
mov ecx, edi
call fcn.004e9a76
mov ecx, dword [esp + 0xc]
push ebx
push ebx
push dword [esp + 0x28]
push 3
pop edx
call fcn.004c9cd0
add esp, 0xc
jmp 0x4eac9c
lea edx, [esp + 0x7c]
mov dword [esp + 0x64], ebx
mov ecx, esi
call fcn.004e93b0
mov dword [esp + 0x24], eax
test eax, eax
je 0x4eab7d
mov edx, dword [eax + 0x44]
mov ecx, dword [edi]
call fcn.004e5d78
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.004dd332
mov eax, dword [esp + 0x24]
mov ecx, edi
mov edx, dword [esp + 0x40]
push dword [eax]
push ebx
push dword [eax + 0x14]
call fcn.004d9f4c
mov edx, dword [esp + 0x30]
add esp, 0xc
cmp dword [edx + 0x10], ebx
je 0x4eab01
mov esi, dword [edx + 0x10]
mov ecx, ebx
test ecx, ecx
je 0x4eaad0
mov eax, dword [esi + 4]
cmp eax, dword [ecx + 4]
jge 0x4eaad2
mov ecx, esi
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x4eaac4
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x48], ecx
test ecx, ecx
je 0x4eab01
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 8]
jge 0x4eab01
mov eax, dword [ecx + 0x14]
mov edx, ecx
mov ecx, edi
mov dword [esp + 0x70], eax
call fcn.004dd69b
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.004c9cd0
mov eax, dword [esp + 0x34]
add esp, 0xc
test eax, eax
je 0x4eab35
mov ecx, dword [esp + 0xc]
or edx, 0xffffffff
push 0xfffffffffffffff0
push eax
call fcn.004ca128
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.004c9cd0
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ebx
push ebx
push dword [esp + 0x28]
push 0x2b
pop edx
call fcn.004c9cd0
mov edx, dword [esp + 0x30]
add esp, 0xc
mov ecx, edi
push dword [esp + 0x48]
call fcn.004e9d52
pop ecx
jmp 0x4eac59
mov ecx, esi
mov dword [esp + 0x20], ebx
call fcn.004e934b
mov byte [esp + 0x1f], al
test al, al
je 0x4eabd2
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.004d542f
mov edx, eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x24], edx
pop ecx
test edx, edx
je 0x4eabd2
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x1e], bl
jne 0x4eabd2
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.004e9a76
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.004f1951
add esp, 0xc
mov dword [esp + 0x40], eax
test eax, eax
jne 0x4eac16
mov esi, dword [esp + 0x14]
mov ecx, esi
mov edx, dword [esp + 0x64]
call fcn.004d58ec
jmp 0x4e9f0e
lea edx, [esp + 0x7c]
mov ecx, edi
call fcn.004e9ba1
cmp dword [esp + 0x20], ebx
jne 0x4eac45
cmp byte [esp + 0x1f], bl
je 0x4eac45
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.004c9cd0
add esp, 0xc
mov ecx, dword [esp + 0x40]
call fcn.004f2225
lea edx, [esp + 0x7c]
mov ecx, edi
call fcn.004e9b50
mov edx, dword [esp + 0x38]
mov ecx, edi
push 8
push dword [esp + 0x30]
mov dword [esp + 0x38], ebx
call fcn.004d7797
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.004e69df
mov edx, dword [esp + 0x8c]
add esp, 0x28
mov ecx, dword [esp + 0x14]
call fcn.004d58ec
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
call fcn.004c9dfa
cmp dword [esp + 0x4c], 0
jl 0x4eacbc
mov edx, str.DISTINCT
mov ecx, edi
call fcn.004e6de1
cmp dword [esp + 0x30], 0
je 0x4eace9
mov edx, str.ORDER_BY
mov ecx, edi
call fcn.004e6de1
mov eax, dword [esp + 0x18]
mov edx, esi
push dword [esp + 0x3c]
mov ecx, edi
push dword [eax]
push dword [esp + 0x14]
call fcn.004e6e9d
add esp, 0xc
mov edx, dword [esp + 0xb4]
mov ecx, dword [esp + 0xc]
call fcn.004c9dfa
mov esi, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
jmp 0x4e9f11
mov esi, eax
jmp 0x4e9f0e
mov esi, dword [esp + 0x14]
xor ebx, ebx
inc ebx
jmp 0x4e9f19
mov esi, eax
jmp 0x4ead29
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
xor ebx, ebx
inc ebx
jmp 0x4e9f19
mov eax, ecx
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0055fedc
mov esp, ebp
pop ebp
ret