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

Disassembly:
sub esp, 0xcc
push ebx
push ebp
push esi
mov esi, dword [esp + 0xdc]
mov ebx, dword [esp + 0xe0]
push edi
mov eax, dword [esi + 0x1dc]
mov ebp, dword [esi]
mov dword [esp + 0xa0], eax
mov eax, dword [esi + 0x1e0]
mov dword [esi + 0x1dc], eax
inc eax
test ebx, ebx
mov dword [esp + 0x50], 1
mov dword [esi + 0x1e0], eax
mov dword [esp + 0x44], ebp
je 0x101354c0
mov al, byte [ebp + 0x36]
test al, al
jne 0x101354c0
mov eax, dword [esi + 0x44]
test eax, eax
jne 0x101354c0
push 0
push 0
push 0
push 0x15
push esi
call fcn.10128db0
add esp, 0x14
test eax, eax
jne 0x101354c0
mov ecx, 0xa
lea edi, [esp + 0x78]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xe8]
cmp byte [ecx], 4
ja 0x1013438e
mov edx, dword [ebx + 0x38]
push edx
push ebp
call fcn.1011a450
add esp, 8
and word [ebx + 6], 0xfffe
mov dword [ebx + 0x38], 0
push 0
push ebx
push esi
call fcn.101337e0
mov eax, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x28]
mov edx, dword [ebx]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x44]
add esp, 0xc
test eax, eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x28], edx
jne 0x1013545c
mov eax, dword [esp + 0x44]
mov cl, byte [eax + 0x36]
test cl, cl
jne 0x1013545c
mov cl, byte [ebx + 6]
push esi
shr ecx, 2
and ecx, 1
mov dword [esp + 0x18], ecx
call fcn.10133730
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x1013545c
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0xe8]
mov eax, dword [edx]
push eax
push ecx
push esi
call fcn.10135900
add esp, 0xc
test eax, eax
jne 0x1013545c
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x3c]
test eax, eax
jne 0x101345c5
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x30]
movsx eax, word [edx]
cmp ecx, eax
jge 0x101345c5
shl ecx, 6
mov eax, dword [ecx + edx + 0x18]
lea edi, [ecx + edx + 8]
test eax, eax
mov dword [esp + 0x10], eax
je 0x101345b1
mov eax, dword [edi + 0x14]
test eax, eax
je 0x1013445d
push eax
mov eax, dword [edi + 0x18]
push eax
push 2
push ebp
call fcn.10123750
add esp, 0x10
jmp 0x101345b1
push ebx
call fcn.101354d0
mov edx, dword [esi + 0x1d8]
mov ecx, dword [esp + 0x14]
add edx, eax
mov dword [esi + 0x1d8], edx
mov al, byte [ecx + 6]
mov edx, dword [esp + 0x18]
shr eax, 2
and eax, 1
mov dword [esp + 0x40], eax
push eax
mov eax, dword [esp + 0x38]
push edx
push eax
push ebx
push esi
call fcn.10137a40
add esp, 0x18
test eax, eax
je 0x101344bc
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x101344af
or byte [ebx + 6], 4
mov dword [esp + 0x14], 1
mov dword [esp + 0x30], 0xffffffff
jmp 0x10134571
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x24], 0
inc eax
push eax
push 0
push 7
mov dword [esi + 0x4c], eax
push ebp
mov dword [edi + 0x18], eax
call fcn.10123750
add esp, 0x10
mov dword [esp + 0x3c], eax
inc eax
mov dword [edi + 0x14], eax
mov al, byte [edi + 0x1e]
test al, al
jne 0x101344f8
push esi
call fcn.10125b10
add esp, 4
mov dword [esp + 0x24], eax
mov ecx, dword [edi + 0x20]
lea edx, [esp + 0xcc]
push ecx
push 9
push edx
call fcn.10132fa0
mov edx, dword [esp + 0x1c]
mov al, byte [esi + 0x1e0]
lea ecx, [esp + 0xd8]
mov byte [edi + 0x1f], al
push ecx
push edx
push esi
call fcn.101342e0
mov eax, dword [esp + 0x28]
add esp, 0x18
fld qword [eax + 0x20]
call fcn.10144a58
mov ecx, dword [edi + 0xc]
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10134550
mov edx, eax
push edx
push ebp
call fcn.10123770
add esp, 8
mov eax, dword [edi + 0x18]
push eax
push 3
push ebp
call fcn.101241e0
mov ecx, dword [esp + 0x48]
push eax
push ecx
push ebp
call fcn.101174b0
push esi
call fcn.101358f0
add esp, 0x1c
mov edx, dword [esp + 0x44]
mov al, byte [edx + 0x36]
test al, al
jne 0x1013545c
push ebx
call fcn.101354d0
mov ecx, dword [esi + 0x1d8]
add esp, 4
sub ecx, eax
mov dword [esi + 0x1d8], ecx
mov eax, dword [ebx + 0x28]
mov ecx, dword [esp + 0xe8]
mov dword [esp + 0x58], eax
cmp byte [ecx], 4
jbe 0x101345b1
mov edx, dword [ebx + 0x38]
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x30]
mov eax, dword [ebx + 0x3c]
inc ecx
test eax, eax
mov dword [esp + 0x30], ecx
je 0x10134417
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ebx]
mov edx, dword [ebx + 0x34]
mov dword [esp + 0x48], ecx
mov cl, byte [ebx + 6]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x30]
and ecx, 1
mov dword [esp + 0x40], ecx
mov ecx, dword [ebx + 0x3c]
test ecx, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x3c], edx
je 0x1013465a
mov eax, dword [ebx + 0x44]
test eax, eax
jne 0x10134630
xor ecx, ecx
xor edx, edx
mov eax, ebx
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], ebx
mov ecx, eax
mov eax, dword [eax + 0x3c]
inc edx
test eax, eax
jne 0x101345fe
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x5c]
test eax, eax
je 0x10134630
cmp edx, eax
jle 0x10134630
push str.too_many_terms_in_compound_SELECT
push esi
call fcn.101172f0
add esp, 8
jmp 0x1013545c
mov ecx, dword [esp + 0xe8]
push ecx
push ebx
push esi
call fcn.10136630
mov edx, dword [esp + 0xac]
add esp, 0xc
mov dword [esi + 0x1dc], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcc
ret
mov ecx, dword [esp + 0x18]
push ecx
push eax
call fcn.10128b60
add esp, 8
test eax, eax
jne 0x1013467e
mov edx, dword [esp + 0x44]
test byte [edx + 0x18], 0x20
jne 0x1013467e
xor eax, eax
mov dword [esp + 0x18], eax
jmp 0x10134682
mov eax, dword [esp + 0x18]
mov cl, byte [ebx + 6]
and cl, 5
cmp cl, 1
jne 0x1013477b
mov edx, dword [ebx]
push edx
push eax
call fcn.10128b60
add esp, 8
test eax, eax
jne 0x10134777
mov ecx, dword [esp + 0x44]
and word [ebx + 6], 0xfffe
push eax
mov eax, dword [ebx]
push eax
push ecx
call fcn.10128570
add esp, 0xc
mov dword [ebx + 0x30], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 0
or edi, 0xffffffff
mov dword [esp + 0x10], edi
mov ecx, dword [esp + 0xe8]
cmp byte [ecx], 9
jne 0x101346f4
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
mov edx, dword [ecx + 4]
push eax
push edx
push 0x2a
push ebp
call fcn.10123750
add esp, 0x10
push ebp
call fcn.10124200
push eax
push ebx
mov dword [ebx + 0x20], 0
push esi
mov dword [esp + 0xb4], eax
mov dword [ebx + 0x24], 0x43e00000
call fcn.101364e0
mov eax, dword [ebx + 8]
add esp, 0x10
test eax, eax
jne 0x10134736
test edi, edi
jl 0x10134736
push edi
push ebp
call fcn.1012fbc0
add esp, 8
mov byte [eax], 0x2b
or byte [ebx + 6], 0x40
test byte [ebx + 6], 1
je 0x101347c7
mov edi, dword [esi + 0x48]
mov dword [esp + 0x60], edi
lea eax, [edi + 1]
mov dword [esi + 0x48], eax
mov ecx, dword [ebx]
push ecx
push esi
call fcn.10135ec0
push 0xfffffffffffffff0
push eax
push 0
push 0
push edi
push 0x2a
push ebp
call fcn.10122d70
push 8
push ebp
mov dword [esp + 0x58], eax
call fcn.10123c80
add esp, 0x2c
jmp 0x101347d2
mov eax, dword [esp + 0x18]
test eax, eax
je 0x101346cb
push eax
push esi
call fcn.10135ec0
mov ecx, dword [esp + 0x20]
mov edx, dword [esi + 0x48]
push 0xfffffffffffffff0
push eax
mov dword [ecx + 4], edx
mov edx, dword [esi + 0x48]
mov eax, dword [esp + 0x28]
inc edx
mov dword [esi + 0x48], edx
push 0
mov edx, dword [eax]
mov eax, dword [eax + 4]
add edx, 2
push edx
push eax
push 0x2a
push ebp
call fcn.10122d70
mov edi, eax
add esp, 0x24
mov dword [esp + 0x10], edi
mov dword [ebx + 0x18], edi
jmp 0x101346d2
or eax, 0xffffffff
mov dword [esp + 0x2c], eax
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
xor eax, eax
cmp ecx, eax
jne 0x10134a02
cmp edx, eax
jne 0x10134a02
cmp dword [esp + 0x40], eax
je 0x101347f4
mov eax, dword [ebx]
mov ecx, dword [esp + 0x58]
push 0
push eax
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x20]
push edx
push eax
push ecx
push esi
call fcn.1013ae10
mov edi, eax
add esp, 0x18
test edi, edi
mov dword [esp + 0x48], edi
je 0x1013545c
fld qword [edi + 0x30]
fcomp qword [ebx + 0x20]
fnstsw ax
test ah, 1
je 0x10134836
mov edx, dword [edi + 0x30]
mov dword [ebx + 0x20], edx
mov eax, dword [edi + 0x34]
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x1013485b
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x1013485b
mov ecx, dword [esp + 0x10]
push ecx
push ebp
call fcn.10117510
add esp, 8
mov dword [ebx + 0x18], 0xffffffff
mov al, byte [edi + 8]
test al, al
je 0x101349ca
mov edx, dword [esp + 0x2c]
push edx
push ebp
call fcn.1012fbc0
mov cl, byte [edi + 8]
add esp, 8
cmp cl, 2
mov dword [esp + 0x60], 0xffffffff
jne 0x101349c7
mov edx, dword [esi + 0x4c]
mov ecx, dword [esp + 0x28]
inc edx
push 1
mov edi, edx
mov dword [esi + 0x4c], edx
mov ecx, dword [ecx]
mov dword [esp + 0x70], edi
lea edx, [edi + 1]
mov dword [esp + 0x28], edx
add edx, ecx
lea ecx, [edi + ecx*2]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x28]
mov dword [esi + 0x4c], ecx
mov byte [eax], 7
mov dword [eax + 4], 1
mov dword [eax + 8], edi
mov eax, dword [esp + 0x2c]
push edx
push eax
push esi
call fcn.101265b0
push ebp
call fcn.10124270
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
lea eax, [eax + edx + 3]
mov dword [esp + 0x60], eax
dec eax
push eax
push edi
push 0x1b
push ebp
call fcn.10123750
mov eax, dword [esp + 0x4c]
add esp, 0x24
mov dword [esp + 0x3c], 0
cmp dword [eax], 0
jle 0x10134988
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
sub eax, edi
mov dword [esp + 0x10], 0
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
mov edx, dword [ecx + 8]
mov ecx, dword [eax + edx]
push ecx
push esi
call fcn.101250a0
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x54]
add edx, edi
push edx
push eax
push edi
push 0x4b
push ebp
call fcn.10122db0
mov ecx, dword [esp + 0x78]
push 0xfffffffffffffffc
push ecx
push 0xffffffffffffffff
push ebp
call fcn.10117560
push 0x80
push ebp
call fcn.10123c80
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x70]
add ecx, 0x14
add esp, 0x34
mov dword [esp + 0x10], ecx
mov ecx, dword [edx]
inc eax
inc edi
cmp eax, ecx
mov dword [esp + 0x3c], eax
jl 0x1013491a
mov edi, dword [esp + 0x6c]
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x14]
push ecx
push 0
push 1
push ebp
call fcn.10123750
push edi
push 0
push 7
push ebp
call fcn.10123750
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov eax, dword [edx]
mov edx, dword [esp + 0x44]
push eax
push ecx
push edx
push 0xd
push ebp
call fcn.10122db0
mov edi, dword [esp + 0x7c]
add esp, 0x34
jmp 0x101349ca
mov byte [eax], 0x95
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x14]
mov edx, dword [esp + 0xe8]
push eax
mov eax, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x34]
push eax
push ecx
push 0
push 0
push edx
push ebx
push esi
call fcn.10135940
push edi
call fcn.10140200
add esp, 0x2c
jmp 0x10135400
cmp edx, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], eax
je 0x10134a62
mov eax, dword [ebx]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
test ecx, ecx
jle 0x10134a2b
add eax, 0x10
mov word [eax], 0
add eax, 0x14
dec ecx
jne 0x10134a1c
mov edx, dword [esp + 0x20]
mov ecx, dword [edx]
mov edx, dword [edx + 8]
test ecx, ecx
jle 0x10134a42
lea eax, [edx + 0x10]
mov word [eax], 0
add eax, 0x14
dec ecx
jne 0x10134a37
fld qword [ebx + 0x20]
fcomp qword [0x10165388]
fnstsw ax
test ah, 0x41
jne 0x10134a6c
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0x40590000
jmp 0x10134a6c
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], 0x3ff00000
push ebp
call fcn.10124200
mov dword [esp + 0x6c], eax
mov ecx, 9
xor eax, eax
lea edi, [esp + 0xac]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x5c]
add esp, 4
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x78]
mov dword [esp + 0xa8], esi
test eax, eax
mov dword [esp + 0xc4], ecx
je 0x10134aba
mov edx, dword [eax]
inc edx
mov dword [esp + 0x84], edx
jmp 0x10134ac5
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0xa8]
push eax
push ecx
call fcn.101358b0
mov edx, dword [esp + 0x20]
lea eax, [esp + 0xb0]
push edx
push eax
call fcn.101358b0
mov eax, dword [esp + 0x4c]
xor edi, edi
add esp, 0x10
cmp eax, edi
je 0x10134b0e
lea ecx, [esp + 0xa8]
push eax
push ecx
call fcn.10135580
add esp, 8
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x90]
cmp eax, edi
mov dword [esp + 0x94], edx
mov dword [esp + 0x30], edi
jle 0x10134b60
mov eax, dword [esp + 0x98]
mov ecx, dword [edi + eax]
lea eax, [esp + 0xa8]
mov edx, dword [ecx + 0x10]
push edx
push eax
call fcn.101358b0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xa4]
add esp, 8
inc eax
add edi, 0x10
cmp eax, ecx
mov dword [esp + 0x30], eax
jl 0x10134b2b
mov ecx, dword [esp + 0x44]
mov al, byte [ecx + 0x36]
test al, al
jne 0x1013545c
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x10135196
mov eax, dword [esi + 0x48]
push ecx
mov dword [esp + 0x80], eax
inc eax
push esi
mov dword [esi + 0x48], eax
call fcn.10135ec0
mov edx, dword [esp + 0x8c]
push 0xfffffffffffffff0
mov dword [esp + 0x70], eax
push eax
mov eax, dword [esp + 0x8c]
push 0
push edx
push eax
push 0x2b
push ebp
call fcn.10122d70
mov dword [esp + 0x98], eax
mov eax, dword [esi + 0x4c]
inc eax
push ebp
mov dword [esp + 0x7c], eax
lea edi, [eax + 1]
mov dword [esp + 0x74], edi
inc edi
mov dword [esi + 0x4c], edi
call fcn.10124200
mov dword [esp + 0x98], eax
mov eax, dword [esi + 0x4c]
inc eax
push ebp
mov ecx, eax
mov dword [esi + 0x4c], eax
mov dword [esp + 0x98], ecx
call fcn.10124200
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x4c]
lea edx, [eax + 1]
mov dword [esp + 0x88], edx
mov edx, dword [ecx]
add eax, edx
mov dword [esi + 0x4c], eax
mov ecx, dword [ecx]
lea edx, [eax + 1]
add ecx, eax
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x78]
push edx
push 0
push 7
push ebp
mov dword [esi + 0x4c], ecx
call fcn.10123750
mov eax, dword [esp + 0x90]
push eax
push 0
push 7
push ebp
call fcn.10123750
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0xa8]
add esp, 0x4c
mov edx, dword [ecx]
lea ecx, [edx + eax - 1]
push ecx
push eax
push 0
push 0xa
push ebp
call fcn.10122db0
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x80]
push edx
push eax
push 2
push ebp
call fcn.10123750
push 0
push 0
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x84]
lea ecx, [esp + 0x4c]
push ecx
push edx
push eax
push esi
call fcn.1013ae10
add esp, 0x3c
mov dword [esp + 0x48], eax
test eax, eax
je 0x1013545c
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x10134cb5
mov ecx, dword [ebx + 0x30]
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], ecx
jmp 0x10134ed9
mov eax, dword [esp + 0x40]
test eax, eax
je 0x10134cc8
test byte [ebx + 6], 1
mov eax, str.DISTINCT
je 0x10134ccd
mov eax, str.GROUP_BY
push eax
push esi
call fcn.10135f60
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x98]
add esp, 8
mov dword [esp + 0x10], 1
mov eax, dword [edx]
mov dword [esp + 0x38], eax
inc eax
test ecx, ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x50], eax
jle 0x10134d27
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x14], ecx
add edx, 0xc
cmp dword [edx], eax
jl 0x10134d19
mov ecx, dword [esp + 0x50]
inc ecx
inc eax
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x14]
add edx, 0x18
dec ecx
mov dword [esp + 0x14], ecx
jne 0x10134d0b
mov eax, dword [esp + 0x50]
push eax
push esi
call fcn.10126c90
push esi
mov dword [esp + 0x4c], eax
call fcn.101354f0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x2c]
push 0
push ecx
push edx
push esi
call fcn.101265b0
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x98]
add eax, ecx
push eax
push edx
push 0x37
push ebp
call fcn.10123750
mov eax, dword [esp + 0x60]
add esp, 0x2c
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x90]
test eax, eax
mov dword [esp + 0x30], 0
jle 0x10134e21
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x8c]
add ecx, edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
cmp dword [edx + eax + 0xc], ecx
jl 0x10134e02
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, edx
mov edx, dword [ecx + eax + 4]
push edx
mov edx, dword [ecx + eax + 8]
mov eax, dword [ecx + eax]
push edx
push eax
push esi
call fcn.101263a0
mov ecx, dword [esp + 0x4c]
add esp, 0x14
cmp ecx, eax
je 0x10134de9
push ecx
push eax
push 0xf
push ebp
call fcn.10123750
add esp, 0x10
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
inc ecx
inc eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
add edx, 0x18
inc ecx
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x90]
cmp ecx, edx
mov dword [esp + 0x30], ecx
jl 0x10134da8
push esi
call fcn.10123790
mov edx, dword [esp + 0x54]
mov dword [esp + 0x18], eax
push eax
mov eax, dword [esp + 0x48]
push edx
push eax
push 0x1f
push ebp
call fcn.10122db0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x94]
push ecx
push edx
push 0x60
push ebp
call fcn.10123750
mov eax, dword [esp + 0x3c]
push eax
push esi
call fcn.101237c0
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x70]
push ecx
push edx
push esi
call fcn.10126cc0
mov eax, dword [esp + 0x84]
push eax
call fcn.10140200
mov eax, dword [esi + 0x48]
add esp, 0x40
mov dword [esp + 0x14], eax
mov dword [esp + 0x80], eax
inc eax
push esi
mov dword [esi + 0x48], eax
call fcn.10123790
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x18]
push ecx
push eax
push edx
push 0x2c
push ebp
mov dword [esp + 0x50], eax
call fcn.10122db0
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x94]
push eax
push ecx
push 0x46
push ebp
call fcn.10123750
push esi
mov byte [esp + 0xa5], 1
call fcn.101354f0
add esp, 0x2c
push ebp
call fcn.10124270
push esi
mov dword [esp + 0x48], eax
call fcn.101354f0
mov eax, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x10134f09
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x7c]
push edx
push eax
push 0x3e
push ebp
call fcn.10123750
add esp, 0x10
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], 0
cmp dword [eax], 0
jle 0x10134f8a
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x10134f54
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
lea edx, [eax + ecx]
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
push 0x1d
push ebp
call fcn.10122db0
mov eax, dword [esp + 0x48]
add esp, 0x14
test eax, eax
jne 0x10134f77
push 0x20
push ebp
call fcn.10123c80
add esp, 8
jmp 0x10134f77
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
add edx, ecx
mov byte [esp + 0x78], 1
push edx
mov edx, dword [eax + 8]
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + ecx*4]
push eax
push esi
call fcn.101244b0
add esp, 0xc
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
inc ecx
mov edx, dword [eax]
mov dword [esp + 0x34], ecx
cmp ecx, edx
jl 0x10134f1a
mov ecx, dword [esp + 0x64]
mov edx, dword [eax]
mov eax, dword [esp + 0x24]
push 0xfffffffffffffffa
push ecx
mov ecx, dword [esp + 0x64]
push edx
push eax
push ecx
push 0x18
push ebp
call fcn.10122d70
push ebp
call fcn.10124270
mov dword [esp + 0x84], eax
inc eax
push eax
push 0
push eax
push 0x19
push ebp
call fcn.10122db0
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x90]
mov eax, dword [edx]
mov edx, dword [esp + 0x58]
push eax
push ecx
push edx
push esi
call fcn.10135530
mov eax, dword [esp + 0xb4]
add esp, 0x44
push eax
push edi
push 2
push ebp
call fcn.10123750
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x5c]
push ecx
push edx
push 0x78
push ebp
call fcn.10123750
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x8c]
push eax
push ecx
push 2
push ebp
call fcn.10123750
mov edx, dword [esp + 0x94]
push edx
push ebp
call fcn.10123770
lea eax, [esp + 0xb0]
push eax
push esi
call fcn.10138400
mov ecx, dword [esp + 0x94]
add esp, 0x40
push ecx
push 1
push 7
push ebp
call fcn.10123750
mov eax, dword [esp + 0x20]
add esp, 0x10
test eax, eax
je 0x10135068
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x7c]
push edx
push eax
push 0x51
push ebp
call fcn.10123750
add esp, 0x10
jmp 0x10135080
mov ecx, dword [esp + 0x48]
push ecx
call fcn.10140200
mov edx, dword [esp + 0x78]
push edx
push ebp
call fcn.10117510
add esp, 0xc
mov eax, dword [esp + 0x70]
push eax
push edi
push 2
push ebp
call fcn.10123750
mov ecx, dword [esp + 0x78]
push ecx
push 0
push 1
push ebp
call fcn.10123750
push ebp
call fcn.10124270
mov edx, dword [esp + 0x70]
mov dword [esp + 0x98], eax
push edx
push 1
push 7
push ebp
call fcn.10123750
push edi
push 3
push ebp
call fcn.101241e0
mov eax, dword [esp + 0xb0]
add esp, 0x40
push eax
push ebp
call fcn.10124250
push ebp
call fcn.10124270
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x7c], eax
add eax, 2
push eax
push ecx
push 0x78
push ebp
call fcn.10123750
push edi
push 3
push ebp
call fcn.101241e0
lea edx, [esp + 0xa0]
push edx
push esi
call fcn.101383a0
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x6c]
inc eax
push 8
push eax
push ecx
push esi
mov dword [esp + 0xa4], eax
call fcn.10126620
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x128]
add esp, 0x40
push edx
mov edx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [ebx]
push edx
push eax
push 0
push 0
push ecx
push ebx
push esi
call fcn.10135940
push edi
push 3
push ebp
call fcn.101241e0
mov edx, dword [esp + 0x60]
push edx
push ebp
call fcn.10124250
lea eax, [esp + 0xb4]
push eax
push esi
call fcn.101382d0
mov ecx, dword [esp + 0xb0]
add esp, 0x44
push ecx
push 3
push ebp
call fcn.101241e0
mov edi, dword [esp + 0x74]
add esp, 0xc
jmp 0x101353f6
lea edx, [esp + 0x78]
mov dword [esp + 0x4c], 0
push edx
push ebx
call fcn.10138270
mov edi, eax
add esp, 8
test edi, edi
je 0x101352bd
mov eax, dword [edi + 0x44]
mov ecx, dword [esi]
push eax
push ecx
call fcn.1011d440
mov ecx, dword [esi + 0x48]
push eax
mov dword [esp + 0x60], ecx
inc ecx
mov dword [esi + 0x48], ecx
mov edx, dword [edi + 0x14]
xor ecx, ecx
push esi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x34], edx
call fcn.1012c3f0
mov eax, dword [edi]
mov ecx, dword [edi + 0x14]
mov edx, dword [esp + 0x6c]
push eax
push 0
push ecx
push edx
push esi
call fcn.10128e60
mov eax, dword [edi + 0x10]
add esp, 0x24
test eax, eax
je 0x10135252
mov ecx, dword [esp + 0x10]
mov dl, byte [eax + 0x2e]
test dl, dl
jne 0x10135220
test ecx, ecx
je 0x1013521e
mov edx, dword [eax + 0x24]
cmp edx, dword [ecx + 0x24]
jge 0x10135220
mov ecx, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x1013520b
test ecx, ecx
mov dword [esp + 0x10], ecx
je 0x10135252
mov eax, dword [ecx + 0x24]
mov ecx, dword [edi + 8]
cmp eax, ecx
jge 0x10135252
mov eax, dword [esp + 0x10]
push eax
push esi
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x2c], ecx
call fcn.1012c7f0
add esp, 8
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x54]
push edx
push eax
push ecx
push 0x27
push ebp
call fcn.10122db0
mov eax, dword [esp + 0x40]
add esp, 0x14
test eax, eax
je 0x10135284
mov edx, eax
push 0xfffffffffffffff0
push edx
push 0xffffffffffffffff
push ebp
call fcn.10117560
add esp, 0x10
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x54]
mov ecx, dword [eax + 8]
push ecx
push edx
push 0x20
push ebp
call fcn.10123750
mov eax, dword [esp + 0x64]
push eax
push 0x2d
push ebp
call fcn.101241e0
mov ecx, dword [esp + 0x2c]
push ecx
push edi
push esi
call fcn.10138610
add esp, 0x28
jmp 0x101353ab
push ebx
mov dword [esp + 0x14], 0
call fcn.101381f0
add esp, 4
mov byte [esp + 0x1f], al
test al, al
je 0x1013531f
mov edx, dword [ebx]
mov edi, dword [esp + 0x44]
push 0
mov eax, dword [edx + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push edx
push edi
call fcn.10128570
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x4c], eax
je 0x1013531f
mov cl, byte [edi + 0x36]
test cl, cl
jne 0x1013531f
mov cl, byte [esp + 0x1f]
mov edx, dword [eax + 8]
cmp cl, 1
setne cl
mov byte [edx + 0xc], cl
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov byte [edx], 0x98
lea eax, [esp + 0x78]
push eax
push esi
call fcn.101382d0
movzx cx, byte [esp + 0x27]
mov eax, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x64]
lea edx, [esp + 0x1c]
push 0
push edx
push eax
push ecx
push esi
call fcn.1013ae10
mov edi, eax
add esp, 0x20
test edi, edi
jne 0x10135368
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
push edx
push eax
call fcn.1011a450
add esp, 8
jmp 0x1013545c
lea ecx, [esp + 0x78]
push ecx
push esi
call fcn.10138400
mov eax, dword [esp + 0x18]
add esp, 8
test eax, eax
jne 0x10135397
mov al, byte [esp + 0x1f]
test al, al
je 0x10135397
mov edx, dword [edi + 0x18]
push edx
push 0
push 1
push ebp
call fcn.10123750
add esp, 0x10
push edi
call fcn.10140200
lea eax, [esp + 0x7c]
push eax
push esi
call fcn.101383a0
add esp, 0xc
mov edi, dword [esp + 0x68]
mov ecx, dword [esp + 0x3c]
push 8
push edi
push ecx
push esi
mov dword [esp + 0x28], 0
call fcn.10126620
mov edx, dword [esp + 0xf8]
mov eax, dword [ebx]
push edi
push edi
push edx
push 0xffffffffffffffff
push 0
push 0
push 0
push eax
push ebx
push esi
call fcn.10135940
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x7c]
push ecx
push edx
call fcn.1011a450
add esp, 0x40
push edi
push ebp
call fcn.10124250
add esp, 8
mov eax, dword [esp + 0x60]
test eax, eax
jl 0x10135416
push str.DISTINCT
push esi
call fcn.10135f60
add esp, 8
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10135443
push str.ORDER_BY
push esi
call fcn.10135f60
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0xf0]
push eax
mov edx, dword [ecx]
push edx
push ebp
push ebx
push esi
call fcn.10135fb0
add esp, 0x1c
mov eax, dword [esp + 0xa4]
push eax
push ebp
call fcn.10124250
add esp, 8
mov dword [esp + 0x50], 0
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0xa0]
test edi, edi
mov dword [esi + 0x1dc], ecx
jne 0x10135490
mov edx, dword [esp + 0xe8]
cmp byte [edx], 5
jne 0x10135490
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x58]
push eax
push ecx
push esi
call fcn.101362d0
add esp, 0xc
mov edx, dword [esp + 0x8c]
mov esi, dword [esp + 0x44]
push edx
push esi
call fcn.100f8b00
mov eax, dword [esp + 0xa0]
push eax
push esi
call fcn.100f8b00
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcc
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xcc
ret