Function at 0x4eb340
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4d0
push ebx
push esi
push edi
lea edi, [ebp - 0x4d0]
mov ecx, 0x134
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 0xa4], 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x224]
mov dword [ebp - 0x118], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x228]
mov dword [eax + 0x224], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x228]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x228], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x10c], ecx
cmp dword [ebp + 0xc], 0
je 0x4eb3c6
mov eax, dword [ebp - 0x10c]
movzx ecx, byte [eax + 0x1e]
test ecx, ecx
jne 0x4eb3c6
mov eax, dword [ebp + 8]
cmp dword [eax + 0x40], 0
je 0x4eb3d0
mov eax, 1
jmp 0x4ecd59
push 0
push 0
push 0
push 0x15
mov eax, dword [ebp + 8]
push eax
call fcn.004d9390
add esp, 0x14
test eax, eax
je 0x4eb3f2
mov eax, 1
jmp 0x4ecd59
push 0x30
push 0
lea eax, [ebp - 0xf4]
push eax
call fcn.00453ec0
add esp, 0xc
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax]
cmp ecx, 4
jg 0x4eb441
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp - 0x10c]
push edx
call fcn.004c1860
add esp, 8
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x18], 0
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 6]
and ecx, 0xfffffffe
mov edx, dword [ebp + 0xc]
mov word [edx + 6], cx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004ea110
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x40], 0
jne 0x4eb484
mov eax, dword [ebp - 0x10c]
movzx ecx, byte [eax + 0x1e]
test ecx, ecx
je 0x4eb489
jmp 0x4eccf0
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 6]
and ecx, 4
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp + 8]
push eax
call fcn.004e9fc0
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x4eb4b6
jmp 0x4eccf0
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004ed6f0
add esp, 0xc
test eax, eax
je 0x4eb4d5
jmp 0x4eccf0
mov dword [ebp - 8], 0
jmp 0x4eb4e7
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x1c], 0
jne 0x4eb7a5
mov eax, dword [ebp - 0x50]
movsx ecx, word [eax]
cmp dword [ebp - 8], ecx
jge 0x4eb7a5
mov eax, dword [ebp - 8]
shl eax, 6
mov ecx, dword [ebp - 0x50]
lea edx, [ecx + eax + 8]
mov dword [ebp - 0x124], edx
mov eax, dword [ebp - 0x124]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x148], ecx
cmp dword [ebp - 0x148], 0
jne 0x4eb530
jmp 0x4eb4de
mov eax, dword [ebp - 0x124]
cmp dword [eax + 0x14], 0
je 0x4eb563
mov eax, dword [ebp - 0x124]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 0x124]
mov eax, dword [edx + 0x18]
push eax
push 2
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004d05f0
add esp, 0x10
jmp 0x4eb4de
mov eax, dword [ebp + 0xc]
push eax
call fcn.004ece00
add esp, 4
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0x218]
mov edx, dword [ebp + 8]
mov dword [edx + 0x218], eax
mov eax, dword [ebp - 0x148]
movzx ecx, word [eax + 6]
and ecx, 4
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x154], ecx
mov eax, dword [ebp - 0x154]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004f0bb0
add esp, 0x14
test eax, eax
je 0x4eb5ea
cmp dword [ebp - 0x154], 0
je 0x4eb5de
mov dword [ebp - 0x38], 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 6]
or ecx, 4
mov edx, dword [ebp + 0xc]
mov word [edx + 6], cx
mov dword [ebp - 8], 0xffffffff
jmp 0x4eb750
mov dword [ebp - 0x16c], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x48]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x48], ecx
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x48]
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 0x124]
mov ecx, dword [eax + 0x18]
push ecx
push 0
push 7
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004d05f0
add esp, 0x10
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
add eax, 1
mov ecx, dword [ebp - 0x124]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x124]
movzx ecx, byte [eax + 0x1e]
test ecx, ecx
jne 0x4eb664
mov eax, dword [ebp + 8]
push eax
call fcn.004d41f0
add esp, 4
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x124]
mov ecx, dword [eax + 0x20]
push ecx
push 9
lea edx, [ebp - 0x13c]
push edx
call fcn.004e92e0
add esp, 0xc
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0x228]
mov byte [eax + 0x1f], dl
lea eax, [ebp - 0x13c]
push eax
mov ecx, dword [ebp - 0x148]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004eb340
add esp, 0xc
mov eax, dword [ebp - 0x148]
fld qword [eax + 0x48]
fnstcw word [ebp - 0x4c2]
movzx eax, word [ebp - 0x4c2]
or eax, 0xc00
mov dword [ebp - 0x4c8], eax
fldcw word [ebp - 0x4c8]
fistp qword [ebp - 0x4d0]
fldcw word [ebp - 0x4c2]
mov ecx, dword [ebp - 0x4d0]
mov edx, dword [ebp - 0x124]
mov eax, dword [edx + 0xc]
mov dword [eax + 0x18], ecx
cmp dword [ebp - 0x16c], 0
je 0x4eb70c
mov eax, dword [ebp - 0x16c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004d0640
add esp, 8
mov eax, dword [ebp - 0x124]
mov ecx, dword [eax + 0x18]
push ecx
push 3
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004d1840
add esp, 0xc
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x178]
push eax
mov ecx, dword [ebp - 0x160]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004bc460
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
call fcn.004ed6b0
add esp, 4
mov eax, dword [ebp - 0x10c]
movzx ecx, byte [eax + 0x1e]
test ecx, ecx
je 0x4eb763
jmp 0x4eccf0
mov eax, dword [ebp + 0xc]
push eax
call fcn.004ece00
add esp, 4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x218]
sub edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x218], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax]
cmp ecx, 4
jle 0x4eb7a0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x68], ecx
jmp 0x4eb4de
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x5c], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x74], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x80], ecx
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 6]
and ecx, 1
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x8c], ecx
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x1c], 0
je 0x4eb8d7
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x24], 0
jne 0x4eb8a3
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x19c], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x184], eax
jmp 0x4eb835
mov eax, dword [ebp - 0x184]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x184], ecx
mov edx, dword [ebp - 0x19c]
add edx, 1
mov dword [ebp - 0x19c], edx
cmp dword [ebp - 0x184], 0
je 0x4eb867
mov eax, dword [ebp - 0x184]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x24], ecx
mov eax, dword [ebp - 0x184]
mov ecx, dword [ebp - 0x190]
mov dword [eax + 0x20], ecx
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x190], eax
jmp 0x4eb817
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax + 0x58]
mov dword [ebp - 0x1a8], ecx
cmp dword [ebp - 0x1a8], 0
je 0x4eb8a3
mov eax, dword [ebp - 0x19c]
cmp eax, dword [ebp - 0x1a8]
jle 0x4eb8a3
push str.too_many_terms_in_compound_SELECT
mov eax, dword [ebp + 8]
push eax
call fcn.004bc100
add esp, 8
jmp 0x4eccf0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004eebb0
add esp, 0xc
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x118]
mov dword [eax + 0x224], ecx
mov eax, dword [ebp - 0xa4]
jmp 0x4ecd59
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x10]
push edx
call fcn.004d8f90
add esp, 8
test eax, eax
jne 0x4eb903
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax + 0xc]
and ecx, 0x20
jne 0x4eb903
mov dword [ebp - 0x68], 0
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 6]
and ecx, 5
cmp ecx, 1
jne 0x4eb966
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x68]
push edx
call fcn.004d8f90
add esp, 8
test eax, eax
jne 0x4eb966
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 6]
and ecx, 0xfffffffe
mov edx, dword [ebp + 0xc]
mov word [edx + 6], cx
push 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x10c]
push edx
call fcn.004d8620
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x68], 0
cmp dword [ebp - 0x68], 0
je 0x4eb9da
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004edf90
add esp, 8
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x44]
mov dword [eax + 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x44]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x44], ecx
push 0xfffffffffffffff0
mov eax, dword [ebp - 0x1b4]
push eax
push 0
mov ecx, dword [ebp - 0x68]
mov edx, dword [ecx]
add edx, 2
push edx
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 8]
push ecx
push 0x2a
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004cf6b0
add esp, 0x1c
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xb0]
mov dword [eax + 0x40], ecx
jmp 0x4eb9e4
mov dword [ebp - 0xb0], 0xffffffff
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax]
cmp ecx, 9
jne 0x4eba0a
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
push eax
push 0x2a
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004d05f0
add esp, 0x10
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004d1890
add esp, 4
mov dword [ebp - 0x100], eax
mov eax, dword [ebp + 0xc]
fld qword [0x51ed80]
fstp qword [eax + 0x48]
mov eax, dword [ebp - 0x100]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004ee940
add esp, 0xc
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x30], 0
jne 0x4eba78
cmp dword [ebp - 0xb0], 0
jl 0x4eba78
mov eax, dword [ebp - 0xb0]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004e4410
add esp, 8
mov byte [eax], 0x2b
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 6]
or ecx, 0x40
mov edx, dword [ebp + 0xc]
mov word [edx + 6], cx
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 6]
and ecx, 1
je 0x4ebaef
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x44]
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004edf90
add esp, 8
mov dword [ebp - 0x1c0], eax
push 0xfffffffffffffff0
mov eax, dword [ebp - 0x1c0]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x98]
push ecx
push 0x2a
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004cf6b0
add esp, 0x1c
mov dword [ebp - 0xbc], eax
push 0x10
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004d0fb0
add esp, 8
jmp 0x4ebb05
mov dword [ebp - 0xbc], 0xffffffff
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x38], 0
jne 0x4ebe16
cmp dword [ebp - 0x74], 0
jne 0x4ebe16
cmp dword [ebp - 0x8c], 0
je 0x4ebb2f
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x4c4], ecx
jmp 0x4ebb39
mov dword [ebp - 0x4c4], 0
mov edx, dword [ebp - 0x4c4]
mov dword [ebp - 0x1cc], edx
push 0
mov eax, dword [ebp - 0x1cc]
push eax
lea ecx, [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004f5c80
add esp, 0x18
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4ebb74
jmp 0x4eccf0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 0xc]
fld qword [ecx + 0x48]
fcomp qword [eax + 0x30]
fnstsw ax
test ah, 0x41
jne 0x4ebb93
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x20]
fld qword [ecx + 0x30]
fstp qword [eax + 0x48]
cmp dword [ebp - 0xb0], 0
jl 0x4ebbbf
cmp dword [ebp - 0x68], 0
jne 0x4ebbbf
mov eax, dword [ebp - 0xb0]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004bc550
add esp, 8
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x40], 0xffffffff
mov eax, dword [ebp - 0x20]
movzx ecx, byte [eax + 8]
test ecx, ecx
je 0x4ebdd0
mov eax, dword [ebp - 0xbc]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004e4410
add esp, 8
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 0x98], 0xffffffff
mov eax, dword [ebp - 0x20]
movzx ecx, byte [eax + 8]
cmp ecx, 2
jne 0x4ebdc7
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x48]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x48], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x48]
mov dword [ebp - 0x1fc], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x48]
add ecx, 1
mov dword [ebp - 0x208], ecx
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x208]
add ecx, dword [eax]
mov dword [ebp - 0x214], ecx
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x48]
lea ecx, [eax + ecx*2]
mov edx, dword [ebp + 8]
mov dword [edx + 0x48], ecx
mov eax, dword [ebp - 0x1d8]
mov byte [eax], 7
mov eax, dword [ebp - 0x1d8]
mov dword [eax + 4], 1
mov eax, dword [ebp - 0x1d8]
mov ecx, dword [ebp - 0x1fc]
mov dword [eax + 8], ecx
push 1
mov eax, dword [ebp - 0x208]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004d54c0
add esp, 0x10
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004d19b0
add esp, 4
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx]
lea eax, [eax + edx + 3]
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x1e4]
sub eax, 1
push eax
mov ecx, dword [ebp - 0x1fc]
push ecx
push 0x1b
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004d05f0
add esp, 0x10
mov dword [ebp - 0x1f0], 0
jmp 0x4ebce3
mov eax, dword [ebp - 0x1f0]
add eax, 1
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x1f0]
cmp ecx, dword [eax]
jge 0x4ebd75
mov eax, dword [ebp - 0x1f0]
imul eax, eax, 0x14
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + eax]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004d2ff0
add esp, 8
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x214]
add eax, dword [ebp - 0x1f0]
push eax
mov ecx, dword [ebp - 0x1e4]
push ecx
mov edx, dword [ebp - 0x208]
add edx, dword [ebp - 0x1f0]
push edx
push 0x4b
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004cf720
add esp, 0x14
push 0xfffffffffffffffc
mov eax, dword [ebp - 0x220]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004bc5e0
add esp, 0x10
push 0x80
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004d0fb0
add esp, 8
jmp 0x4ebcd4
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x14]
push ecx
push 0
push 1
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004d05f0
add esp, 0x10
mov eax, dword [ebp - 0x1fc]
push eax
push 0
push 7
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004d05f0
add esp, 0x10
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x214]
push edx
mov eax, dword [ebp - 0x208]
push eax
push 0xd
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004cf720
add esp, 0x14
jmp 0x4ebdd0
mov eax, dword [ebp - 0x1d8]
mov byte [eax], 0x95
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x98]
push edx
mov eax, dword [ebp - 0x68]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004ed760
add esp, 0x28
mov eax, dword [ebp - 0x20]
push eax
call fcn.004fe1c0
add esp, 4
jmp 0x4ecc84
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 0x2ac], 0
cmp dword [ebp - 0x74], 0
je 0x4ebef5
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [ebp - 0x2b8], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x2c4], edx
jmp 0x4ebe6f
mov eax, dword [ebp - 0x2b8]
sub eax, 1
mov dword [ebp - 0x2b8], eax
mov ecx, dword [ebp - 0x2c4]
add ecx, 0x14
mov dword [ebp - 0x2c4], ecx
cmp dword [ebp - 0x2b8], 0
jle 0x4ebe86
xor eax, eax
mov ecx, dword [ebp - 0x2c4]
mov word [ecx + 0x10], ax
jmp 0x4ebe51
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
mov dword [ebp - 0x2b8], ecx
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x2c4], eax
jmp 0x4ebebd
mov eax, dword [ebp - 0x2b8]
sub eax, 1
mov dword [ebp - 0x2b8], eax
mov ecx, dword [ebp - 0x2c4]
add ecx, 0x14
mov dword [ebp - 0x2c4], ecx
cmp dword [ebp - 0x2b8], 0
jle 0x4ebed4
xor eax, eax
mov ecx, dword [ebp - 0x2c4]
mov word [ecx + 0x10], ax
jmp 0x4ebe9f
mov eax, dword [ebp + 0xc]
fld qword [0x5293e8]
fcomp qword [eax + 0x48]
fnstsw ax
test ah, 5
jp 0x4ebef3
mov eax, dword [ebp + 0xc]
fld qword [0x5293e8]
fstp qword [eax + 0x48]
jmp 0x4ebefd
mov eax, dword [ebp + 0xc]
fld1
fstp qword [eax + 0x48]
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004d1890
add esp, 4
mov dword [ebp - 0x294], eax
push 0x24
push 0
lea eax, [ebp - 0x24c]
push eax
call fcn.00453ec0
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0xf4]
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x74], 0
je 0x4ebf56
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
add ecx, 1
mov dword [ebp - 0x4c4], ecx
jmp 0x4ebf60
mov dword [ebp - 0x4c4], 0
mov edx, dword [ebp - 0x4c4]
mov dword [ebp - 0xe4], edx
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x44]
push eax
lea ecx, [ebp - 0x24c]
push ecx
call fcn.004ed630
add esp, 8
mov eax, dword [ebp - 0x68]
push eax
lea ecx, [ebp - 0x24c]
push ecx
call fcn.004ed630
add esp, 8
cmp dword [ebp - 0x80], 0
je 0x4ebfb4
mov eax, dword [ebp - 0x80]
push eax
lea ecx, [ebp - 0x24c]
push ecx
call fcn.004ecfd0
add esp, 8
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xd4], eax
mov dword [ebp - 8], 0
jmp 0x4ebfd2
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xcc]
jge 0x4ec001
mov eax, dword [ebp - 8]
shl eax, 4
mov ecx, dword [ebp - 0xd0]
mov edx, dword [ecx + eax]
mov eax, dword [edx + 0x10]
push eax
lea ecx, [ebp - 0x24c]
push ecx
call fcn.004ed630
add esp, 8
jmp 0x4ebfc9
mov eax, dword [ebp - 0x10c]
movzx ecx, byte [eax + 0x1e]
test ecx, ecx
je 0x4ec014
jmp 0x4eccf0
cmp dword [ebp - 0x74], 0
je 0x4ec8b1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x44]
mov dword [ebp - 0xf0], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004edf90
add esp, 8
mov dword [ebp - 0x2d0], eax
push 0xfffffffffffffff0
mov eax, dword [ebp - 0x2d0]
push eax
push 0
mov ecx, dword [ebp - 0xe4]
push ecx
mov edx, dword [ebp - 0xf0]
push edx
push 0x2b
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004cf6b0
add esp, 0x1c
mov dword [ebp - 0x318], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x48]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x48], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x48]
mov dword [ebp - 0x270], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x48]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x48], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x48]
mov dword [ebp - 0x27c], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x48]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x48], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x48]
mov dword [ebp - 0x2f4], ecx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004d1890
add esp, 4
mov dword [ebp - 0x2e8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x48]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x48], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x48]
mov dword [ebp - 0x330], ecx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004d1890
add esp, 4
mov dword [ebp - 0x324], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x48]
add ecx, 1
mov dword [ebp - 0x258], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x48]
mov edx, dword [ebp - 0x74]
add ecx, dword [edx]
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x48]
add ecx, 1
mov dword [ebp - 0x264], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x48]
mov edx, dword [ebp - 0x74]
add ecx, dword [edx]
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], ecx
mov eax, dword [ebp - 0x27c]
push eax
push 0
push 7
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004d05f0
add esp, 0x10
mov eax, dword [ebp - 0x270]
push eax
push 0
push 7
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004d05f0
add esp, 0x10
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x258]
lea eax, [edx + ecx - 1]
push eax
mov ecx, dword [ebp - 0x258]
push ecx
push 0
push 0xa
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004cf720
add esp, 0x14
mov eax, dword [ebp - 0x324]
push eax
mov ecx, dword [ebp - 0x330]
push ecx
push 2
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004d05f0
add esp, 0x10
push 0
push 0
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004f5c80
add esp, 0x18
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4ec1e7
jmp 0x4eccf0
cmp dword [ebp - 0x74], 0
jne 0x4ec205
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x288], 0
jmp 0x4ec4fe
cmp dword [ebp - 0x8c], 0
je 0x4ec226
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 6]
and ecx, 1
jne 0x4ec226
mov dword [ebp - 0x4c4], str.DISTINCT
jmp 0x4ec230
mov dword [ebp - 0x4c4], str.GROUP_BY
mov edx, dword [ebp - 0x4c4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004ee0a0
add esp, 8
mov dword [ebp - 0x288], 1
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
mov dword [ebp - 0x360], ecx
mov eax, dword [ebp - 0x360]
add eax, 1
mov dword [ebp - 0x354], eax
mov eax, dword [ebp - 0x360]
add eax, 1
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], 0
jmp 0x4ec285
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xdc]
jge 0x4ec2bf
mov eax, dword [ebp - 8]
imul eax, eax, 0x18
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ecx + eax + 0xc]
cmp edx, dword [ebp - 0x14]
jl 0x4ec2bd
mov eax, dword [ebp - 0x354]
add eax, 1
mov dword [ebp - 0x354], eax
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
jmp 0x4ec27c
mov eax, dword [ebp - 0x354]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004d5fe0
add esp, 8
mov dword [ebp - 0x33c], eax
mov eax, dword [ebp + 8]
push eax
call fcn.004ece80
add esp, 4
push 0
mov eax, dword [ebp - 0x33c]
push eax
mov ecx, dword [ebp - 0x74]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004d54c0
add esp, 0x10
mov eax, dword [ebp - 0x33c]
add eax, dword [ebp - 0x360]
push eax
mov ecx, dword [ebp - 0xf0]
push ecx
push 0x37
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004d05f0
add esp, 0x10
mov eax, dword [ebp - 0x360]
add eax, 1
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], 0
jmp 0x4ec33d
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xdc]
jge 0x4ec3e9
mov eax, dword [ebp - 8]
imul eax, eax, 0x18
add eax, dword [ebp - 0xe0]
mov dword [ebp - 0x36c], eax
mov eax, dword [ebp - 0x36c]
mov ecx, dword [eax + 0xc]
cmp ecx, dword [ebp - 0x14]
jl 0x4ec3e4
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x33c]
mov dword [ebp - 0x378], eax
mov eax, dword [ebp - 0x378]
push eax
mov ecx, dword [ebp - 0x36c]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x36c]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0x36c]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004d5050
add esp, 0x14
mov dword [ebp - 0x384], eax
mov eax, dword [ebp - 0x378]
cmp eax, dword [ebp - 0x384]
je 0x4ec3db
mov eax, dword [ebp - 0x378]
push eax
mov ecx, dword [ebp - 0x384]
push ecx
push 0xf
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004d05f0
add esp, 0x10
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
jmp 0x4ec334
mov eax, dword [ebp + 8]
push eax
call fcn.004d0690
add esp, 4
mov dword [ebp - 0x348], eax
mov eax, dword [ebp - 0x348]
push eax
mov ecx, dword [ebp - 0x354]
push ecx
mov edx, dword [ebp - 0x33c]
push edx
push 0x1f
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004cf720
add esp, 0x14
mov eax, dword [ebp - 0x348]
push eax
mov ecx, dword [ebp - 0xf0]
push ecx
push 0x60
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004d05f0
add esp, 0x10
mov eax, dword [ebp - 0x348]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004d0700
add esp, 8
mov eax, dword [ebp - 0x354]
push eax
mov ecx, dword [ebp - 0x33c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004d6060
add esp, 0xc
mov eax, dword [ebp - 0x20]
push eax
call fcn.004fe1c0
add esp, 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x44]
mov dword [ebp - 0x2a0], ecx
mov edx, dword [ebp - 0x2a0]
mov dword [ebp - 0xec], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x44]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x44], ecx
mov eax, dword [ebp + 8]
push eax
call fcn.004d0690
add esp, 4
mov dword [ebp - 0x2ac], eax
mov eax, dword [ebp - 0x354]
push eax
mov ecx, dword [ebp - 0x2ac]
push ecx
mov edx, dword [ebp - 0x2a0]
push edx
push 0x2c
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004cf720
add esp, 0x14
mov eax, dword [ebp - 0x294]
push eax
mov ecx, dword [ebp - 0xf0]
push ecx
push 0x46
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004d05f0
add esp, 0x10
mov byte [ebp - 0xf3], 1
mov eax, dword [ebp + 8]
push eax
call fcn.004ece80
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004d19b0
add esp, 4
mov dword [ebp - 0x30c], eax
mov eax, dword [ebp + 8]
push eax
call fcn.004ece80
add esp, 4
cmp dword [ebp - 0x288], 0
je 0x4ec541
mov eax, dword [ebp - 0x2ac]
push eax
mov ecx, dword [ebp - 0xf0]
push ecx
push 0x3e
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004d05f0
add esp, 0x10
mov dword [ebp - 0x14], 0
jmp 0x4ec553
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax]
jge 0x4ec5d1
cmp dword [ebp - 0x288], 0
je 0x4ec59f
mov eax, dword [ebp - 0x264]
add eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x2a0]
push edx
push 0x1d
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004cf720
add esp, 0x14
cmp dword [ebp - 0x14], 0
jne 0x4ec59d
push 0x20
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004d0fb0
add esp, 8
jmp 0x4ec5cc
mov byte [ebp - 0xf4], 1
mov eax, dword [ebp - 0x264]
add eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + ecx]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004d1dc0
add esp, 0xc
jmp 0x4ec54a
push 0xfffffffffffffffa
mov eax, dword [ebp - 0x2d0]
push eax
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x264]
push eax
mov ecx, dword [ebp - 0x258]
push ecx
push 0x18
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004cf6b0
add esp, 0x1c
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004d19b0
add esp, 4
mov dword [ebp - 0x2dc], eax
mov eax, dword [ebp - 0x2dc]
add eax, 1
push eax
push 0
mov ecx, dword [ebp - 0x2dc]
add ecx, 1
push ecx
push 0x19
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004cf720
add esp, 0x14
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x258]
push edx
mov eax, dword [ebp - 0x264]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004ecf10
add esp, 0x10
mov eax, dword [ebp - 0x2e8]
push eax
mov ecx, dword [ebp - 0x2f4]
push ecx
push 2
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004d05f0
add esp, 0x10
mov eax, dword [ebp - 0x294]
push eax
mov ecx, dword [ebp - 0x27c]
push ecx
push 0x78
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004d05f0
add esp, 0x10
mov eax, dword [ebp - 0x324]
push eax
mov ecx, dword [ebp - 0x330]
push ecx
push 2
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004d05f0
add esp, 0x10
mov eax, dword [ebp - 0x2dc]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004d0640
add esp, 8
lea eax, [ebp - 0xf4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004f1be0
add esp, 8
mov eax, dword [ebp - 0x270]
push eax
push 1
push 7
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004d05f0
add esp, 0x10
cmp dword [ebp - 0x288], 0
je 0x4ec70a
mov eax, dword [ebp - 0x30c]
push eax
mov ecx, dword [ebp - 0xf0]
push ecx
push 0x51
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004d05f0
add esp, 0x10
jmp 0x4ec729
mov eax, dword [ebp - 0x20]
push eax
call fcn.004fe1c0
add esp, 4
mov eax, dword [ebp - 0x318]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004bc550
add esp, 8
mov eax, dword [ebp - 0x2e8]
push eax
mov ecx, dword [ebp - 0x2f4]
push ecx
push 2
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004d05f0
add esp, 0x10
mov eax, dword [ebp - 0x294]
push eax
push 0
push 1
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004d05f0
add esp, 0x10
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004d19b0
add esp, 4
mov dword [ebp - 0x300], eax
mov eax, dword [ebp - 0x27c]
push eax
push 1
push 7
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004d05f0
add esp, 0x10
mov eax, dword [ebp - 0x2f4]
push eax
push 3
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004d1840
add esp, 0xc
mov eax, dword [ebp - 0x2e8]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004d1960
add esp, 8
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004d19b0
add esp, 4
mov dword [ebp - 0x2e8], eax
mov eax, dword [ebp - 0x2e8]
add eax, 2
push eax
mov ecx, dword [ebp - 0x270]
push ecx
push 0x78
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004d05f0
add esp, 0x10
mov eax, dword [ebp - 0x2f4]
push eax
push 3
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004d1840
add esp, 0xc
lea eax, [ebp - 0xf4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004f1b20
add esp, 8
push 8
mov eax, dword [ebp - 0x2e8]
add eax, 1
push eax
mov ecx, dword [ebp - 0x80]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004d5580
add esp, 0x10
mov eax, dword [ebp - 0x300]
push eax
mov ecx, dword [ebp - 0x2e8]
add ecx, 1
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0x68]
push ecx
push 0
push 0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004ed760
add esp, 0x28
mov eax, dword [ebp - 0x2f4]
push eax
push 3
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004d1840
add esp, 0xc
mov eax, dword [ebp - 0x324]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004d1960
add esp, 8
lea eax, [ebp - 0xf4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004f19c0
add esp, 8
mov eax, dword [ebp - 0x330]
push eax
push 3
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004d1840
add esp, 0xc
jmp 0x4ecc71
mov dword [ebp - 0x390], 0
lea eax, [ebp - 0xf4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004f1900
add esp, 8
mov dword [ebp - 0x39c], eax
cmp dword [ebp - 0x39c], 0
je 0x4ecab5
mov eax, dword [ebp - 0x39c]
mov ecx, dword [eax + 0x44]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.004c67e0
add esp, 8
mov dword [ebp - 0x3a8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x44]
mov dword [ebp - 0x3b4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
mov dword [ebp - 0x3cc], 0
mov dword [ebp - 0x3d8], 0
mov eax, dword [ebp - 0x39c]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x3e4], ecx
mov eax, dword [ebp - 0x3a8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004dec60
add esp, 8
mov eax, dword [ebp - 0x39c]
mov ecx, dword [eax]
push ecx
push 0
mov edx, dword [ebp - 0x39c]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 0x3a8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004d94c0
add esp, 0x14
mov eax, dword [ebp - 0x39c]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x3c0], ecx
jmp 0x4ec998
mov eax, dword [ebp - 0x3c0]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x3c0], ecx
cmp dword [ebp - 0x3c0], 0
je 0x4ec9da
mov eax, dword [ebp - 0x3c0]
movzx ecx, byte [eax + 0x1a]
test ecx, ecx
jne 0x4ec9d8
cmp dword [ebp - 0x3d8], 0
je 0x4ec9cc
mov eax, dword [ebp - 0x3c0]
mov ecx, dword [ebp - 0x3d8]
mov edx, dword [eax + 4]
cmp edx, dword [ecx + 4]
jge 0x4ec9d8
mov eax, dword [ebp - 0x3c0]
mov dword [ebp - 0x3d8], eax
jmp 0x4ec989
cmp dword [ebp - 0x3d8], 0
je 0x4eca1f
mov eax, dword [ebp - 0x3d8]
mov ecx, dword [ebp - 0x39c]
mov edx, dword [eax + 4]
cmp edx, dword [ecx + 8]
jge 0x4eca1f
mov eax, dword [ebp - 0x3d8]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x3e4], ecx
mov eax, dword [ebp - 0x3d8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004df3c0
add esp, 8
mov dword [ebp - 0x3cc], eax
mov eax, dword [ebp - 0x3a8]
push eax
mov ecx, dword [ebp - 0x3e4]
push ecx
mov edx, dword [ebp - 0x3b4]
push edx
push 0x27
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004cf720
add esp, 0x14
cmp dword [ebp - 0x3cc], 0
je 0x4eca62
push 0xfffffffffffffff0
mov eax, dword [ebp - 0x3cc]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004bc5e0
add esp, 0x10
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0x3b4]
push edx
push 0x20
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004d05f0
add esp, 0x10
mov eax, dword [ebp - 0x3b4]
push eax
push 0x2d
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004d1840
add esp, 0xc
mov eax, dword [ebp - 0x3d8]
push eax
mov ecx, dword [ebp - 0x39c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004f1e70
add esp, 0xc
jmp 0x4ecc0b
mov dword [ebp - 0x3f0], 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.004f1810
add esp, 4
mov byte [ebp - 0x3f9], al
movzx eax, byte [ebp - 0x3f9]
test eax, eax
je 0x4ecb4e
push 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x10c]
push edx
call fcn.004d8620
add esp, 0xc
mov dword [ebp - 0x3f0], eax
mov eax, dword [ebp - 0x3f0]
mov dword [ebp - 0x390], eax
cmp dword [ebp - 0x3f0], 0
je 0x4ecb4e
mov eax, dword [ebp - 0x10c]
movzx ecx, byte [eax + 0x1e]
test ecx, ecx
jne 0x4ecb4e
movzx eax, byte [ebp - 0x3f9]
sub eax, 1
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 0x3f0]
mov edx, dword [ecx + 0xc]
mov byte [edx + 0xc], al
mov eax, dword [ebp - 0x3f0]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov byte [edx], 0x98
lea eax, [ebp - 0xf4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004f19c0
add esp, 8
movzx ax, byte [ebp - 0x3f9]
movzx ecx, ax
push ecx
push 0
lea edx, [ebp - 0x3f0]
push edx
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004f5c80
add esp, 0x18
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4ecbae
mov eax, dword [ebp - 0x390]
push eax
mov ecx, dword [ebp - 0x10c]
push ecx
call fcn.004c1860
add esp, 8
jmp 0x4eccf0
lea eax, [ebp - 0xf4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004f1be0
add esp, 8
cmp dword [ebp - 0x3f0], 0
jne 0x4ecbec
movzx eax, byte [ebp - 0x3f9]
test eax, eax
je 0x4ecbec
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x18]
push ecx
push 0
push 1
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004d05f0
add esp, 0x10
mov eax, dword [ebp - 0x20]
push eax
call fcn.004fe1c0
add esp, 4
lea eax, [ebp - 0xf4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004f1b20
add esp, 8
mov dword [ebp - 0x68], 0
push 8
mov eax, dword [ebp - 0x294]
push eax
mov ecx, dword [ebp - 0x80]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004d5580
add esp, 0x10
mov eax, dword [ebp - 0x294]
push eax
mov ecx, dword [ebp - 0x294]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0xffffffffffffffff
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004ed760
add esp, 0x28
mov eax, dword [ebp - 0x390]
push eax
mov ecx, dword [ebp - 0x10c]
push ecx
call fcn.004c1860
add esp, 8
mov eax, dword [ebp - 0x294]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004d1960
add esp, 8
cmp dword [ebp - 0x98], 0
jl 0x4ecc9e
push str.DISTINCT
mov eax, dword [ebp + 8]
push eax
call fcn.004ee0a0
add esp, 8
cmp dword [ebp - 0x68], 0
je 0x4eccd3
push str.ORDER_BY
mov eax, dword [ebp + 8]
push eax
call fcn.004ee0a0
add esp, 8
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004ee130
add esp, 0x14
mov eax, dword [ebp - 0x100]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004d1960
add esp, 8
mov dword [ebp - 0xa4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x118]
mov dword [eax + 0x224], ecx
cmp dword [ebp - 0xa4], 0
jne 0x4ecd27
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax]
cmp ecx, 5
jne 0x4ecd27
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004ee580
add esp, 0xc
mov eax, dword [ebp - 0xe0]
push eax
mov ecx, dword [ebp - 0x10c]
push ecx
call fcn.00486320
add esp, 8
mov eax, dword [ebp - 0xd0]
push eax
mov ecx, dword [ebp - 0x10c]
push ecx
call fcn.00486320
add esp, 8
mov eax, dword [ebp - 0xa4]
push edx
mov ecx, ebp
push eax
lea edx, [0x4ecd80]
call fcn.00504c1c
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0x4d0
cmp ebp, esp
call fcn.00504bf9
mov esp, ebp
pop ebp
ret