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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xf4
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x1d4]
push esi
mov esi, dword [ebx]
mov dword [esp + 0xd4], eax
mov eax, dword [ebx + 0x1d8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebx + 0x1d4], eax
add eax, 1
test edi, edi
mov dword [esp + 0x44], 0
mov dword [esp + 0x28], 1
mov dword [ebx + 0x1d8], eax
mov dword [esp + 0x10], esi
je 0x100f9da8
cmp byte [esi + 0x45], 0
jne 0x100f9da8
cmp dword [ebx + 0x44], 0
jne 0x100f9da8
push 0
push 0
push 0
push 0x15
mov eax, ebx
call fcn.100dbb50
add esp, 0x10
test eax, eax
jne 0x100f9da8
push 0x30
push eax
lea ecx, [esp + 0xb0]
push ecx
call sub.MSVCR80.dll_memset
mov edx, dword [ebp + 0x10]
add esp, 0xc
cmp byte [edx], 8
ja 0x100f8205
mov eax, dword [edi + 0x2c]
push esi
call fcn.100d4da0
add esp, 4
and dword [edi + 8], 0xfffffffe
mov dword [edi + 0x2c], 0
push 0
push edi
push ebx
call fcn.100f79c0
mov ecx, dword [edi + 0x1c]
xor eax, eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov eax, dword [edi + 0x2c]
add esp, 0xc
cmp dword [ebx + 0x44], 0
mov dword [esp + 0x88], eax
mov dword [esp + 0x40], ecx
jne 0x100f829f
cmp byte [esi + 0x45], 0
jne 0x100f829f
mov eax, dword [edi + 8]
mov edx, dword [ebp + 0x10]
shr eax, 3
and eax, 1
mov dword [esp + 0x20], eax
movzx eax, byte [edx]
mov edx, dword [edi]
cmp dword [edx], 1
jle 0x100f82f8
cmp eax, 0xa
je 0x100f828c
cmp eax, 0xb
jne 0x100f82f8
push str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
mov esi, ebx
call fcn.100a6920
add esp, 4
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x28], 0
mov edx, dword [esp + 0xd8]
mov dword [ebx + 0x1d4], edx
jne 0x100f82ce
mov eax, dword [ebp + 0x10]
cmp byte [eax], 9
jne 0x100f82ce
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push ecx
push edx
push ebx
call fcn.100f2fb0
add esp, 0xc
mov eax, dword [esp + 0xc4]
test eax, eax
mov edi, eax
je 0x100f9cdc
cmp dword [esi + 0x1c8], 0
je 0x100f9c5c
mov ecx, esi
call fcn.100a3e80
jmp 0x100f9cdc
cmp dword [edi + 0x30], 0
mov dword [esp + 0x1c], 0
je 0x100f8354
mov esi, dword [ebx + 8]
test esi, esi
jne 0x100f8321
mov edi, ebx
call fcn.100f38e0
mov edi, dword [ebp + 0xc]
mov esi, eax
test esi, esi
je 0x100f829b
cmp dword [edi + 0x30], 0
je 0x100f8411
mov edx, dword [ebp + 0x10]
push edx
push ebx
mov eax, edi
call fcn.100f4090
mov ecx, dword [esp + 0xe0]
add esp, 8
mov dword [ebx + 0x1d4], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x1c]
cmp eax, dword [ecx]
jge 0x100f8306
lea eax, [eax + eax*4]
shl eax, 4
lea ecx, [eax + ecx + 8]
mov eax, dword [ecx + 0x14]
test eax, eax
mov ecx, dword [ecx + 0x10]
je 0x100f83dc
movsx edx, word [ecx + 0x22]
mov esi, dword [eax]
cmp edx, dword [esi]
jne 0x100f83f0
mov esi, dword [eax + 8]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
shr esi, 3
and esi, 1
push esi
push eax
push ecx
push ebx
mov eax, edi
call fcn.100f6050
add esp, 0x10
test eax, eax
je 0x100f83b5
test esi, esi
je 0x100f83ad
or dword [edi + 8], 8
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x45], 0
mov edx, dword [edi + 0x1c]
mov dword [esp + 0x40], edx
jne 0x100f9c4e
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], 8
jbe 0x100f83dc
mov edx, dword [edi + 0x2c]
mov dword [esp + 0x88], edx
add dword [esp + 0x1c], 1
cmp dword [edi + 0x30], 0
je 0x100f8350
jmp 0x100f8306
mov eax, esi
mov edx, dword [eax]
mov eax, dword [ecx]
movsx ecx, word [ecx + 0x22]
push edx
push eax
push ecx
push str.expected__d_columns_for__s_but_got__d
mov esi, ebx
call fcn.100a6920
add esp, 0x10
jmp 0x100f829b
mov edx, dword [esp + 0x40]
cmp dword [edx], 0
mov dword [esp + 0x1c], 0
jle 0x100f8686
jmp 0x100f8430
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
lea eax, [eax + eax*4]
shl eax, 4
lea edi, [eax + ecx + 8]
mov eax, dword [edi + 0x14]
test eax, eax
mov dword [esp + 0x34], eax
je 0x100f866f
mov eax, dword [edi + 0x18]
test eax, eax
je 0x100f8479
test byte [edi + 0x28], 0x10
jne 0x100f866f
mov edx, dword [edi + 0x1c]
push 0
push eax
push edx
push 0xe
push esi
call fcn.100c1540
add esp, 0x14
jmp 0x100f866f
mov ecx, dword [ebp + 0xc]
call fcn.100d3960
add dword [ebx + 0x1d0], eax
test byte [edi + 0x24], 0x20
jne 0x100f84aa
mov eax, dword [edi + 0x30]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x20]
mov ecx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x38]
push edx
push eax
push ecx
call fcn.100f6650
add esp, 0x10
cmp dword [esp + 0x1c], 0
jne 0x100f858a
mov eax, dword [esp + 0x40]
cmp dword [eax], 1
je 0x100f84c8
test byte [eax + 0x7c], 0xa
je 0x100f858a
mov edx, dword [ebp + 0xc]
test byte [edx + 8], 2
jne 0x100f858a
mov eax, dword [esp + 0x10]
test word [eax + 0x40], 0x100
jne 0x100f858a
mov ecx, dword [esi + 0x20]
add dword [ebx + 0x4c], 1
mov eax, dword [ebx + 0x4c]
add ecx, 1
push ecx
push 0
push eax
push 0xf
push esi
mov dword [esp + 0x60], ecx
mov dword [edi + 0x1c], eax
call fcn.100c1540
mov ecx, dword [esp + 0x60]
mov edx, dword [edi + 0x1c]
mov dword [edi + 0x18], ecx
add esp, 0x14
xor eax, eax
lea ecx, [esp + 0x74]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x34]
push ecx
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov al, byte [ebx + 0x1d8]
push edx
push ebx
mov byte [esp + 0x80], 0xd
mov byte [esp + 0x81], 0
mov byte [edi + 0x2c], al
call fcn.100f8150
mov ecx, dword [esp + 0x40]
mov dx, word [ecx + 6]
mov eax, dword [edi + 0x10]
mov word [eax + 0x26], dx
mov eax, dword [esp + 0x88]
or dword [edi + 0x28], 0x10
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0x1c]
add esp, 0xc
call fcn.100c1890
mov ecx, dword [esp + 0x4c]
add ecx, 0xffffffff
mov eax, esi
call fcn.100c1c00
jmp 0x100f8648
add dword [ebx + 0x4c], 1
mov eax, dword [ebx + 0x4c]
push 0
push eax
push 0
push 0x4a
push esi
mov dword [esp + 0x2c], 0
mov dword [edi + 0x1c], eax
call fcn.100c1540
mov dword [esp + 0x60], eax
add eax, 1
add esp, 0x14
test byte [edi + 0x28], 8
mov dword [edi + 0x18], eax
jne 0x100f85c7
mov eax, ebx
call fcn.100d51c0
mov dword [esp + 0x18], eax
mov ecx, dword [edi + 0x30]
mov dl, byte [ebx + 0x1d8]
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
lea eax, [esp + 0x74]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x34]
push eax
push ecx
push ebx
mov byte [esp + 0x80], 0xc
mov byte [esp + 0x81], 0
mov byte [edi + 0x2c], dl
call fcn.100f8150
mov eax, dword [esp + 0x40]
mov edx, dword [edi + 0x10]
mov cx, word [eax + 6]
add esp, 0xc
cmp dword [esp + 0x18], 0
mov word [edx + 0x26], cx
je 0x100f8628
mov ecx, dword [esp + 0x18]
mov eax, esi
call fcn.100c1c00
mov edi, dword [edi + 0x1c]
push 0
push 0
push edi
push 0x46
push esi
call fcn.100c1540
mov edx, eax
mov eax, dword [esp + 0x60]
add esp, 0x14
mov ecx, esi
call fcn.100c1bb0
mov edx, dword [esp + 0x10]
mov dword [ebx + 0x3c], 0
mov byte [ebx + 0x13], 0
cmp byte [edx + 0x45], 0
jne 0x100f9c55
mov ecx, dword [ebp + 0xc]
call fcn.100d3960
sub dword [ebx + 0x1d0], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
add eax, 1
cmp eax, dword [ecx]
mov dword [esp + 0x1c], eax
jl 0x100f8430
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0x20]
mov edx, dword [edi]
mov ecx, dword [edi + 0x24]
mov dword [esp + 0x48], eax
mov al, byte [edi + 8]
and al, 1
mov byte [esp + 0x74], al
mov eax, dword [edi + 8]
mov dword [esp + 0x44], edx
mov edx, dword [edi + 0x28]
and al, 9
cmp al, 1
mov dword [esp + 0x38], ecx
mov dword [esp + 0x4c], edx
jne 0x100f86f1
mov ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x88]
push 0xffffffffffffffff
push ecx
call fcn.100d8150
mov edi, dword [ebp + 0xc]
add esp, 8
test eax, eax
jne 0x100f86f1
mov edx, dword [esp + 0x44]
and dword [edi + 8], 0xfffffffe
push eax
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.100d44f0
add esp, 0xc
mov dword [edi + 0x24], eax
mov dword [esp + 0x38], eax
cmp dword [esp + 0x88], 0
je 0x100f874d
mov ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x88]
mov ecx, dword [ecx]
push 0
push ebx
mov eax, edi
call fcn.100f25d0
mov ecx, dword [ebx + 0x48]
mov edx, ecx
add ecx, 1
push 0xfffffffffffffffa
push eax
mov eax, dword [esp + 0x54]
mov dword [ebx + 0x48], ecx
mov ecx, dword [eax]
mov eax, dword [edi]
lea ecx, [ecx + eax + 1]
push 0x69
xor eax, eax
mov edi, esi
mov dword [esp + 0xa4], edx
call fcn.100c16d0
mov edi, dword [ebp + 0xc]
add esp, 0x14
mov dword [esp + 0x9c], eax
jmp 0x100f8758
mov dword [esp + 0x9c], 0xffffffff
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], 0xc
jne 0x100f8778
mov edx, dword [esp + 0x44]
mov eax, dword [edx]
mov edx, dword [ecx + 4]
push 0
push eax
push edx
push 0x69
push esi
call fcn.100c1540
add esp, 0x14
mov eax, esi
call fcn.100c18c0
push eax
mov dword [esp + 0x100], eax
push edi
mov eax, ebx
mov word [edi + 6], 0x140
call fcn.100f3950
add esp, 8
cmp dword [edi + 0xc], 0
jne 0x100f87c0
cmp dword [esp + 0x9c], 0
jl 0x100f87c0
mov eax, dword [esp + 0x9c]
mov dl, 0x6a
mov ecx, esi
call fcn.100c1b80
or byte [esp + 0xa4], 1
test byte [edi + 8], 1
je 0x100f887c
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x78], eax
add eax, 1
mov dword [ebx + 0x48], eax
mov eax, dword [edi]
push 0
push ebx
xor ecx, ecx
call fcn.100f25d0
push 0
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x84]
push 0
push eax
push 0x69
push esi
call fcn.100c1540
mov edx, dword [esi]
add esp, 0x1c
cmp byte [edx + 0x45], 0
mov dword [esp + 0x14], eax
je 0x100f881f
mov ecx, dword [esp + 0x18]
mov eax, 0xfffffffa
mov edi, edx
call fcn.100c1c40
mov edi, dword [ebp + 0xc]
jmp 0x100f885e
cmp dword [esp + 0x14], 0
jge 0x100f882c
mov eax, dword [esi + 0x20]
sub eax, 1
mov edx, dword [esi + 4]
lea ecx, [eax + eax*4]
cmp byte [edx + ecx*4 + 1], 0
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x18]
je 0x100f8853
push ecx
push eax
mov eax, 0xfffffffa
mov ecx, esi
call fcn.100c1e20
add esp, 8
jmp 0x100f885e
test ecx, ecx
je 0x100f885e
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xfa
mov edx, dword [esp + 0x14]
push 8
mov ecx, esi
mov dword [esp + 0x80], edx
call fcn.100c1be0
add esp, 4
mov byte [esp + 0x75], 3
jmp 0x100f8881
mov byte [esp + 0x75], 0
mov edx, dword [esp + 0x38]
xor eax, eax
cmp dword [esp + 0x20], eax
jne 0x100f8995
cmp edx, eax
jne 0x100f8995
mov al, byte [esp + 0x74]
mov cx, word [edi + 8]
movsx edx, word [edi + 6]
neg al
push edx
mov edx, dword [esp + 0x4c]
sbb eax, eax
and eax, 0x400
and cx, 0x4000
or ax, cx
mov ecx, dword [esp + 0x8c]
movzx eax, ax
push eax
mov eax, dword [edi]
push eax
mov eax, dword [esp + 0x4c]
push ecx
push edx
push eax
push ebx
call fcn.10108220
add esp, 0x1c
test eax, eax
mov dword [esp + 0x64], eax
je 0x100f829b
mov ecx, eax
movzx eax, word [ecx + 0x20]
cmp ax, word [edi + 6]
jge 0x100f88f5
mov word [edi + 6], ax
cmp byte [esp + 0x74], 0
je 0x100f8907
mov al, byte [ecx + 0x2a]
test al, al
je 0x100f8907
mov byte [esp + 0x75], al
mov eax, dword [esp + 0x88]
test eax, eax
je 0x100f8933
movsx ecx, byte [ecx + 0x26]
cmp ecx, dword [eax]
mov dword [esp + 0x8c], ecx
jne 0x100f8933
mov dword [esp + 0x88], 0
mov eax, dword [esp + 0x88]
cmp dword [esp + 0x9c], 0
jl 0x100f894f
test eax, eax
jne 0x100f894f
mov eax, dword [esp + 0x9c]
mov ecx, esi
call fcn.100c1de0
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x34]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp + 0x10]
push ecx
push edx
push eax
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x98]
push edx
push 0xffffffffffffffff
push eax
push edi
push ebx
call fcn.100f1ba0
mov ecx, dword [esp + 0x88]
add esp, 0x24
push ecx
call fcn.10108b80
add esp, 4
jmp 0x100f9bb6
cmp edx, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], eax
je 0x100f89ea
mov ecx, dword [edi]
mov eax, dword [ecx]
test eax, eax
mov ecx, dword [ecx + 4]
jle 0x100f89c2
add ecx, 0x16
mov word [ecx], 0
sub eax, 1
add ecx, 0x18
test eax, eax
jg 0x100f89b3
mov eax, dword [edx]
test eax, eax
mov ecx, dword [edx + 4]
jle 0x100f89df
add ecx, 0x16
mov edi, edi
mov word [ecx], 0
sub eax, 1
add ecx, 0x18
test eax, eax
jg 0x100f89d0
mov eax, 0x42
cmp word [edi + 6], ax
jle 0x100f89ee
mov word [edi + 6], ax
mov edx, dword [esp + 0x88]
mov edi, dword [esp + 0x38]
push 0xffffffffffffffff
push edx
call fcn.100d8150
add esp, 8
test eax, eax
jne 0x100f8a10
mov dword [esp + 0x14], 1
mov eax, esi
call fcn.100c18c0
mov edx, dword [ebx + 0x4c]
mov dword [esp + 0x58], eax
xor eax, eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x38]
add edx, 1
test eax, eax
lea ecx, [esp + 0xa8]
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xb8], edx
je 0x100f8a95
mov eax, dword [eax]
mov dword [esp + 0xb4], eax
jmp 0x100f8aa0
mov dword [esp + 0xb4], 0
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x44]
lea ecx, [esp + 0xdc]
push ecx
mov dword [esp + 0xc4], edi
call fcn.100d85f0
mov ebx, dword [esp + 0x8c]
lea edx, [esp + 0xe0]
add esp, 4
push edx
call fcn.100d85f0
mov ecx, dword [esp + 0x50]
xor ebx, ebx
add esp, 4
cmp ecx, ebx
je 0x100f8af0
lea eax, [esp + 0xdc]
push eax
call fcn.100d85a0
add esp, 4
cmp dword [esp + 0xd4], ebx
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0xcc], ecx
mov dword [esp + 0x1c], ebx
jle 0x100f8b5d
mov dword [esp + 0x18], ebx
nop
mov edx, dword [esp + 0xd0]
or word [esp + 0xf8], 8
mov eax, dword [esp + 0x18]
mov ecx, dword [edx + eax]
mov ebx, dword [ecx + 0x14]
lea edx, [esp + 0xdc]
push edx
call fcn.100d85f0
mov eax, dword [esp + 0x20]
and word [esp + 0xfc], 0xfff7
add dword [esp + 0x1c], 0x10
add eax, 1
add esp, 4
cmp eax, dword [esp + 0xd4]
mov dword [esp + 0x1c], eax
jl 0x100f8b10
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x4c]
mov edx, dword [esp + 0x10]
mov dword [esp + 0xbc], ecx
cmp byte [edx + 0x45], 0
jne 0x100f9c46
test edi, edi
je 0x100f982e
mov ecx, dword [esp + 0xc8]
mov ebx, eax
mov eax, dword [ebx + 0x48]
mov dword [esp + 0xac], eax
add eax, 1
mov dword [ebx + 0x48], eax
push 0
push ebx
mov eax, edi
call fcn.100f25d0
mov ecx, dword [esp + 0xb4]
push 0
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xc0]
push eax
push ecx
push 0x6a
push esi
call fcn.100c1540
mov edx, dword [esi]
add esp, 0x1c
cmp byte [edx + 0x45], 0
mov dword [esp + 0x6c], eax
je 0x100f8be6
mov ecx, dword [esp + 0x60]
mov eax, 0xfffffffa
mov edi, edx
call fcn.100c1c40
mov edi, dword [esp + 0x38]
jmp 0x100f8c22
test eax, eax
jge 0x100f8bf0
mov eax, dword [esi + 0x20]
sub eax, 1
mov ecx, dword [esp + 0x60]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
cmp byte [eax + edx*4 + 1], 0
lea eax, [eax + edx*4]
je 0x100f8c17
push ecx
push eax
mov eax, 0xfffffffa
mov ecx, esi
call fcn.100c1e20
add esp, 8
jmp 0x100f8c22
test ecx, ecx
je 0x100f8c22
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xfa
mov eax, dword [ebx + 0x4c]
add eax, 1
mov dword [esp + 0x3c], eax
add eax, 1
mov dword [esp + 0x50], eax
add eax, 1
mov dword [ebx + 0x4c], eax
mov eax, esi
call fcn.100c18c0
add dword [ebx + 0x4c], 1
mov edx, dword [ebx + 0x4c]
mov dword [esp + 0x34], eax
mov eax, esi
mov dword [esp + 0x20], edx
call fcn.100c18c0
mov edx, dword [edi]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x4c]
lea ecx, [eax + 1]
add eax, edx
mov dword [ebx + 0x4c], eax
mov edx, dword [edi]
mov dword [esp + 0x68], ecx
lea ecx, [eax + 1]
add edx, eax
mov eax, dword [esp + 0x50]
push 0
push eax
push 0
push 0x4a
push esi
mov dword [esp + 0x68], ecx
mov dword [ebx + 0x4c], edx
call fcn.100c1540
mov ecx, dword [esp + 0x50]
add esp, 0x14
push 0
push ecx
push 0
push 0x4a
push esi
call fcn.100c1540
mov eax, dword [esp + 0x7c]
mov edx, dword [edi]
add esp, 0x14
lea ecx, [edx + eax - 1]
push ecx
push eax
push 0
push 0x4d
push esi
call fcn.100c1540
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
add esp, 0x14
push 0
push edx
push eax
push 0xe
push esi
call fcn.100c1540
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x54]
add esp, 0x14
neg ecx
sbb ecx, ecx
push 0
and ecx, 0x800
or ecx, 0x100
push ecx
push 0
push edi
push edx
push eax
push ebx
call fcn.10108220
add esp, 0x1c
test eax, eax
mov dword [esp + 0x64], eax
je 0x100f9c46
movsx ecx, byte [eax + 0x26]
cmp ecx, dword [edi]
jne 0x100f8d1d
xor ebx, ebx
mov dword [esp + 0x48], ebx
jmp 0x100f9075
cmp byte [esp + 0x74], 0
je 0x100f8d32
mov edx, dword [ebp + 0xc]
test byte [edx + 8], 1
mov eax, str.DISTINCT
je 0x100f8d37
mov eax, str.GROUP_BY
mov ecx, ebx
call fcn.100f2670
mov eax, dword [edi]
mov ecx, dword [esp + 0xc8]
test ecx, ecx
mov dword [esp + 0x48], 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x5c], eax
jle 0x100f8d7f
mov edx, dword [esp + 0xc4]
add edx, 0xc
mov dword [esp + 0x2c], ecx
cmp dword [edx], eax
jl 0x100f8d75
add dword [esp + 0x5c], 1
add eax, 1
add edx, 0x18
sub dword [esp + 0x2c], 1
jne 0x100f8d69
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esp + 0x5c]
cmp ecx, eax
mov edx, dword [ebx + 0x40]
mov dword [esp + 0x28], edx
jg 0x100f8d9d
add edx, ecx
sub eax, ecx
mov dword [ebx + 0x40], edx
mov dword [ebx + 0x3c], eax
jmp 0x100f8dac
mov eax, dword [ebx + 0x4c]
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x28], edx
mov dword [ebx + 0x4c], eax
mov eax, ebx
call fcn.100d6550
mov eax, dword [esp + 0x28]
push 0
push 0
push eax
push edi
push ebx
call fcn.100d76c0
mov ecx, dword [esp + 0x44]
add esp, 0x14
cmp dword [esp + 0xc8], 0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], 0
jle 0x100f8e71
mov eax, dword [esp + 0x28]
mov edx, ecx
add eax, edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xc4]
xor edi, edi
mov ecx, dword [eax + edi + 0xc]
cmp ecx, dword [esp + 0x2c]
jl 0x100f8e5a
mov ecx, dword [eax + edi + 4]
mov edx, dword [eax + edi + 8]
mov eax, dword [eax + edi]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x30]
push 0
push eax
push ecx
mov ecx, dword [esp + 0x7c]
push edx
push ecx
mov eax, ebx
call fcn.100d6490
add esp, 0x14
cmp eax, dword [esp + 0x30]
je 0x100f8e46
mov edx, dword [esp + 0x30]
push 0
push edx
push eax
mov eax, dword [ebx + 8]
push 0x53
push eax
call fcn.100c1540
add esp, 0x14
mov eax, 1
add dword [esp + 0x2c], eax
add dword [esp + 0x30], eax
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0x1c]
add ecx, 1
add edi, 0x18
cmp ecx, dword [esp + 0xc8]
mov dword [esp + 0x1c], ecx
jl 0x100f8df9
mov al, byte [ebx + 0x13]
test al, al
jne 0x100f8e81
add dword [ebx + 0x4c], 1
mov edi, dword [ebx + 0x4c]
jmp 0x100f8e8d
sub al, 1
movzx ecx, al
mov byte [ebx + 0x13], al
mov edi, dword [ebx + ecx*4 + 0x1c]
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
cmp dword [edx + 0x58], eax
jg 0x100f8eb1
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x28]
push edi
push eax
push ecx
push 0x60
mov eax, esi
call fcn.100c1500
add esp, 0x10
jmp 0x100f8ee3
mov ecx, dword [esi + 4]
lea edx, [eax + 1]
mov dword [esi + 0x20], edx
mov edx, dword [esp + 0x28]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x5c]
mov byte [eax], 0x60
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
cmp dword [edx + 0x58], eax
mov ecx, dword [esp + 0xac]
jg 0x100f8f09
push 0
mov eax, ecx
push edi
push eax
push 0x7b
mov eax, esi
call fcn.100c1500
add esp, 0x10
jmp 0x100f8f30
lea edx, [eax + 1]
mov dword [esi + 0x20], edx
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x7b
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
test edi, edi
je 0x100f8f5c
mov dl, byte [ebx + 0x13]
cmp dl, 8
jae 0x100f8f5c
xor eax, eax
lea ecx, [ebx + 0x7c]
cmp dword [ecx + 0xc], edi
je 0x100f8fb3
add eax, 1
add ecx, 0x14
cmp eax, 0xa
jl 0x100f8f41
movzx eax, dl
mov dword [ebx + eax*4 + 0x1c], edi
add byte [ebx + 0x13], 1
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x28]
push ecx
mov eax, ebx
call fcn.100d6340
mov edi, dword [esp + 0x60]
add esp, 4
cmp edi, dword [ebx + 0x3c]
jle 0x100f8f82
mov edx, dword [esp + 0x28]
mov dword [ebx + 0x3c], edi
mov dword [ebx + 0x40], edx
mov eax, dword [esp + 0x64]
push eax
call fcn.10108b80
mov ecx, dword [ebx + 0x48]
mov al, byte [ebx + 0x13]
add esp, 4
test al, al
lea edx, [ecx + 1]
mov dword [esp + 0x30], ecx
mov dword [esp + 0xb0], ecx
mov dword [ebx + 0x48], edx
jne 0x100f8fb9
add dword [ebx + 0x4c], 1
mov ebx, dword [ebx + 0x4c]
jmp 0x100f8fc5
mov byte [ecx + 6], 1
jmp 0x100f8f5c
sub al, 1
mov byte [ebx + 0x13], al
movzx eax, al
mov ebx, dword [ebx + eax*4 + 0x1c]
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
cmp dword [edx + 0x58], eax
mov dword [esp + 0x2c], ebx
jg 0x100f8fe7
push edi
push ebx
push ecx
push 0x6c
mov eax, esi
call fcn.100c1500
add esp, 0x10
xor edx, edx
jmp 0x100f900e
lea edx, [eax + 1]
mov dword [esi + 0x20], edx
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov byte [eax], 0x6c
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
mov eax, dword [esi + 0x20]
mov edi, dword [esi + 0x18]
cmp dword [edi + 0x58], eax
mov ecx, dword [esp + 0xac]
jg 0x100f9035
mov eax, dword [esp + 0x58]
push edx
push eax
push ecx
push 0x2a
mov eax, esi
call fcn.100c1500
add esp, 0x10
jmp 0x100f905f
lea edi, [eax + 1]
mov dword [esi + 0x20], edi
mov edi, dword [esi + 4]
lea eax, [eax + eax*4]
lea eax, [edi + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x58]
mov byte [eax], 0x2a
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0
mov eax, dword [ebp + 8]
mov byte [esp + 0xa9], 1
call fcn.100d6550
mov eax, dword [esp + 0x64]
xor ebx, ebx
cmp dword [esp + 0x14], ebx
je 0x100f90cb
mov edx, dword [esp + 0x10]
test byte [edx + 0x40], 4
jne 0x100f90cb
cmp dword [esp + 0x48], ebx
jne 0x100f9090
cmp byte [eax + 0x27], bl
je 0x100f90cb
mov edi, dword [esi]
cmp byte [edi + 0x45], bl
mov dword [esp + 0x88], ebx
jne 0x100f90cb
mov eax, dword [esp + 0x9c]
mov ecx, dword [esi + 4]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
movsx eax, byte [ecx + 1]
mov dword [esp + 0x70], ecx
mov ecx, dword [ecx + 0x10]
call fcn.100c1c40
mov eax, dword [esp + 0x70]
mov byte [eax + 1], bl
mov dword [eax + 0x10], ebx
mov byte [eax], 0x9f
mov edx, dword [esi + 0x20]
mov eax, dword [ebp + 8]
mov dword [esp + 0x28], edx
call fcn.100d6550
cmp dword [esp + 0x48], ebx
je 0x100f90fd
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0xac]
push eax
push ecx
push edx
push 0x76
push esi
call fcn.100c1540
add esp, 0x14
mov ecx, dword [esp + 0x38]
xor edi, edi
cmp dword [ecx], ebx
jle 0x100f91ad
mov dword [esp + 0x14], ebx
nop
cmp dword [esp + 0x48], ebx
je 0x100f916e
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0x58], eax
jg 0x100f913d
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x30]
lea eax, [edi + edx]
push eax
push edi
push ecx
push 0x5e
mov eax, esi
call fcn.100c1500
add esp, 0x10
jmp 0x100f9199
mov ecx, dword [esi + 4]
lea edx, [eax + 1]
mov dword [esi + 0x20], edx
mov edx, dword [esp + 0x30]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x54]
mov dword [eax + 4], edx
lea edx, [edi + ecx]
mov byte [eax], 0x5e
mov byte [eax + 3], bl
mov dword [eax + 8], edi
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
jmp 0x100f9199
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x38]
lea ecx, [edi + eax]
push ecx
mov ecx, dword [esp + 0x18]
mov byte [esp + 0xac], 1
mov eax, dword [edx + 4]
mov edx, dword [eax + ecx]
mov eax, dword [ebp + 8]
push edx
push eax
call fcn.100d7600
add esp, 0xc
mov ecx, dword [esp + 0x38]
add dword [esp + 0x14], 0x18
add edi, 1
cmp edi, dword [ecx]
jl 0x100f9110
mov eax, dword [esp + 0x60]
cmp eax, ebx
je 0x100f91b8
add dword [eax], 1
mov edx, dword [ecx]
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x100f91de
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x6c]
push ecx
push edx
push 0x5d
mov eax, esi
call fcn.100c1500
add esp, 0x10
jmp 0x100f920c
mov edi, dword [esi + 4]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea eax, [ecx + ecx*4]
lea eax, [edi + eax*4]
mov edi, dword [esp + 0x68]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x54]
mov byte [eax], 0x5d
mov byte [eax + 3], bl
mov dword [eax + 8], edi
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, ecx
mov edi, dword [esi]
cmp byte [edi + 0x45], bl
je 0x100f9223
mov ecx, dword [esp + 0x60]
mov eax, 0xfffffffa
call fcn.100c1c40
jmp 0x100f925e
cmp eax, ebx
jge 0x100f922d
mov eax, dword [esi + 0x20]
sub eax, 1
mov edx, dword [esi + 4]
lea ecx, [eax + eax*4]
cmp byte [edx + ecx*4 + 1], bl
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x60]
je 0x100f9253
push ecx
push eax
mov eax, 0xfffffffa
mov ecx, esi
call fcn.100c1e20
add esp, 8
jmp 0x100f925e
cmp ecx, ebx
je 0x100f925e
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xfa
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
cmp dword [edx + 0x58], eax
mov dword [esp + 0x70], eax
lea ecx, [eax + 1]
jg 0x100f9281
push ecx
push ebx
push ecx
push 0x12
mov eax, esi
call fcn.100c1500
add esp, 0x10
jmp 0x100f92a5
lea edx, [eax + 1]
mov dword [esi + 0x20], edx
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov byte [eax], 0x12
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esp + 0x38]
mov ecx, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [ecx + 8]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x18]
cmp dword [edx + 0x58], ecx
jg 0x100f92d3
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x54]
push edi
push ecx
push edx
push 0x51
call fcn.100c1500
add esp, 0x10
jmp 0x100f92ff
lea edx, [ecx + 1]
mov dword [eax + 0x20], edx
mov edx, dword [eax + 4]
lea ecx, [ecx + ecx*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x68]
mov byte [eax], 0x51
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [ebp + 8]
push edi
mov edi, dword [esp + 0x58]
call fcn.100d6340
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
mov edi, dword [esp + 0x54]
add esp, 4
cmp dword [ecx + 0x58], eax
jg 0x100f9336
mov edx, dword [esp + 0x34]
push ebx
push edx
lea eax, [edi + 1]
push eax
push 0xe
mov eax, esi
call fcn.100c1500
add esp, 0x10
jmp 0x100f9365
lea ecx, [eax + 1]
mov dword [esi + 0x20], ecx
mov ecx, dword [esp + 0x50]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
add ecx, 1
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x34]
mov byte [eax], 0xe
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 + 0x20]
mov edx, dword [esi + 0x18]
cmp dword [edx + 0x58], eax
jg 0x100f9385
mov eax, dword [esp + 0x58]
push ebx
push eax
push edi
push 0x40
mov eax, esi
call fcn.100c1500
add esp, 0x10
jmp 0x100f93ad
lea ecx, [eax + 1]
mov dword [esi + 0x20], ecx
mov ecx, dword [esp + 0x58]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov byte [eax], 0x40
mov byte [eax + 3], bl
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
cmp dword [edx + 0x58], eax
jg 0x100f93d1
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
push ebx
push eax
push ecx
push 0xe
mov eax, esi
call fcn.100c1500
add esp, 0x10
jmp 0x100f93fd
mov ecx, dword [esi + 4]
lea edx, [eax + 1]
mov dword [esi + 0x20], edx
mov edx, dword [esp + 0x20]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x18]
mov byte [eax], 0xe
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 edx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
sub edx, 1
mov dword [eax + 0x60], edx
mov eax, dword [esp + 0x70]
cmp eax, ebx
mov ecx, dword [esi + 0x20]
jge 0x100f9417
lea eax, [ecx - 1]
mov edx, dword [esi]
cmp byte [edx + 0x45], bl
je 0x100f9425
mov eax, 0x101725d8
jmp 0x100f942e
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 8]
lea eax, [esp + 0xa8]
push eax
push ecx
call fcn.100f7c50
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
add esp, 8
cmp dword [edx + 0x58], eax
jg 0x100f9466
mov eax, dword [esp + 0x3c]
push ebx
push eax
push 1
push 0x4a
mov eax, esi
call fcn.100c1500
add esp, 0x10
jmp 0x100f9492
lea ecx, [eax + 1]
mov dword [esi + 0x20], ecx
mov ecx, dword [esp + 0x3c]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov byte [eax], 0x4a
mov byte [eax + 3], bl
mov dword [eax + 4], 1
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
cmp dword [esp + 0x48], ebx
je 0x100f94e3
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
cmp dword [edx + 0x58], eax
mov ecx, dword [esp + 0xac]
jg 0x100f94bf
mov eax, dword [esp + 0x28]
push ebx
push eax
push ecx
push 3
mov eax, esi
call fcn.100c1500
add esp, 0x10
jmp 0x100f9521
lea edx, [eax + 1]
mov dword [esi + 0x20], edx
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x28]
mov byte [eax], 3
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
jmp 0x100f951b
mov edx, dword [esp + 0x64]
push edx
call fcn.10108b80
mov edi, dword [esi]
add esp, 4
cmp byte [edi + 0x45], bl
jne 0x100f9521
mov eax, dword [esp + 0x6c]
mov ecx, dword [esi + 4]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
movsx eax, byte [ecx + 1]
mov dword [esp + 0x6c], ecx
mov ecx, dword [ecx + 0x10]
call fcn.100c1c40
mov eax, dword [esp + 0x6c]
mov byte [eax], 0x9f
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov edi, dword [esp + 0x50]
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
add edi, 1
cmp dword [edx + 0x58], eax
mov dword [esp + 0x14], edi
jg 0x100f954c
mov eax, dword [esp + 0x34]
push ebx
push eax
push edi
push 0xe
mov eax, esi
call fcn.100c1500
add esp, 0x10
jmp 0x100f9574
lea ecx, [eax + 1]
mov dword [esi + 0x20], ecx
mov ecx, dword [esp + 0x34]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov byte [eax], 0xe
mov byte [eax + 3], bl
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
cmp dword [edx + 0x58], eax
jg 0x100f9594
mov eax, dword [esp + 0x58]
push ebx
push eax
push ebx
push 0xd
mov eax, esi
call fcn.100c1500
add esp, 0x10
jmp 0x100f95bc
lea ecx, [eax + 1]
mov dword [esi + 0x20], ecx
mov ecx, dword [esp + 0x58]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov byte [eax], 0xd
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
cmp dword [edx + 0x58], eax
mov dword [esp + 0x6c], eax
jg 0x100f95e1
mov eax, dword [esp + 0x50]
push ebx
push eax
push 1
push 0x4a
mov eax, esi
call fcn.100c1500
add esp, 0x10
jmp 0x100f960d
lea ecx, [eax + 1]
mov dword [esi + 0x20], ecx
mov ecx, dword [esp + 0x50]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov byte [eax], 0x4a
mov byte [eax + 3], bl
mov dword [eax + 4], 1
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
cmp dword [edx + 0x58], eax
jg 0x100f9629
push ebx
push ebx
push edi
push 0x46
mov eax, esi
call fcn.100c1500
add esp, 0x10
jmp 0x100f964d
lea ecx, [eax + 1]
mov dword [esi + 0x20], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov byte [eax], 0x46
mov byte [eax + 3], bl
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x78]
cmp eax, ebx
je 0x100f9669
mov edx, dword [esp + 0x34]
lea edx, [edx*4 + 4]
sub eax, edx
mov edx, dword [esi + 0x20]
mov dword [eax], edx
mov eax, dword [esi + 0x20]
sub eax, 1
mov dword [ecx + 0x60], eax
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
mov ecx, eax
mov dword [esp + 0x34], ecx
add ecx, 2
cmp dword [edx + 0x58], eax
jg 0x100f969b
mov eax, dword [esp + 0x3c]
push ebx
push ecx
push eax
push 0x40
mov eax, esi
call fcn.100c1500
add esp, 0x10
jmp 0x100f96c3
lea edx, [eax + 1]
mov dword [esi + 0x20], edx
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x3c]
mov byte [eax], 0x40
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 + 0x20]
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0x58], eax
jg 0x100f96df
push ebx
push ebx
push edi
push 0x46
mov eax, esi
call fcn.100c1500
add esp, 0x10
jmp 0x100f9703
mov ecx, dword [esi + 4]
lea edx, [eax + 1]
mov dword [esi + 0x20], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x46
mov byte [eax + 3], bl
mov dword [eax + 4], edi
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 + 0xa8]
push edx
call fcn.100f7b40
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x50]
mov ecx, dword [ebp + 8]
add esp, 4
push 0x10
add edi, 1
push edi
push eax
push ecx
call fcn.100d7c50
mov edx, dword [esp + 0x7c]
mov eax, dword [ebp + 0x10]
push edx
push edi
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x90]
push ecx
mov ecx, dword [eax]
lea edx, [esp + 0xa8]
push edx
mov edx, dword [ebp + 8]
push 0xffffffffffffffff
push ecx
push eax
push edx
call fcn.100f1ba0
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
add esp, 0x34
cmp dword [ecx + 0x58], eax
jg 0x100f977d
mov edx, dword [esp + 0x14]
push ebx
push ebx
push edx
push 0x46
mov eax, esi
call fcn.100c1500
add esp, 0x10
jmp 0x100f97a5
lea ecx, [eax + 1]
mov dword [esi + 0x20], ecx
mov ecx, dword [esp + 0x14]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov byte [eax], 0x46
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 ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x78]
cmp eax, ebx
je 0x100f97c1
mov edx, dword [esp + 0x18]
lea edx, [edx*4 + 4]
sub eax, edx
mov edx, dword [esi + 0x20]
mov dword [eax], edx
mov eax, dword [esi + 0x20]
mov edx, dword [ebp + 8]
sub eax, 1
mov dword [ecx + 0x60], eax
lea ecx, [esp + 0xa8]
push ecx
push edx
call fcn.100f7a20
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
add esp, 8
cmp dword [ecx + 0x58], eax
jg 0x100f9801
mov edx, dword [esp + 0x20]
push ebx
push ebx
push edx
push 0x46
mov eax, esi
call fcn.100c1500
add esp, 0x10
jmp 0x100f9b8b
lea ecx, [eax + 1]
mov dword [esi + 0x20], ecx
mov ecx, dword [esp + 0x20]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov byte [eax], 0x46
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 0x100f9b8b
mov eax, dword [ebp + 0xc]
lea edx, [esp + 0xa8]
mov dword [esp + 0x2c], 0
call fcn.100f6790
mov ebx, eax
test ebx, ebx
je 0x100f9a39
mov edx, dword [ebx + 0x40]
test edx, edx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edi, 0xfff0bdc0
je 0x100f987e
mov ecx, dword [eax + 0x14]
xor edi, edi
test ecx, ecx
jle 0x100f987e
mov eax, dword [eax + 0x10]
add eax, 0xc
nop
cmp dword [eax], edx
je 0x100f987e
add edi, 1
add eax, 0x10
cmp edi, ecx
jl 0x100f9870
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x48]
mov dword [esp + 0x18], eax
add eax, 1
mov dword [edx + 0x48], eax
mov ecx, dword [ebx + 0x1c]
xor eax, eax
mov dword [esp + 0x14], ecx
mov ecx, edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x3c], eax
call fcn.100e1600
mov edx, dword [ebx]
mov eax, dword [ebx + 0x1c]
push edx
push 0
push eax
mov eax, dword [ebp + 8]
push edi
call fcn.100dbbe0
add esp, 0x10
test byte [ebx + 0x2a], 0x20
je 0x100f98ea
mov eax, dword [ebx + 8]
test eax, eax
je 0x100f98e2
jmp 0x100f98d0
mov ecx, dword [eax + 0x38]
and cl, 3
cmp cl, 2
je 0x100f98e2
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x100f98d0
mov edx, eax
mov dword [esp + 0x3c], edx
jmp 0x100f98ee
mov edx, dword [esp + 0x3c]
mov eax, dword [ebx + 8]
test eax, eax
je 0x100f9922
test byte [eax + 0x38], 4
jne 0x100f9917
movzx ecx, word [eax + 0x30]
cmp cx, word [ebx + 0x28]
jge 0x100f9917
cmp dword [eax + 0x24], 0
jne 0x100f9917
test edx, edx
je 0x100f9915
cmp cx, word [edx + 0x30]
jge 0x100f9917
mov edx, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x100f98f5
mov dword [esp + 0x3c], edx
test edx, edx
je 0x100f9942
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + 0x2c]
push eax
mov eax, dword [ebp + 8]
push eax
mov dword [esp + 0x1c], edx
call fcn.100e1c90
add esp, 8
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push 1
push 0x66
mov eax, edi
call fcn.100c1810
add esp, 8
cmp dword [esp + 0x20], 0
je 0x100f99af
mov edi, dword [esi]
cmp byte [edi + 0x45], 0
je 0x100f9977
mov ecx, dword [esp + 0x20]
mov eax, 0xfffffffa
call fcn.100c1c40
jmp 0x100f99af
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 4]
sub eax, 1
lea ecx, [eax + eax*4]
cmp byte [edx + ecx*4 + 1], 0
lea eax, [edx + ecx*4]
je 0x100f99a4
mov ecx, dword [esp + 0x20]
push ecx
push eax
mov eax, 0xfffffffa
mov ecx, esi
call fcn.100c1e20
add esp, 8
jmp 0x100f99af
mov edx, dword [esp + 0x20]
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xfa
mov eax, dword [esp + 0xd0]
mov ecx, dword [eax + 8]
mov edi, dword [esp + 0x18]
push 0
push ecx
push edi
push 0x62
push esi
call fcn.100c1540
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
add esp, 0x14
cmp dword [edx + 0x58], eax
jg 0x100f99fd
push 0
push 0
push edi
push 0x6d
mov eax, esi
call fcn.100c1500
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x4c]
add esp, 0x10
mov edx, ebx
mov ecx, edi
call fcn.100f8080
jmp 0x100f9b3c
lea ecx, [eax + 1]
mov dword [esi + 0x20], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
xor ecx, ecx
mov dword [eax + 4], edi
mov edi, dword [ebp + 8]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [eax], 0x6d
mov byte [eax + 3], 0
mov eax, dword [esp + 0x3c]
mov edx, ebx
mov ecx, edi
call fcn.100f8080
jmp 0x100f9b3c
mov ecx, dword [ebp + 0xc]
xor edi, edi
cmp dword [ecx + 0x28], edi
mov dword [esp + 0x14], edi
mov byte [esp + 0x27], 0
jne 0x100f9aa0
lea edi, [esp + 0x14]
lea eax, [esp + 0xa8]
call fcn.100f6720
test al, al
mov byte [esp + 0x27], al
je 0x100f9a9c
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
push 0
push edx
push ebx
call fcn.100d44f0
add esp, 0xc
cmp byte [ebx + 0x45], 0
mov edi, eax
mov dword [esp + 0x2c], edi
jne 0x100f9aa0
cmp byte [esp + 0x27], 1
mov ecx, dword [edi + 4]
setne al
mov byte [ecx + 0xc], al
mov edx, dword [edi + 4]
mov eax, dword [edx]
mov byte [eax], 0x98
jmp 0x100f9aa0
mov edi, dword [esp + 0x14]
mov ebx, dword [ebp + 8]
lea ecx, [esp + 0xa8]
push ecx
push ebx
call fcn.100f7a20
movzx dx, byte [esp + 0x2f]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
push 0
push edx
push 0
push edi
push eax
push ecx
push ebx
call fcn.10108220
mov edi, eax
add esp, 0x24
test edi, edi
jne 0x100f9af5
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x100f829b
mov edx, dword [esp + 0x10]
push eax
push edx
call fcn.100d4c20
add esp, 8
jmp 0x100f829b
lea eax, [esp + 0xa8]
push eax
push ebx
call fcn.100f7c50
add esp, 8
cmp byte [edi + 0x26], 0
jle 0x100f9b1f
mov ecx, dword [edi + 0x34]
push 0
push ecx
push 0
push 0xd
push esi
call fcn.100c1540
add esp, 0x14
push edi
call fcn.10108b80
lea edx, [esp + 0xac]
add esp, 4
push edx
mov eax, ebx
call fcn.100f7b40
add esp, 4
mov edi, ebx
mov ebx, dword [esp + 0x58]
mov eax, dword [esp + 0x4c]
push 0x10
push ebx
push eax
push edi
mov dword [esp + 0x98], 0
call fcn.100d7c50
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
push ebx
push ebx
push ecx
push 0
push 0
push 0xffffffffffffffff
push edx
push eax
push edi
call fcn.100f1ba0
mov eax, dword [esp + 0x60]
add esp, 0x34
test eax, eax
je 0x100f9b8b
push eax
mov eax, dword [esp + 0x14]
push eax
call fcn.100d4c20
add esp, 8
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x100f9ba7
mov edx, dword [esp + 0x58]
lea edx, [edx*4 + 4]
sub eax, edx
mov edx, dword [esi + 0x20]
mov dword [eax], edx
mov eax, dword [esi + 0x20]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
sub eax, 1
mov dword [ecx + 0x60], eax
cmp byte [esp + 0x75], 3
jne 0x100f9bc9
mov eax, str.DISTINCT
mov ecx, ebx
call fcn.100f2670
cmp dword [esp + 0x88], 0
je 0x100f9c0d
cmp dword [esp + 0x8c], 0
mov eax, str.RIGHT_PART_OF_ORDER_BY
jg 0x100f9be7
mov eax, str.ORDER_BY
mov ecx, ebx
call fcn.100f2670
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x44]
mov eax, dword [edx]
push ecx
push eax
lea ecx, [esp + 0x90]
push ecx
push edi
call fcn.100f2810
mov ebx, dword [ebp + 8]
add esp, 0x10
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x100f9c2c
mov edx, dword [esp + 0xfc]
lea edx, [edx*4 + 4]
sub eax, edx
mov edx, dword [esi + 0x20]
mov dword [eax], edx
mov eax, dword [esi + 0x20]
sub eax, 1
mov dword [ecx + 0x60], eax
xor ecx, ecx
cmp dword [ebx + 0x44], ecx
setg cl
mov dword [esp + 0x28], ecx
jmp 0x100f829b
mov ebx, dword [ebp + 8]
jmp 0x100f829b
mov esi, eax
jmp 0x100f829f
mov esi, edx
jmp 0x100f829f
cmp eax, dword [esi + 0x120]
jb 0x100f9c83
cmp eax, dword [esi + 0x124]
jae 0x100f9c83
mov ecx, dword [esi + 0x11c]
mov dword [eax], ecx
add dword [esi + 0x108], 0xffffffff
mov dword [esi + 0x11c], eax
jmp 0x100f9cdc
cmp dword [0x10170158], 0
je 0x100f9cd2
mov eax, dword [0x10186ab0]
test eax, eax
je 0x100f9c9f
push eax
call dword [0x101701b0]
add esp, 4
push edi
call dword [0x1017018c]
sub dword [0x10186900], eax
sub dword [0x10186924], 1
add esp, 4
push edi
call dword [0x10170184]
mov eax, dword [0x10186ab0]
add esp, 4
test eax, eax
je 0x100f9cdc
push eax
call dword [0x101701b8]
jmp 0x100f9cd9
push eax
call dword [0x10170184]
add esp, 4
mov eax, dword [esp + 0xd0]
test eax, eax
mov edi, eax
je 0x100f9d9d
cmp dword [esi + 0x1c8], 0
je 0x100f9d08
mov ecx, esi
call fcn.100a3e80
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, dword [esi + 0x120]
jb 0x100f9d38
cmp eax, dword [esi + 0x124]
jae 0x100f9d38
mov edx, dword [esi + 0x11c]
mov dword [eax], edx
add dword [esi + 0x108], 0xffffffff
mov dword [esi + 0x11c], eax
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x10170158], 0
je 0x100f9d93
mov eax, dword [0x10186ab0]
test eax, eax
je 0x100f9d54
push eax
call dword [0x101701b0]
add esp, 4
push edi
call dword [0x1017018c]
sub dword [0x10186900], eax
sub dword [0x10186924], 1
add esp, 4
push edi
call dword [0x10170184]
mov eax, dword [0x10186ab0]
add esp, 4
test eax, eax
je 0x100f9d9d
push eax
call dword [0x101701b8]
mov eax, dword [esp + 0x2c]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call dword [0x10170184]
add esp, 4
mov eax, dword [esp + 0x28]
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