Function at 0x10105ee0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x1f0]
mov dword [esp + 0xb8], eax
mov eax, dword [ebx + 0x1f4]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebx]
mov dword [ebx + 0x1f0], eax
inc eax
mov dword [esp + 0x44], 1
mov dword [ebx + 0x1f4], eax
mov dword [esp + 0x20], edi
test esi, esi
je 0x10107be3
cmp byte [edi + 0x40], 0
jne 0x10107be3
cmp dword [ebx + 0x44], 0
jne 0x10107be3
push 0
push 0
push 0
push 0x15
mov eax, ebx
call fcn.100e75a0
add esp, 0x10
test eax, eax
jne 0x10107be3
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], 4
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
ja 0x10105fc1
mov edx, dword [esi + 0x38]
push edx
push edi
call fcn.100dfd30
mov eax, 0xfffe
add esp, 8
and word [esi + 6], ax
mov dword [esi + 0x38], 0
push 0
push esi
push ebx
call fcn.101056a0
mov ecx, dword [esi + 0x38]
mov edx, dword [esi + 0x28]
mov eax, dword [esi]
add esp, 0xc
cmp dword [ebx + 0x44], 0
mov dword [esp + 0x28], ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
jne 0x10107aa1
cmp byte [edi + 0x40], 0
jne 0x10107aa1
mov ecx, esi
movzx eax, word [ecx + 6]
shr eax, 2
and eax, 1
mov edi, ebx
mov dword [esp + 0x30], eax
call fcn.10101930
mov esi, eax
mov dword [esp + 0x5c], esi
test esi, esi
je 0x10107a9d
mov ecx, dword [esp + 0x64]
cmp dword [ecx], 1
mov edx, dword [ebp + 0x10]
movzx eax, byte [edx]
jle 0x10106045
cmp eax, 6
je 0x10106033
cmp eax, 7
jne 0x10106045
push str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
call fcn.100b69f0
add esp, 4
jmp 0x10107a9d
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov dword [esp + 0x2c], eax
cmp dword [ecx + 0x3c], eax
jne 0x1010649b
jmp 0x10106064
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x60]
movzx edi, byte [edx]
cmp eax, edi
jge 0x1010649b
lea eax, [eax + eax*8]
lea eax, [edx + eax*8 + 8]
mov dword [esp + 0x10], eax
mov eax, dword [eax + 0x14]
mov dword [esp + 0x18], eax
test eax, eax
je 0x10106488
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x3c], eax
test eax, eax
je 0x101060fd
test byte [ecx + 0x24], 4
jne 0x10106488
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0x24], edx
mov dword [esp + 0x40], eax
jg 0x101060cc
mov edi, esi
call fcn.100cf4d0
test eax, eax
jne 0x10106488
mov eax, dword [esp + 0x40]
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [esp + 0x24]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x11
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
jmp 0x10106488
mov ecx, dword [ebp + 0xc]
call fcn.100dec00
add dword [ebx + 0x1ec], eax
mov edx, dword [esp + 0x18]
movzx edi, word [edx + 6]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
shr edi, 2
and edi, 1
push edi
push eax
mov eax, dword [ebp + 0xc]
push ecx
push ebx
call fcn.101041c0
add esp, 0x10
test eax, eax
je 0x10106155
test edi, edi
je 0x10106148
mov eax, dword [ebp + 0xc]
or word [eax + 6], 4
mov dword [esp + 0x30], 1
mov dword [esp + 0x2c], 0xffffffff
jmp 0x10106454
mov edx, dword [esp + 0x60]
cmp byte [edx], 1
jne 0x10106336
mov ecx, dword [ebp + 0xc]
mov eax, 0x100
test word [ecx + 6], ax
jne 0x10106336
mov edx, eax
mov eax, dword [esp + 0x20]
test word [eax + 0x3c], dx
jne 0x10106336
mov edi, dword [esp + 0x10]
mov ecx, 1
add dword [ebx + 0x4c], ecx
mov eax, dword [ebx + 0x4c]
mov dword [edi + 0x1c], eax
add dword [ebx + 0x4c], ecx
mov ecx, dword [ebx + 0x4c]
push 0xffffffffffffffff
mov eax, ebx
mov dword [esp + 0x5c], ecx
call fcn.100ed6a0
add esp, 4
push 0x10
mov eax, esi
call fcn.100cf5b0
mov edx, dword [edi + 0x2c]
add esp, 4
push edx
push 0x37
mov eax, esi
call fcn.100cf600
mov ecx, dword [esi + 4]
add esp, 8
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x101061de
mov edx, dword [esi + 0x1c]
lea edx, [edx + edx*4]
mov byte [ecx + edx*4 - 0x11], 1
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov dword [esp + 0x40], eax
jg 0x101061fc
mov edi, esi
call fcn.100cf4d0
test eax, eax
jne 0x10106223
mov eax, dword [esp + 0x40]
mov edx, dword [esi + 4]
xor ecx, ecx
inc dword [esi + 0x1c]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x58]
mov byte [eax], 0x17
mov byte [eax + 3], cl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x10106235
mov eax, dword [esi + 0x1c]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 1
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0x1c]
mov cl, byte [ebx + 0x1f4]
mov dword [esp + 0xb4], eax
xor eax, eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0xb0]
push edx
push eax
mov byte [esp + 0xb8], 0xa
mov byte [esp + 0xb9], 0
push ebx
mov byte [edi + 0x28], cl
call fcn.10105ee0
mov edx, dword [esp + 0x24]
mov ecx, dword [edi + 0x10]
mov eax, dword [edx + 0x20]
mov dword [ecx + 0x1c], eax
mov ecx, dword [esp + 0x20]
or dword [edi + 0x24], 4
add esp, 0xc
cmp dword [esi + 0x1c], ecx
jbe 0x101062af
mov eax, ecx
mov ecx, dword [esp + 0xb8]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
mov dword [eax + edx*4 + 8], ecx
mov eax, dword [esp + 0x14]
cmp dword [esi + 0x1c], eax
jbe 0x101062c9
mov ecx, dword [esp + 0xbc]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
mov dword [eax + edx*4 + 0xc], ecx
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov dword [esp + 0x40], eax
jg 0x101062e8
mov edi, esi
call fcn.100cf4d0
mov edi, dword [esp + 0x10]
test eax, eax
jne 0x10106315
mov eax, dword [esp + 0x40]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov ecx, 1
add dword [esi + 0x1c], ecx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x17
mov byte [eax + 3], 0
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov edx, dword [edi + 0x1c]
push edx
push 0x14
mov eax, esi
call fcn.100cf600
mov eax, dword [esp + 0x1c]
add esp, 8
dec eax
mov edx, esi
call fcn.100cfb20
jmp 0x10106449
inc dword [ebx + 0x4c]
mov edx, dword [ebx + 0x4c]
mov eax, dword [esp + 0x10]
mov dword [eax + 0x1c], edx
mov ecx, dword [esi + 0x1c]
cmp dword [esi + 0x20], ecx
mov dword [esp + 0x38], 0
mov dword [esp + 0x58], edx
mov dword [esp + 0x40], ecx
jg 0x10106378
mov edi, esi
call fcn.100cf4d0
test eax, eax
je 0x10106370
mov dword [esp + 0x14], 1
jmp 0x101063a1
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x58]
mov edi, dword [esi + 4]
inc dword [esi + 0x1c]
lea eax, [ecx + ecx*4]
lea eax, [edi + eax*4]
xor edi, edi
mov byte [eax], 0x17
mov byte [eax + 3], 0
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
inc ecx
test byte [edi + 0x24], 2
mov dword [edi + 0x18], ecx
jne 0x101063be
mov eax, ebx
call fcn.100e0360
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x2c]
mov ecx, dword [esp + 0x18]
mov dl, byte [ebx + 0x1f4]
mov dword [esp + 0xb4], eax
xor eax, eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
lea eax, [esp + 0xb0]
push eax
push ecx
mov byte [esp + 0xb8], 9
mov byte [esp + 0xb9], 0
push ebx
mov byte [edi + 0x28], dl
call fcn.10105ee0
mov eax, dword [esp + 0x24]
mov edx, dword [edi + 0x10]
mov ecx, dword [eax + 0x20]
add esp, 0xc
cmp dword [esp + 0x38], 0
mov dword [edx + 0x1c], ecx
je 0x10106426
mov eax, dword [esp + 0x38]
mov edx, esi
call fcn.100cfb20
mov edx, dword [edi + 0x1c]
push edx
push 0x12
mov eax, esi
call fcn.100cf600
mov ecx, dword [esp + 0x1c]
add esp, 8
cmp dword [esi + 0x1c], ecx
jbe 0x10106449
lea edx, [ecx + ecx*4]
mov ecx, dword [esi + 4]
mov dword [ecx + edx*4 + 4], eax
mov dword [ebx + 0x3c], 0
mov byte [ebx + 0x13], 0
mov edi, dword [esp + 0x20]
cmp byte [edi + 0x40], 0
jne 0x10107aa1
mov edi, dword [ebp + 0xc]
mov ecx, edi
call fcn.100dec00
sub dword [ebx + 0x1ec], eax
mov eax, dword [ebp + 0x10]
cmp byte [eax], 4
mov edx, dword [edi + 0x28]
mov dword [esp + 0x60], edx
jbe 0x10106488
mov ecx, dword [edi + 0x38]
mov dword [esp + 0x28], ecx
mov edx, dword [ebp + 0xc]
inc dword [esp + 0x2c]
cmp dword [edx + 0x3c], 0
mov ecx, edx
je 0x10106060
mov eax, dword [ecx]
mov edx, dword [ecx + 0x2c]
mov dword [esp + 0x64], eax
mov eax, dword [ecx + 0x30]
mov dword [esp + 0x10], eax
mov al, byte [ecx + 6]
mov dword [esp + 0x4c], edx
mov edx, dword [ecx + 0x34]
and al, 1
cmp dword [ecx + 0x3c], 0
mov dword [esp + 0x40], edx
mov byte [esp + 0xa4], al
je 0x10106529
cmp dword [ecx + 0x44], 0
jne 0x10106507
xor edx, edx
xor esi, esi
mov eax, ecx
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], ecx
mov edx, eax
mov eax, dword [eax + 0x3c]
inc esi
test eax, eax
jne 0x101064d4
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x68]
test eax, eax
je 0x10106507
cmp esi, eax
jle 0x10106507
push str.too_many_terms_in_compound_SELECT
mov edi, ebx
call fcn.100b69f0
add esp, 4
jmp 0x10107a9d
mov edx, dword [ebp + 0x10]
push edx
push ecx
push ebx
call fcn.10101c40
mov ecx, dword [esp + 0xcc]
add esp, 0xc
mov dword [ebx + 0x1f0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
push 0xffffffffffffffff
push edx
call fcn.100e3960
add esp, 8
test eax, eax
jne 0x10106552
mov eax, dword [esp + 0x20]
test byte [eax + 0x3c], 4
jne 0x10106552
mov dword [esp + 0x28], 0
mov edi, dword [ebp + 0xc]
mov cl, byte [edi + 6]
and cl, 5
cmp cl, 1
jne 0x101066bf
mov edx, edi
mov eax, dword [edx]
mov edi, dword [esp + 0x28]
push 0xffffffffffffffff
push eax
call fcn.100e3960
mov edi, dword [ebp + 0xc]
add esp, 8
test eax, eax
jne 0x101066bf
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push edx
mov ecx, 0xfffe
and word [edi + 6], cx
push eax
call fcn.100df5b0
add esp, 0xc
mov dword [edi + 0x30], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [ebp + 0x10]
cmp byte [eax], 9
jne 0x10106616
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x24], eax
jg 0x101065ea
mov edi, esi
call fcn.100cf4d0
mov edi, dword [ebp + 0xc]
test eax, eax
jne 0x10106616
mov eax, dword [esp + 0x24]
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x54]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x35
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, esi
call fcn.100cf7e0
push eax
mov dword [esp + 0xe8], eax
push edi
mov eax, ebx
mov dword [edi + 0x20], 0xffffffff
mov dword [edi + 0x24], bind
call fcn.10101960
add esp, 8
cmp dword [edi + 8], 0
jne 0x1010665e
cmp dword [esp + 0x14], 0
jl 0x1010665e
mov eax, dword [esp + 0x14]
mov ecx, esi
call fcn.100cfe70
mov byte [eax], 0x36
or word [edi + 6], 0x40
test byte [edi + 6], 1
je 0x1010670c
mov eax, dword [ebx + 0x48]
mov edi, eax
inc eax
mov dword [ebx + 0x48], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push 0xfffffffffffffffa
push ecx
push ebx
mov dword [esp + 0xb4], edi
call fcn.101004a0
add esp, 8
push eax
mov edx, edi
push 0x35
xor eax, eax
xor ecx, ecx
mov edi, esi
call fcn.100cf670
mov dword [esp + 0xb8], eax
mov eax, dword [esi + 4]
add esp, 0xc
test eax, eax
je 0x101066b5
mov ecx, dword [esi + 0x1c]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 - 0x11], 8
mov byte [esp + 0xa5], 3
jmp 0x10106714
cmp dword [esp + 0x28], 0
je 0x101065ab
mov edi, dword [esp + 0x28]
push ebx
mov eax, edi
call fcn.101004a0
mov ecx, dword [ebx + 0x48]
mov dword [edi + 4], ecx
inc dword [ebx + 0x48]
mov ecx, dword [edi]
mov edx, dword [edi + 4]
add esp, 4
push 0xfffffffffffffffa
push eax
add ecx, 2
push 0x35
xor eax, eax
mov edi, esi
call fcn.100cf670
mov edx, dword [ebp + 0xc]
add esp, 0xc
mov dword [esp + 0x14], eax
mov dword [edx + 0x18], eax
mov edi, edx
jmp 0x101065b3
mov byte [esp + 0xa5], 0
xor edi, edi
cmp dword [esp + 0x30], edi
jne 0x10106812
cmp dword [esp + 0x10], edi
jne 0x10106812
movzx edx, byte [esp + 0xa4]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [esp + 0x4c]
neg edx
push edi
sbb edx, edx
and edx, 0x400
push edx
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
push eax
push ecx
push ebx
call fcn.10114b20
mov edi, eax
add esp, 0x1c
test edi, edi
je 0x10107a9d
mov ax, word [edi + 0x20]
call fcn.100b7b70
mov ecx, dword [ebp + 0xc]
cmp edx, dword [ecx + 0x24]
ja 0x10106784
jb 0x1010677e
cmp eax, dword [ecx + 0x20]
jae 0x10106784
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], edx
cmp byte [esp + 0xa4], 0
je 0x1010679c
mov al, byte [edi + 0x27]
test al, al
je 0x1010679c
mov byte [esp + 0xa5], al
cmp dword [esp + 0x28], 0
je 0x101067b1
cmp byte [edi + 0x24], 0
je 0x101067b1
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x14]
test eax, eax
jl 0x101067d8
cmp dword [esp + 0x28], 0
jne 0x101067d8
push esi
mov ebx, eax
call fcn.100cfcd0
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
add esp, 4
mov dword [edx + 0x18], 0xffffffff
mov eax, dword [edi + 0x34]
mov ecx, dword [edi + 0x30]
mov edx, dword [ebp + 0x10]
push eax
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x70]
lea eax, [esp + 0xb0]
push eax
mov eax, dword [ebp + 0xc]
push ecx
push 0
push 0
push edx
push eax
push ebx
call fcn.100ffc20
push edi
call fcn.10115390
add esp, 0x2c
jmp 0x10107a34
mov dword [esp + 0x48], edi
mov dword [esp + 0x1c], edi
cmp dword [esp + 0x10], edi
je 0x10106878
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx]
mov eax, dword [ecx]
cmp eax, edi
mov ecx, dword [ecx + 8]
jle 0x10106841
add ecx, 0x16
xor edx, edx
mov word [ecx], dx
dec eax
add ecx, 0x18
cmp eax, edi
jg 0x10106831
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
cmp eax, edi
mov ecx, dword [ecx + 8]
jle 0x10106861
add ecx, 0x16
xor edx, edx
mov word [ecx], dx
dec eax
add ecx, 0x18
cmp eax, edi
jg 0x10106851
mov edx, dword [ebp + 0xc]
mov eax, 0x64
cmp dword [edx + 0x24], edi
ja 0x10106870
cmp dword [edx + 0x20], eax
jbe 0x10106885
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], edi
jmp 0x10106885
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x20], 1
mov dword [eax + 0x24], edi
mov eax, esi
call fcn.100cf7e0
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x7c]
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xd0], ecx
cmp eax, edi
je 0x101068fb
mov edx, dword [eax]
inc edx
mov dword [esp + 0x88], edx
jmp 0x10106902
mov dword [esp + 0x88], edi
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x64]
lea ecx, [esp + 0xc4]
push ecx
mov dword [esp + 0x90], eax
call fcn.100e3e10
mov ebx, dword [esp + 0x2c]
lea edx, [esp + 0xc8]
add esp, 4
push edx
call fcn.100e3e10
mov ecx, dword [esp + 0x44]
xor edi, edi
add esp, 4
cmp ecx, edi
je 0x1010694f
lea eax, [esp + 0xc4]
push eax
call fcn.100e3dc0
add esp, 4
cmp dword [esp + 0xa0], edi
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x2c], edi
jle 0x101069b2
lea ebx, [ebx]
or byte [esp + 0xe0], 8
mov edx, dword [esp + 0x9c]
mov eax, dword [edi + edx]
mov ebx, dword [eax + 0x14]
lea ecx, [esp + 0xc4]
push ecx
call fcn.100e3e10
mov eax, dword [esp + 0x30]
and byte [esp + 0xe4], 0xf7
inc eax
add esp, 4
add edi, 0x10
cmp eax, dword [esp + 0xa0]
mov dword [esp + 0x2c], eax
jl 0x10106970
mov edx, dword [esp + 0x20]
cmp byte [edx + 0x40], 0
jne 0x10107a9a
mov eax, dword [esp + 0x10]
test eax, eax
je 0x101076e4
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x48]
mov dword [esp + 0x80], ecx
inc ecx
push edx
mov dword [edx + 0x48], ecx
call fcn.101004a0
mov ebx, dword [esi + 0x1c]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x8c]
add esp, 4
cmp dword [esi + 0x20], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], ecx
jg 0x10106a1e
mov edi, esi
call fcn.100cf4d0
test eax, eax
je 0x10106a1e
mov eax, 1
mov dword [esp + 0x38], eax
jmp 0x10106a50
mov eax, dword [esi + 4]
inc dword [esi + 0x1c]
mov ecx, dword [esp + 0x24]
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x36
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov dword [esp + 0x38], ebx
mov eax, ebx
mov ebx, dword [esi + 4]
mov edi, dword [esi]
test ebx, ebx
je 0x10106a98
cmp byte [edi + 0x40], 0
jne 0x10106a98
test eax, eax
jge 0x10106a67
mov eax, dword [esi + 0x1c]
dec eax
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*4 + 0x10]
lea ebx, [ebx + eax*4]
movsx eax, byte [ebx + 1]
call fcn.100cfb40
mov eax, dword [esp + 0x74]
xor ecx, ecx
mov dword [ebx + 0x10], ecx
cmp eax, ecx
jne 0x10106a8f
mov dword [ebx + 0x10], ecx
mov byte [ebx + 1], cl
jmp 0x10106aa6
mov dword [ebx + 0x10], eax
mov byte [ebx + 1], 0xfa
jmp 0x10106aa6
mov ecx, dword [esp + 0x74]
mov eax, 0xfffffffa
call fcn.100cfb40
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x4c]
inc eax
lea edi, [eax + 1]
mov dword [esp + 0x3c], eax
lea eax, [edi + 1]
mov dword [esp + 0x70], eax
mov dword [ebx + 0x4c], eax
mov eax, esi
mov dword [esp + 0x68], edi
call fcn.100cf7e0
inc dword [ebx + 0x4c]
mov ecx, dword [ebx + 0x4c]
mov dword [esp + 0x54], eax
mov eax, esi
mov dword [esp + 0x58], ecx
call fcn.100cf7e0
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x4c]
lea edx, [eax + 1]
mov dword [esp + 0x6c], edx
mov edx, dword [ecx]
add eax, edx
mov dword [ebx + 0x4c], eax
mov ecx, dword [ecx]
add ecx, eax
lea edx, [eax + 1]
mov dword [ebx + 0x4c], ecx
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov dword [esp + 0x78], edx
mov dword [esp + 0x30], eax
jg 0x10106b24
mov edi, esi
call fcn.100cf4d0
test eax, eax
jne 0x10106b48
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x30]
inc dword [esi + 0x1c]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
xor ecx, ecx
mov byte [eax], 0x17
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov dword [esp + 0x30], eax
jg 0x10106b63
mov edi, esi
call fcn.100cf4d0
test eax, eax
jne 0x10106b8e
mov eax, dword [esp + 0x30]
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x3c]
xor edi, edi
mov byte [eax], 0x17
mov byte [eax + 3], 0
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
jmp 0x10106b90
xor edi, edi
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x6c]
mov ecx, dword [edx]
lea edx, [ecx + eax - 1]
push edx
push eax
push edi
push 0x1a
mov eax, esi
call fcn.100cf550
mov eax, dword [esi + 0x1c]
add esp, 0x10
cmp dword [esi + 0x20], eax
mov dword [esp + 0x30], eax
jg 0x10106bca
mov edi, esi
call fcn.100cf4d0
xor edi, edi
test eax, eax
jne 0x10106bf5
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [esp + 0x58]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x24]
mov byte [eax], 0x11
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x60]
push edi
push 0x100
push edi
push edx
push eax
push ecx
push ebx
call fcn.10114b20
add esp, 0x1c
mov dword [esp + 0x4c], eax
cmp eax, edi
je 0x10107a9a
cmp byte [eax + 0x24], 0
je 0x10106c33
mov dword [esp + 0x30], 0
jmp 0x10107012
cmp byte [esp + 0xa4], 0
je 0x10106c4b
mov edx, dword [ebp + 0xc]
test byte [edx + 6], 1
mov eax, str.DISTINCT
je 0x10106c50
mov eax, str.GROUP_BY
mov ecx, ebx
call fcn.10100550
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov edx, dword [esp + 0x94]
mov dword [esp + 0x50], eax
inc eax
mov dword [esp + 0x30], 1
mov dword [esp + 0x2c], eax
mov ecx, eax
mov dword [esp + 0x44], eax
test edx, edx
jle 0x10106c9b
mov edi, dword [esp + 0x90]
add edi, 0xc
cmp dword [edi], eax
jl 0x10106c8f
inc ecx
inc eax
add edi, 0x18
sub edx, 1
jne 0x10106c89
mov dword [esp + 0x44], ecx
mov eax, dword [ebx + 0x3c]
cmp ecx, eax
mov edi, dword [ebx + 0x40]
mov dword [esp + 0x18], edi
jg 0x10106cb6
lea edx, [ecx + edi]
sub eax, ecx
mov dword [ebx + 0x40], edx
mov dword [ebx + 0x3c], eax
jmp 0x10106cc5
mov eax, dword [ebx + 0x4c]
lea edi, [eax + 1]
add eax, ecx
mov dword [esp + 0x18], edi
mov dword [ebx + 0x4c], eax
mov edx, ebx
call fcn.100e1980
mov edx, dword [esp + 0x10]
push edi
push ebx
xor cl, cl
call fcn.100e2f70
mov eax, dword [esp + 0x88]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x1c]
add esp, 8
cmp dword [esi + 0x20], eax
mov dword [esp + 0x48], eax
jg 0x10106d06
mov edi, esi
call fcn.100cf4d0
test eax, eax
jne 0x10106d34
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x18]
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x50]
add edi, edx
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x42
mov byte [eax + 3], 0
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov ecx, dword [esp + 0x2c]
xor edi, edi
cmp dword [esp + 0x94], edi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x2c], edi
jle 0x10106e16
mov eax, dword [esp + 0x18]
add eax, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x48], edi
cmp dword [edi + eax + 0xc], ecx
jl 0x10106dfa
mov ecx, dword [esp + 0x1c]
mov edx, dword [edi + eax + 4]
push 0
push ecx
mov ecx, dword [edi + eax + 8]
push edx
mov edx, dword [edi + eax]
push ecx
push edx
mov eax, ebx
call fcn.100e18d0
add esp, 0x14
mov dword [esp + 0xc], eax
cmp dword [esp + 0x1c], eax
je 0x10106de2
mov ecx, dword [esi + 0x1c]
cmp dword [esi + 0x20], ecx
mov dword [esp + 0x34], ecx
jg 0x10106dba
mov edi, esi
call fcn.100cf4d0
mov edi, dword [esp + 0x48]
test eax, eax
jne 0x10106de2
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0xc]
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*4]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + 8], eax
xor eax, eax
mov byte [ecx], 0x1f
mov byte [ecx + 3], 0
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], al
mov eax, 1
add dword [esp + 0x50], eax
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x50]
inc dword [esp + 0x2c]
mov edx, dword [esp + 0x94]
add edi, 0x18
cmp dword [esp + 0x2c], edx
mov dword [esp + 0x48], edi
jl 0x10106d64
mov al, byte [ebx + 0x13]
test al, al
jne 0x10106e25
inc dword [ebx + 0x4c]
mov ecx, dword [ebx + 0x4c]
jmp 0x10106e31
dec al
mov byte [ebx + 0x13], al
movzx eax, al
mov ecx, dword [ebx + eax*4 + 0x1c]
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xc], eax
jg 0x10106e54
mov edi, esi
call fcn.100cf4d0
mov ecx, dword [esp + 0x1c]
test eax, eax
jne 0x10106e83
mov eax, dword [esp + 0xc]
inc dword [esi + 0x1c]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x18]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x44]
mov byte [eax], 0x2d
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov eax, dword [esp + 0x80]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov dword [esp + 0xc], eax
jg 0x10106ead
mov edi, esi
call fcn.100cf4d0
mov ecx, dword [esp + 0x1c]
test eax, eax
jne 0x10106ed5
mov eax, dword [esp + 0xc]
inc dword [esi + 0x1c]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x34]
mov dword [eax + 4], edx
xor edx, edx
mov byte [eax], 0x68
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
mov edi, dword [esp + 0x44]
test ecx, ecx
je 0x10106f08
mov dl, byte [ebx + 0x13]
cmp dl, 8
jae 0x10106f08
xor eax, eax
lea esi, [ebx + 0x68]
lea ebx, [ebx]
cmp dword [esi + 0x10], ecx
je 0x10106f5a
inc eax
add esi, 0x18
cmp eax, 0xa
jl 0x10106ef0
movzx eax, dl
mov dword [ebx + eax*4 + 0x1c], ecx
inc byte [ebx + 0x13]
mov ecx, dword [esp + 0x18]
push ecx
mov eax, edi
mov esi, ebx
call fcn.100e1780
add esp, 4
cmp edi, dword [esi + 0x3c]
jle 0x10106f28
mov edx, dword [esp + 0x18]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edx
mov eax, dword [esp + 0x4c]
push eax
call fcn.10115390
mov eax, dword [esi + 0x48]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x88], eax
inc eax
mov dword [esi + 0x48], eax
mov al, byte [esi + 0x13]
add esp, 4
test al, al
jne 0x10106f60
inc dword [esi + 0x4c]
mov ecx, dword [esi + 0x4c]
mov dword [esp + 0x1c], ecx
jmp 0x10106f70
mov byte [esi + 8], 1
jmp 0x10106f08
dec al
movzx edx, al
mov byte [esi + 0x13], al
mov eax, dword [esi + edx*4 + 0x1c]
mov dword [esp + 0x1c], eax
mov edi, dword [esp + 0x5c]
mov ebx, dword [edi + 0x1c]
cmp dword [edi + 0x20], ebx
jg 0x10106f85
call fcn.100cf4d0
test eax, eax
jne 0x10106fb8
mov edx, dword [edi + 4]
inc dword [edi + 0x1c]
lea ecx, [ebx + ebx*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x44]
mov byte [eax], 0x37
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov ebx, dword [edi + 0x1c]
cmp dword [edi + 0x20], ebx
mov edx, dword [esp + 0x80]
mov dword [esp + 0xc], edx
jg 0x10106fd4
call fcn.100cf4d0
test eax, eax
jne 0x10107000
mov ecx, dword [edi + 4]
inc dword [edi + 0x1c]
mov edx, dword [esp + 0xc]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x14]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x65
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov edx, esi
mov byte [esp + 0x7d], 1
call fcn.100e1980
mov esi, dword [esp + 0x5c]
mov ebx, edx
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x44], edx
mov edx, ebx
call fcn.100e1980
cmp dword [esp + 0x30], 0
je 0x10107079
mov eax, dword [esp + 0x80]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov dword [esp + 0xc], eax
jg 0x1010704d
mov edi, esi
call fcn.100cf4d0
test eax, eax
jne 0x10107079
mov eax, dword [esp + 0xc]
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x5d
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esp + 0x10]
xor edi, edi
cmp dword [eax], edi
mov dword [esp + 0x50], edi
jle 0x10107138
jmp 0x10107090
cmp dword [esp + 0x30], 0
je 0x10107100
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov dword [esp + 0xc], eax
jg 0x101070b6
mov edi, esi
call fcn.100cf4d0
mov edi, dword [esp + 0x50]
test eax, eax
jne 0x101070e8
mov eax, dword [esp + 0xc]
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x78]
mov dword [eax + 4], ecx
lea ecx, [edi + edx]
mov byte [eax], 0x2b
mov byte [eax + 3], 0
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
test edi, edi
jne 0x10107127
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x10107127
mov eax, dword [esi + 0x1c]
lea edx, [eax + eax*4]
mov byte [ecx + edx*4 - 0x11], 0x20
jmp 0x10107127
mov eax, dword [esp + 0x78]
lea ecx, [edi + eax]
mov eax, dword [esp + 0x10]
push ecx
mov byte [esp + 0x80], 1
mov ecx, dword [eax + 8]
lea edx, [edi + edi*2]
mov edx, dword [ecx + edx*8]
push edx
push ebx
call fcn.100e2e10
add esp, 0xc
mov eax, dword [esp + 0x10]
inc edi
cmp edi, dword [eax]
mov dword [esp + 0x50], edi
jl 0x10107090
mov eax, dword [esp + 0x74]
test eax, eax
je 0x10107142
inc dword [eax]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esi + 0x1c]
cmp dword [esi + 0x20], ebx
mov edx, dword [ecx]
mov dword [esp + 0xc], edx
jg 0x10107166
mov edi, esi
call fcn.100cf4d0
test eax, eax
je 0x10107166
mov ebx, 1
jmp 0x10107199
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [esp + 0x6c]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x78]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xc]
mov byte [eax], 0x26
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov ecx, dword [esi + 4]
mov edi, dword [esi]
mov eax, ebx
test ecx, ecx
je 0x101071e2
cmp byte [edi + 0x40], 0
jne 0x101071e2
test ebx, ebx
jge 0x101071b2
mov eax, dword [esi + 0x1c]
dec eax
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*4]
movsx eax, byte [ebx + 1]
mov ecx, dword [ebx + 0x10]
call fcn.100cfb40
mov eax, dword [esp + 0x74]
xor ecx, ecx
mov dword [ebx + 0x10], ecx
cmp eax, ecx
jne 0x101071d9
mov dword [ebx + 0x10], ecx
mov byte [ebx + 1], cl
jmp 0x101071f0
mov dword [ebx + 0x10], eax
mov byte [ebx + 1], 0xfa
jmp 0x101071f0
mov ecx, dword [esp + 0x74]
mov eax, 0xfffffffa
call fcn.100cfb40
mov ebx, dword [esi + 0x1c]
cmp dword [esi + 0x20], ebx
mov dword [esp + 0x34], ebx
jg 0x10107207
mov edi, esi
call fcn.100cf4d0
test eax, eax
jne 0x1010722e
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea ecx, [ebx + ebx*4]
lea eax, [edx + ecx*4]
xor edx, edx
lea ecx, [ebx + 1]
mov byte [eax], 0x27
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov ebx, dword [esp + 0x6c]
mov esi, dword [esp + 0x78]
mov edi, dword [ebp + 8]
push ecx
call fcn.100e19d0
mov esi, dword [esp + 0x60]
mov ebx, dword [esi + 0x1c]
add esp, 4
cmp dword [esi + 0x20], ebx
jg 0x1010725f
mov edi, esi
call fcn.100cf4d0
test eax, eax
jne 0x1010728c
mov eax, dword [esi + 4]
inc dword [esi + 0x1c]
mov ecx, dword [esp + 0x70]
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x54]
xor ebx, ebx
mov byte [eax], 0x11
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
jmp 0x1010728e
xor ebx, ebx
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov dword [esp + 0xc], eax
jg 0x101072a9
mov edi, esi
call fcn.100cf4d0
test eax, eax
jne 0x101072d2
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [esp + 0x68]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x14]
mov byte [eax], 0x80
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov dword [esp + 0xc], eax
jg 0x101072ed
mov edi, esi
call fcn.100cf4d0
test eax, eax
jne 0x10107316
mov eax, dword [esp + 0xc]
inc dword [esi + 0x1c]
mov ecx, dword [esp + 0x58]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x24]
mov byte [eax], 0x11
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esp + 0x34]
cmp eax, ebx
jl 0x1010732f
mov ecx, dword [esi + 0x1c]
cmp ecx, eax
jbe 0x1010732f
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
mov dword [edx + eax*4 + 8], ecx
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x7c]
push eax
push ecx
call fcn.10105a30
mov eax, dword [esi + 0x1c]
add esp, 8
cmp dword [esi + 0x20], eax
mov dword [esp + 0xc], eax
jg 0x1010735b
mov edi, esi
call fcn.100cf4d0
test eax, eax
jne 0x10107385
mov eax, dword [esp + 0xc]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov ecx, 1
add dword [esi + 0x1c], ecx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x3c]
mov byte [eax], 0x17
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
cmp dword [esp + 0x30], ebx
je 0x101073e0
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov edx, dword [esp + 0x80]
mov dword [esp + 0x34], edx
mov dword [esp + 0xc], eax
jg 0x101073b5
mov edi, esi
call fcn.100cf4d0
test eax, eax
jne 0x10107432
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [esp + 0x34]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x44]
mov byte [eax], 5
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
jmp 0x10107432
mov edx, dword [esp + 0x4c]
push edx
call fcn.10115390
mov ecx, dword [esi + 4]
add esp, 4
cmp ecx, ebx
je 0x10107432
mov eax, dword [esp + 0x38]
mov edi, dword [esi]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
movsx eax, byte [ecx + 1]
mov dword [esp + 0xc], ecx
mov ecx, dword [ecx + 0x10]
call fcn.100cfb40
mov eax, dword [esp + 0xc]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax], 0x97
mov eax, dword [esi + 0x1c]
dec eax
cmp dword [esp + 0x38], eax
jne 0x10107432
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov dword [esp + 0xc], eax
jg 0x1010744d
mov edi, esi
call fcn.100cf4d0
test eax, eax
jne 0x10107476
mov eax, dword [esp + 0xc]
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x54]
mov byte [eax], 0x11
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov dword [esp + 0xc], eax
jg 0x10107491
mov edi, esi
call fcn.100cf4d0
test eax, eax
jne 0x101074b6
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [esp + 0x14]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x10
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], eax
jg 0x101074d5
mov edi, esi
call fcn.100cf4d0
test eax, eax
jne 0x101074ff
mov eax, dword [esp + 0x18]
mov edx, dword [esi + 4]
mov ecx, 1
add dword [esi + 0x1c], ecx
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x68]
mov byte [eax], 0x17
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov dword [esp + 0xc], eax
jg 0x1010751a
mov edi, esi
call fcn.100cf4d0
test eax, eax
jne 0x1010753f
mov eax, dword [esp + 0xc]
inc dword [esi + 0x1c]
mov ecx, dword [esp + 0x70]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov byte [eax], 0x12
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
or eax, 0xffffffff
sub eax, dword [esp + 0x54]
js 0x10107555
mov ecx, dword [esi + 0x28]
cmp ecx, ebx
je 0x10107555
mov edx, dword [esi + 0x1c]
mov dword [ecx + eax*4], edx
mov edi, dword [esi + 0x1c]
cmp dword [esi + 0x20], edi
mov dword [esp + 0x18], edi
jg 0x10107570
mov edi, esi
call fcn.100cf4d0
mov edi, dword [esp + 0x18]
test eax, eax
jne 0x10107598
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [esp + 0x3c]
lea eax, [edi + edi*4]
lea eax, [ecx + eax*4]
lea ecx, [edi + 2]
mov byte [eax], 0x80
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov dword [esp + 0xc], eax
jg 0x101075b7
mov edi, esi
call fcn.100cf4d0
mov edi, dword [esp + 0x18]
test eax, eax
jne 0x101075dc
mov eax, dword [esp + 0xc]
inc dword [esi + 0x1c]
mov ecx, dword [esp + 0x70]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov byte [eax], 0x12
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [ebp + 8]
lea edx, [esp + 0x7c]
push edx
call fcn.10105910
mov eax, dword [esp + 0x44]
mov ecx, dword [ebp + 8]
add esp, 4
push 8
inc edi
push edi
push eax
push ecx
call fcn.100e34e0
mov edx, dword [esp + 0x44]
mov eax, dword [ebp + 0x10]
push edx
mov edx, dword [esp + 0x3c]
push edi
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0xc0]
push ecx
mov ecx, dword [eax]
push edx
mov edx, dword [ebp + 8]
push ebx
push ebx
push ecx
push eax
push edx
call fcn.100ffc20
mov eax, dword [esi + 0x1c]
add esp, 0x38
cmp dword [esi + 0x20], eax
mov dword [esp + 0xc], eax
jg 0x10107645
mov edi, esi
call fcn.100cf4d0
test eax, eax
jne 0x1010766a
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [esp + 0x70]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x12
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
or eax, 0xffffffff
sub eax, dword [esp + 0x24]
js 0x10107680
mov ecx, dword [esi + 0x28]
cmp ecx, ebx
je 0x10107680
mov edx, dword [esi + 0x1c]
mov dword [ecx + eax*4], edx
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x7c]
push eax
push ecx
call fcn.10105710
mov eax, dword [esi + 0x1c]
add esp, 8
cmp dword [esi + 0x20], eax
mov dword [esp + 0xc], eax
jg 0x101076b2
mov edi, esi
call fcn.100cf4d0
mov esi, dword [esp + 0x5c]
test eax, eax
jne 0x10107a1e
xor ebx, ebx
inc dword [esi + 0x1c]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x58]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
mov esi, dword [esp + 0x5c]
lea eax, [eax + edx*4]
mov byte [eax], 0x12
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
jmp 0x10107a1e
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x7c]
mov dword [esp + 0x54], 0
call fcn.10104850
mov ebx, eax
mov dword [esp + 0xc], ebx
test ebx, ebx
je 0x1010789c
mov edi, dword [ebp + 8]
mov esi, dword [ebx + 0x44]
mov ecx, dword [edi]
call fcn.100fe710
mov ecx, dword [edi + 0x48]
mov dword [esp + 0x24], ecx
inc ecx
mov dword [edi + 0x48], ecx
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x68], eax
xor esi, esi
push eax
mov eax, edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x70], edx
call fcn.100ed6a0
mov eax, dword [ebx]
mov ecx, dword [ebx + 0x20]
mov edx, dword [esp + 0x6c]
add esp, 4
push eax
push esi
push ecx
push edx
mov eax, edi
call fcn.100e7630
add esp, 0x10
test byte [ebx + 0x2c], 0x20
je 0x10107768
mov eax, ebx
call fcn.100e8d00
mov esi, eax
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 8]
test eax, eax
je 0x1010779d
nop
test byte [eax + 0x38], 4
jne 0x10107792
movzx ecx, word [eax + 0x30]
cmp cx, word [ebx + 0x2a]
jge 0x10107792
cmp dword [eax + 0x24], 0
jne 0x10107792
test esi, esi
je 0x10107790
cmp cx, word [esi + 0x30]
jge 0x10107792
mov esi, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x10107770
mov dword [esp + 0x3c], esi
test esi, esi
je 0x101077b7
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x6c], eax
push esi
mov eax, edi
call fcn.100edd60
add esp, 4
mov dword [esp + 0x38], eax
mov esi, dword [esp + 0x5c]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x24]
push 1
push 0x32
push esi
call fcn.100cf770
add esp, 0xc
cmp dword [esp + 0x38], 0
je 0x10107820
mov ecx, dword [esi + 4]
mov edi, dword [esi]
test ecx, ecx
je 0x10107812
cmp byte [edi + 0x40], 0
jne 0x10107812
mov eax, dword [esi + 0x1c]
dec eax
lea edx, [eax + eax*4]
movsx eax, byte [ecx + edx*4 + 1]
lea ebx, [ecx + edx*4]
mov ecx, dword [ebx + 0x10]
call fcn.100cfb40
mov eax, dword [esp + 0x38]
mov dword [ebx + 0x10], eax
mov byte [ebx + 1], 0xfa
mov ebx, dword [esp + 0xc]
jmp 0x10107820
mov ecx, dword [esp + 0x38]
mov eax, 0xfffffffa
call fcn.100cfb40
mov ecx, dword [esp + 0x9c]
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x34], edx
mov dword [esp + 0xc], eax
jg 0x10107845
mov edi, esi
call fcn.100cf4d0
test eax, eax
jne 0x10107875
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x24]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x2e
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov edx, dword [esp + 0x24]
push edx
push 0x38
mov eax, esi
call fcn.100cf600
mov eax, dword [esp + 0x44]
mov ecx, dword [ebp + 8]
push ebx
call fcn.10105de0
mov esi, dword [esp + 0x68]
add esp, 0xc
jmp 0x101079d1
mov eax, dword [ebp + 0xc]
xor edi, edi
xor bl, bl
cmp dword [eax + 0x34], 0
mov dword [esp + 0x24], edi
jne 0x10107902
lea edi, [esp + 0x24]
lea eax, [esp + 0x7c]
call fcn.101047d0
mov bl, al
test bl, bl
je 0x101078fe
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push 0
push ecx
push edx
call fcn.100df5b0
mov edi, eax
add esp, 0xc
mov dword [esp + 0x54], edi
test edi, edi
je 0x10107902
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x40], 0
jne 0x10107902
mov edx, dword [edi + 8]
cmp bl, 1
setne cl
mov byte [edx + 0xc], cl
mov eax, dword [edi + 8]
mov ecx, dword [eax]
mov byte [ecx], 0x99
jmp 0x10107902
mov edi, dword [esp + 0x24]
mov eax, dword [ebp + 8]
lea edx, [esp + 0x7c]
push edx
push eax
call fcn.10105710
mov eax, dword [esp + 0x54]
movzx cx, bl
push 0
movzx edx, cx
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [ebp + 8]
push 0
push edi
push eax
push ecx
push edx
call fcn.10114b20
mov edi, eax
add esp, 0x24
mov dword [esp + 0x4c], edi
test edi, edi
jne 0x10107954
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x20]
push eax
push ecx
call fcn.100dfd30
add esp, 8
jmp 0x10107a9a
mov eax, dword [ebp + 8]
lea edx, [esp + 0x7c]
push edx
push eax
call fcn.10105a30
add esp, 8
cmp byte [edi + 0x24], 0
je 0x101079b1
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esi + 0x1c]
cmp dword [esi + 0x20], ebx
mov edx, dword [ecx + 0x34]
mov dword [esp + 0xc], edx
jg 0x10107989
mov edi, esi
call fcn.100cf4d0
test eax, eax
jne 0x101079b1
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [esp + 0xc]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov byte [eax], 0x10
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esp + 0x4c]
push eax
call fcn.10115390
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x80]
add esp, 4
push ecx
call fcn.10105910
add esp, 4
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
mov ebx, dword [ebp + 8]
push 8
push edi
push edx
push ebx
mov dword [esp + 0x38], 0
call fcn.100e34e0
mov eax, dword [ebp + 0x10]
push edi
push edi
push eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push ecx
push eax
push ebx
call fcn.100ffc20
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x58]
push edx
push eax
call fcn.100dfd30
add esp, 0x40
or eax, 0xffffffff
sub eax, dword [esp + 0x14]
js 0x10107a34
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10107a34
mov edx, dword [esi + 0x1c]
mov dword [ecx + eax*4], edx
cmp byte [esp + 0xa5], 3
mov edi, dword [ebp + 8]
jne 0x10107a4d
mov eax, str.DISTINCT
mov ecx, edi
call fcn.10100550
cmp dword [esp + 0x28], 0
je 0x10107a79
mov eax, str.ORDER_BY
mov ecx, edi
call fcn.10100550
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx]
push eax
mov eax, dword [ebp + 0xc]
push edx
push esi
push eax
push edi
call fcn.10100760
add esp, 0x14
or eax, 0xffffffff
sub eax, dword [esp + 0xe4]
js 0x10107a92
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10107a92
mov edx, dword [esi + 0x1c]
mov dword [ecx + eax*4], edx
mov dword [esp + 0x44], 0
mov ebx, dword [ebp + 8]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0xc0]
mov dword [ebx + 0x1f0], eax
test esi, esi
jne 0x10107ad1
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], 5
jne 0x10107ad1
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
push edx
push eax
push ebx
call fcn.101010b0
add esp, 0xc
mov eax, dword [esp + 0x90]
test eax, eax
je 0x10107b49
cmp dword [edi + 0x200], 0
je 0x10107b1a
cmp eax, dword [edi + 0x10c]
jb 0x10107b06
cmp eax, dword [edi + 0x110]
jae 0x10107b06
movzx eax, word [edi + 0xf0]
mov ecx, dword [edi + 0x200]
add dword [ecx], eax
jmp 0x10107b49
push eax
call dword [0x1018e8c0]
mov ecx, dword [edi + 0x200]
add esp, 4
add dword [ecx], eax
jmp 0x10107b49
cmp eax, dword [edi + 0x10c]
jb 0x10107b40
cmp eax, dword [edi + 0x110]
jae 0x10107b40
mov ecx, dword [edi + 0x108]
mov dword [eax], ecx
dec dword [edi + 0xf4]
mov dword [edi + 0x108], eax
jmp 0x10107b49
push eax
call fcn.100b4950
add esp, 4
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x10107bda
cmp dword [edi + 0x200], 0
je 0x10107ba4
cmp eax, dword [edi + 0x10c]
jb 0x10107b89
cmp eax, dword [edi + 0x110]
jae 0x10107b89
movzx eax, word [edi + 0xf0]
mov edi, dword [edi + 0x200]
add dword [edi], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call dword [0x1018e8c0]
mov edi, dword [edi + 0x200]
add esp, 4
add dword [edi], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, dword [edi + 0x10c]
jb 0x10107bd1
cmp eax, dword [edi + 0x110]
jae 0x10107bd1
mov edx, dword [edi + 0x108]
mov dword [eax], edx
dec dword [edi + 0xf4]
mov dword [edi + 0x108], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call fcn.100b4950
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret