Function at 0x100f8370
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 0x100f9fc8
cmp byte [esi + 0x45], 0
jne 0x100f9fc8
cmp dword [ebx + 0x44], 0
jne 0x100f9fc8
push 0
push 0
push 0
push 0x15
mov eax, ebx
call fcn.100dbd70
add esp, 0x10
test eax, eax
jne 0x100f9fc8
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 0x100f8425
mov eax, dword [edi + 0x2c]
push esi
call fcn.100d4fc0
add esp, 4
and dword [edi + 8], 0xfffffffe
mov dword [edi + 0x2c], 0
push 0
push edi
push ebx
call fcn.100f7be0
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 0x100f84bf
cmp byte [esi + 0x45], 0
jne 0x100f84bf
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 0x100f8518
cmp eax, 0xa
je 0x100f84ac
cmp eax, 0xb
jne 0x100f8518
push str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
mov esi, ebx
call fcn.100a6b40
add esp, 4
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x28], 0
mov edx, dword [esp + 0xd8]
mov dword [ebx + 0x1d4], edx
jne 0x100f84ee
mov eax, dword [ebp + 0x10]
cmp byte [eax], 9
jne 0x100f84ee
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push ecx
push edx
push ebx
call fcn.100f31d0
add esp, 0xc
mov eax, dword [esp + 0xc4]
test eax, eax
mov edi, eax
je 0x100f9efc
cmp dword [esi + 0x1c8], 0
je 0x100f9e7c
mov ecx, esi
call fcn.100a40a0
jmp 0x100f9efc
cmp dword [edi + 0x30], 0
mov dword [esp + 0x1c], 0
je 0x100f8574
mov esi, dword [ebx + 8]
test esi, esi
jne 0x100f8541
mov edi, ebx
call fcn.100f3b00
mov edi, dword [ebp + 0xc]
mov esi, eax
test esi, esi
je 0x100f84bb
cmp dword [edi + 0x30], 0
je 0x100f8631
mov edx, dword [ebp + 0x10]
push edx
push ebx
mov eax, edi
call fcn.100f42b0
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 0x100f8526
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 0x100f85fc
movsx edx, word [ecx + 0x22]
mov esi, dword [eax]
cmp edx, dword [esi]
jne 0x100f8610
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.100f6270
add esp, 0x10
test eax, eax
je 0x100f85d5
test esi, esi
je 0x100f85cd
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 0x100f9e6e
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], 8
jbe 0x100f85fc
mov edx, dword [edi + 0x2c]
mov dword [esp + 0x88], edx
add dword [esp + 0x1c], 1
cmp dword [edi + 0x30], 0
je 0x100f8570
jmp 0x100f8526
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.100a6b40
add esp, 0x10
jmp 0x100f84bb
mov edx, dword [esp + 0x40]
cmp dword [edx], 0
mov dword [esp + 0x1c], 0
jle 0x100f88a6
jmp 0x100f8650
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 0x100f888f
mov eax, dword [edi + 0x18]
test eax, eax
je 0x100f8699
test byte [edi + 0x28], 0x10
jne 0x100f888f
mov edx, dword [edi + 0x1c]
push 0
push eax
push edx
push 0xe
push esi
call fcn.100c1760
add esp, 0x14
jmp 0x100f888f
mov ecx, dword [ebp + 0xc]
call fcn.100d3b80
add dword [ebx + 0x1d0], eax
test byte [edi + 0x24], 0x20
jne 0x100f86ca
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.100f6870
add esp, 0x10
cmp dword [esp + 0x1c], 0
jne 0x100f87aa
mov eax, dword [esp + 0x40]
cmp dword [eax], 1
je 0x100f86e8
test byte [eax + 0x7c], 0xa
je 0x100f87aa
mov edx, dword [ebp + 0xc]
test byte [edx + 8], 2
jne 0x100f87aa
mov eax, dword [esp + 0x10]
test word [eax + 0x40], 0x100
jne 0x100f87aa
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.100c1760
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.100f8370
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.100c1ab0
mov ecx, dword [esp + 0x4c]
add ecx, 0xffffffff
mov eax, esi
call fcn.100c1e20
jmp 0x100f8868
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.100c1760
mov dword [esp + 0x60], eax
add eax, 1
add esp, 0x14
test byte [edi + 0x28], 8
mov dword [edi + 0x18], eax
jne 0x100f87e7
mov eax, ebx
call fcn.100d53e0
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.100f8370
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 0x100f8848
mov ecx, dword [esp + 0x18]
mov eax, esi
call fcn.100c1e20
mov edi, dword [edi + 0x1c]
push 0
push 0
push edi
push 0x46
push esi
call fcn.100c1760
mov edx, eax
mov eax, dword [esp + 0x60]
add esp, 0x14
mov ecx, esi
call fcn.100c1dd0
mov edx, dword [esp + 0x10]
mov dword [ebx + 0x3c], 0
mov byte [ebx + 0x13], 0
cmp byte [edx + 0x45], 0
jne 0x100f9e75
mov ecx, dword [ebp + 0xc]
call fcn.100d3b80
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 0x100f8650
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 0x100f8911
mov ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x88]
push 0xffffffffffffffff
push ecx
call fcn.100d8370
mov edi, dword [ebp + 0xc]
add esp, 8
test eax, eax
jne 0x100f8911
mov edx, dword [esp + 0x44]
and dword [edi + 8], 0xfffffffe
push eax
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.100d4710
add esp, 0xc
mov dword [edi + 0x24], eax
mov dword [esp + 0x38], eax
cmp dword [esp + 0x88], 0
je 0x100f896d
mov ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x88]
mov ecx, dword [ecx]
push 0
push ebx
mov eax, edi
call fcn.100f27f0
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.100c18f0
mov edi, dword [ebp + 0xc]
add esp, 0x14
mov dword [esp + 0x9c], eax
jmp 0x100f8978
mov dword [esp + 0x9c], 0xffffffff
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], 0xc
jne 0x100f8998
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.100c1760
add esp, 0x14
mov eax, esi
call fcn.100c1ae0
push eax
mov dword [esp + 0x100], eax
push edi
mov eax, ebx
mov word [edi + 6], 0x140
call fcn.100f3b70
add esp, 8
cmp dword [edi + 0xc], 0
jne 0x100f89e0
cmp dword [esp + 0x9c], 0
jl 0x100f89e0
mov eax, dword [esp + 0x9c]
mov dl, 0x6a
mov ecx, esi
call fcn.100c1da0
or byte [esp + 0xa4], 1
test byte [edi + 8], 1
je 0x100f8a9c
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.100f27f0
push 0
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x84]
push 0
push eax
push 0x69
push esi
call fcn.100c1760
mov edx, dword [esi]
add esp, 0x1c
cmp byte [edx + 0x45], 0
mov dword [esp + 0x14], eax
je 0x100f8a3f
mov ecx, dword [esp + 0x18]
mov eax, 0xfffffffa
mov edi, edx
call fcn.100c1e60
mov edi, dword [ebp + 0xc]
jmp 0x100f8a7e
cmp dword [esp + 0x14], 0
jge 0x100f8a4c
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 0x100f8a73
push ecx
push eax
mov eax, 0xfffffffa
mov ecx, esi
call fcn.100c2040
add esp, 8
jmp 0x100f8a7e
test ecx, ecx
je 0x100f8a7e
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.100c1e00
add esp, 4
mov byte [esp + 0x75], 3
jmp 0x100f8aa1
mov byte [esp + 0x75], 0
mov edx, dword [esp + 0x38]
xor eax, eax
cmp dword [esp + 0x20], eax
jne 0x100f8bb5
cmp edx, eax
jne 0x100f8bb5
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.10108440
add esp, 0x1c
test eax, eax
mov dword [esp + 0x64], eax
je 0x100f84bb
mov ecx, eax
movzx eax, word [ecx + 0x20]
cmp ax, word [edi + 6]
jge 0x100f8b15
mov word [edi + 6], ax
cmp byte [esp + 0x74], 0
je 0x100f8b27
mov al, byte [ecx + 0x2a]
test al, al
je 0x100f8b27
mov byte [esp + 0x75], al
mov eax, dword [esp + 0x88]
test eax, eax
je 0x100f8b53
movsx ecx, byte [ecx + 0x26]
cmp ecx, dword [eax]
mov dword [esp + 0x8c], ecx
jne 0x100f8b53
mov dword [esp + 0x88], 0
mov eax, dword [esp + 0x88]
cmp dword [esp + 0x9c], 0
jl 0x100f8b6f
test eax, eax
jne 0x100f8b6f
mov eax, dword [esp + 0x9c]
mov ecx, esi
call fcn.100c2000
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.100f1dc0
mov ecx, dword [esp + 0x88]
add esp, 0x24
push ecx
call fcn.10108da0
add esp, 4
jmp 0x100f9dd6
cmp edx, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], eax
je 0x100f8c0a
mov ecx, dword [edi]
mov eax, dword [ecx]
test eax, eax
mov ecx, dword [ecx + 4]
jle 0x100f8be2
add ecx, 0x16
mov word [ecx], 0
sub eax, 1
add ecx, 0x18
test eax, eax
jg 0x100f8bd3
mov eax, dword [edx]
test eax, eax
mov ecx, dword [edx + 4]
jle 0x100f8bff
add ecx, 0x16
mov edi, edi
mov word [ecx], 0
sub eax, 1
add ecx, 0x18
test eax, eax
jg 0x100f8bf0
mov eax, 0x42
cmp word [edi + 6], ax
jle 0x100f8c0e
mov word [edi + 6], ax
mov edx, dword [esp + 0x88]
mov edi, dword [esp + 0x38]
push 0xffffffffffffffff
push edx
call fcn.100d8370
add esp, 8
test eax, eax
jne 0x100f8c30
mov dword [esp + 0x14], 1
mov eax, esi
call fcn.100c1ae0
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 0x100f8cb5
mov eax, dword [eax]
mov dword [esp + 0xb4], eax
jmp 0x100f8cc0
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.100d8810
mov ebx, dword [esp + 0x8c]
lea edx, [esp + 0xe0]
add esp, 4
push edx
call fcn.100d8810
mov ecx, dword [esp + 0x50]
xor ebx, ebx
add esp, 4
cmp ecx, ebx
je 0x100f8d10
lea eax, [esp + 0xdc]
push eax
call fcn.100d87c0
add esp, 4
cmp dword [esp + 0xd4], ebx
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0xcc], ecx
mov dword [esp + 0x1c], ebx
jle 0x100f8d7d
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.100d8810
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 0x100f8d30
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 0x100f9e66
test edi, edi
je 0x100f9a4e
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.100f27f0
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.100c1760
mov edx, dword [esi]
add esp, 0x1c
cmp byte [edx + 0x45], 0
mov dword [esp + 0x6c], eax
je 0x100f8e06
mov ecx, dword [esp + 0x60]
mov eax, 0xfffffffa
mov edi, edx
call fcn.100c1e60
mov edi, dword [esp + 0x38]
jmp 0x100f8e42
test eax, eax
jge 0x100f8e10
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 0x100f8e37
push ecx
push eax
mov eax, 0xfffffffa
mov ecx, esi
call fcn.100c2040
add esp, 8
jmp 0x100f8e42
test ecx, ecx
je 0x100f8e42
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.100c1ae0
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.100c1ae0
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.100c1760
mov ecx, dword [esp + 0x50]
add esp, 0x14
push 0
push ecx
push 0
push 0x4a
push esi
call fcn.100c1760
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.100c1760
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.100c1760
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.10108440
add esp, 0x1c
test eax, eax
mov dword [esp + 0x64], eax
je 0x100f9e66
movsx ecx, byte [eax + 0x26]
cmp ecx, dword [edi]
jne 0x100f8f3d
xor ebx, ebx
mov dword [esp + 0x48], ebx
jmp 0x100f9295
cmp byte [esp + 0x74], 0
je 0x100f8f52
mov edx, dword [ebp + 0xc]
test byte [edx + 8], 1
mov eax, str.DISTINCT
je 0x100f8f57
mov eax, str.GROUP_BY
mov ecx, ebx
call fcn.100f2890
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 0x100f8f9f
mov edx, dword [esp + 0xc4]
add edx, 0xc
mov dword [esp + 0x2c], ecx
cmp dword [edx], eax
jl 0x100f8f95
add dword [esp + 0x5c], 1
add eax, 1
add edx, 0x18
sub dword [esp + 0x2c], 1
jne 0x100f8f89
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esp + 0x5c]
cmp ecx, eax
mov edx, dword [ebx + 0x40]
mov dword [esp + 0x28], edx
jg 0x100f8fbd
add edx, ecx
sub eax, ecx
mov dword [ebx + 0x40], edx
mov dword [ebx + 0x3c], eax
jmp 0x100f8fcc
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.100d6770
mov eax, dword [esp + 0x28]
push 0
push 0
push eax
push edi
push ebx
call fcn.100d78e0
mov ecx, dword [esp + 0x44]
add esp, 0x14
cmp dword [esp + 0xc8], 0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], 0
jle 0x100f9091
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 0x100f907a
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.100d66b0
add esp, 0x14
cmp eax, dword [esp + 0x30]
je 0x100f9066
mov edx, dword [esp + 0x30]
push 0
push edx
push eax
mov eax, dword [ebx + 8]
push 0x53
push eax
call fcn.100c1760
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 0x100f9019
mov al, byte [ebx + 0x13]
test al, al
jne 0x100f90a1
add dword [ebx + 0x4c], 1
mov edi, dword [ebx + 0x4c]
jmp 0x100f90ad
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 0x100f90d1
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x28]
push edi
push eax
push ecx
push 0x60
mov eax, esi
call fcn.100c1720
add esp, 0x10
jmp 0x100f9103
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 0x100f9129
push 0
mov eax, ecx
push edi
push eax
push 0x7b
mov eax, esi
call fcn.100c1720
add esp, 0x10
jmp 0x100f9150
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 0x100f917c
mov dl, byte [ebx + 0x13]
cmp dl, 8
jae 0x100f917c
xor eax, eax
lea ecx, [ebx + 0x7c]
cmp dword [ecx + 0xc], edi
je 0x100f91d3
add eax, 1
add ecx, 0x14
cmp eax, 0xa
jl 0x100f9161
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.100d6560
mov edi, dword [esp + 0x60]
add esp, 4
cmp edi, dword [ebx + 0x3c]
jle 0x100f91a2
mov edx, dword [esp + 0x28]
mov dword [ebx + 0x3c], edi
mov dword [ebx + 0x40], edx
mov eax, dword [esp + 0x64]
push eax
call fcn.10108da0
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 0x100f91d9
add dword [ebx + 0x4c], 1
mov ebx, dword [ebx + 0x4c]
jmp 0x100f91e5
mov byte [ecx + 6], 1
jmp 0x100f917c
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 0x100f9207
push edi
push ebx
push ecx
push 0x6c
mov eax, esi
call fcn.100c1720
add esp, 0x10
xor edx, edx
jmp 0x100f922e
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 0x100f9255
mov eax, dword [esp + 0x58]
push edx
push eax
push ecx
push 0x2a
mov eax, esi
call fcn.100c1720
add esp, 0x10
jmp 0x100f927f
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.100d6770
mov eax, dword [esp + 0x64]
xor ebx, ebx
cmp dword [esp + 0x14], ebx
je 0x100f92eb
mov edx, dword [esp + 0x10]
test byte [edx + 0x40], 4
jne 0x100f92eb
cmp dword [esp + 0x48], ebx
jne 0x100f92b0
cmp byte [eax + 0x27], bl
je 0x100f92eb
mov edi, dword [esi]
cmp byte [edi + 0x45], bl
mov dword [esp + 0x88], ebx
jne 0x100f92eb
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.100c1e60
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.100d6770
cmp dword [esp + 0x48], ebx
je 0x100f931d
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.100c1760
add esp, 0x14
mov ecx, dword [esp + 0x38]
xor edi, edi
cmp dword [ecx], ebx
jle 0x100f93cd
mov dword [esp + 0x14], ebx
nop
cmp dword [esp + 0x48], ebx
je 0x100f938e
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0x58], eax
jg 0x100f935d
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.100c1720
add esp, 0x10
jmp 0x100f93b9
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 0x100f93b9
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.100d7820
add esp, 0xc
mov ecx, dword [esp + 0x38]
add dword [esp + 0x14], 0x18
add edi, 1
cmp edi, dword [ecx]
jl 0x100f9330
mov eax, dword [esp + 0x60]
cmp eax, ebx
je 0x100f93d8
add dword [eax], 1
mov edx, dword [ecx]
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x100f93fe
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x6c]
push ecx
push edx
push 0x5d
mov eax, esi
call fcn.100c1720
add esp, 0x10
jmp 0x100f942c
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 0x100f9443
mov ecx, dword [esp + 0x60]
mov eax, 0xfffffffa
call fcn.100c1e60
jmp 0x100f947e
cmp eax, ebx
jge 0x100f944d
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 0x100f9473
push ecx
push eax
mov eax, 0xfffffffa
mov ecx, esi
call fcn.100c2040
add esp, 8
jmp 0x100f947e
cmp ecx, ebx
je 0x100f947e
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 0x100f94a1
push ecx
push ebx
push ecx
push 0x12
mov eax, esi
call fcn.100c1720
add esp, 0x10
jmp 0x100f94c5
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 0x100f94f3
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x54]
push edi
push ecx
push edx
push 0x51
call fcn.100c1720
add esp, 0x10
jmp 0x100f951f
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.100d6560
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
mov edi, dword [esp + 0x54]
add esp, 4
cmp dword [ecx + 0x58], eax
jg 0x100f9556
mov edx, dword [esp + 0x34]
push ebx
push edx
lea eax, [edi + 1]
push eax
push 0xe
mov eax, esi
call fcn.100c1720
add esp, 0x10
jmp 0x100f9585
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 0x100f95a5
mov eax, dword [esp + 0x58]
push ebx
push eax
push edi
push 0x40
mov eax, esi
call fcn.100c1720
add esp, 0x10
jmp 0x100f95cd
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 0x100f95f1
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
push ebx
push eax
push ecx
push 0xe
mov eax, esi
call fcn.100c1720
add esp, 0x10
jmp 0x100f961d
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 0x100f9637
lea eax, [ecx - 1]
mov edx, dword [esi]
cmp byte [edx + 0x45], bl
je 0x100f9645
mov eax, 0x101795e8
jmp 0x100f964e
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.100f7e70
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
add esp, 8
cmp dword [edx + 0x58], eax
jg 0x100f9686
mov eax, dword [esp + 0x3c]
push ebx
push eax
push 1
push 0x4a
mov eax, esi
call fcn.100c1720
add esp, 0x10
jmp 0x100f96b2
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 0x100f9703
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
cmp dword [edx + 0x58], eax
mov ecx, dword [esp + 0xac]
jg 0x100f96df
mov eax, dword [esp + 0x28]
push ebx
push eax
push ecx
push 3
mov eax, esi
call fcn.100c1720
add esp, 0x10
jmp 0x100f9741
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 0x100f973b
mov edx, dword [esp + 0x64]
push edx
call fcn.10108da0
mov edi, dword [esi]
add esp, 4
cmp byte [edi + 0x45], bl
jne 0x100f9741
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.100c1e60
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 0x100f976c
mov eax, dword [esp + 0x34]
push ebx
push eax
push edi
push 0xe
mov eax, esi
call fcn.100c1720
add esp, 0x10
jmp 0x100f9794
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 0x100f97b4
mov eax, dword [esp + 0x58]
push ebx
push eax
push ebx
push 0xd
mov eax, esi
call fcn.100c1720
add esp, 0x10
jmp 0x100f97dc
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 0x100f9801
mov eax, dword [esp + 0x50]
push ebx
push eax
push 1
push 0x4a
mov eax, esi
call fcn.100c1720
add esp, 0x10
jmp 0x100f982d
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 0x100f9849
push ebx
push ebx
push edi
push 0x46
mov eax, esi
call fcn.100c1720
add esp, 0x10
jmp 0x100f986d
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 0x100f9889
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 0x100f98bb
mov eax, dword [esp + 0x3c]
push ebx
push ecx
push eax
push 0x40
mov eax, esi
call fcn.100c1720
add esp, 0x10
jmp 0x100f98e3
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 0x100f98ff
push ebx
push ebx
push edi
push 0x46
mov eax, esi
call fcn.100c1720
add esp, 0x10
jmp 0x100f9923
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.100f7d60
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.100d7e70
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.100f1dc0
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
add esp, 0x34
cmp dword [ecx + 0x58], eax
jg 0x100f999d
mov edx, dword [esp + 0x14]
push ebx
push ebx
push edx
push 0x46
mov eax, esi
call fcn.100c1720
add esp, 0x10
jmp 0x100f99c5
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 0x100f99e1
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.100f7c40
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
add esp, 8
cmp dword [ecx + 0x58], eax
jg 0x100f9a21
mov edx, dword [esp + 0x20]
push ebx
push ebx
push edx
push 0x46
mov eax, esi
call fcn.100c1720
add esp, 0x10
jmp 0x100f9dab
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 0x100f9dab
mov eax, dword [ebp + 0xc]
lea edx, [esp + 0xa8]
mov dword [esp + 0x2c], 0
call fcn.100f69b0
mov ebx, eax
test ebx, ebx
je 0x100f9c59
mov edx, dword [ebx + 0x40]
test edx, edx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edi, 0xfff0bdc0
je 0x100f9a9e
mov ecx, dword [eax + 0x14]
xor edi, edi
test ecx, ecx
jle 0x100f9a9e
mov eax, dword [eax + 0x10]
add eax, 0xc
nop
cmp dword [eax], edx
je 0x100f9a9e
add edi, 1
add eax, 0x10
cmp edi, ecx
jl 0x100f9a90
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.100e1820
mov edx, dword [ebx]
mov eax, dword [ebx + 0x1c]
push edx
push 0
push eax
mov eax, dword [ebp + 8]
push edi
call fcn.100dbe00
add esp, 0x10
test byte [ebx + 0x2a], 0x20
je 0x100f9b0a
mov eax, dword [ebx + 8]
test eax, eax
je 0x100f9b02
jmp 0x100f9af0
mov ecx, dword [eax + 0x38]
and cl, 3
cmp cl, 2
je 0x100f9b02
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x100f9af0
mov edx, eax
mov dword [esp + 0x3c], edx
jmp 0x100f9b0e
mov edx, dword [esp + 0x3c]
mov eax, dword [ebx + 8]
test eax, eax
je 0x100f9b42
test byte [eax + 0x38], 4
jne 0x100f9b37
movzx ecx, word [eax + 0x30]
cmp cx, word [ebx + 0x28]
jge 0x100f9b37
cmp dword [eax + 0x24], 0
jne 0x100f9b37
test edx, edx
je 0x100f9b35
cmp cx, word [edx + 0x30]
jge 0x100f9b37
mov edx, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x100f9b15
mov dword [esp + 0x3c], edx
test edx, edx
je 0x100f9b62
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.100e1eb0
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.100c1a30
add esp, 8
cmp dword [esp + 0x20], 0
je 0x100f9bcf
mov edi, dword [esi]
cmp byte [edi + 0x45], 0
je 0x100f9b97
mov ecx, dword [esp + 0x20]
mov eax, 0xfffffffa
call fcn.100c1e60
jmp 0x100f9bcf
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 0x100f9bc4
mov ecx, dword [esp + 0x20]
push ecx
push eax
mov eax, 0xfffffffa
mov ecx, esi
call fcn.100c2040
add esp, 8
jmp 0x100f9bcf
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.100c1760
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
add esp, 0x14
cmp dword [edx + 0x58], eax
jg 0x100f9c1d
push 0
push 0
push edi
push 0x6d
mov eax, esi
call fcn.100c1720
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x4c]
add esp, 0x10
mov edx, ebx
mov ecx, edi
call fcn.100f82a0
jmp 0x100f9d5c
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.100f82a0
jmp 0x100f9d5c
mov ecx, dword [ebp + 0xc]
xor edi, edi
cmp dword [ecx + 0x28], edi
mov dword [esp + 0x14], edi
mov byte [esp + 0x27], 0
jne 0x100f9cc0
lea edi, [esp + 0x14]
lea eax, [esp + 0xa8]
call fcn.100f6940
test al, al
mov byte [esp + 0x27], al
je 0x100f9cbc
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
push 0
push edx
push ebx
call fcn.100d4710
add esp, 0xc
cmp byte [ebx + 0x45], 0
mov edi, eax
mov dword [esp + 0x2c], edi
jne 0x100f9cc0
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 0x100f9cc0
mov edi, dword [esp + 0x14]
mov ebx, dword [ebp + 8]
lea ecx, [esp + 0xa8]
push ecx
push ebx
call fcn.100f7c40
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.10108440
mov edi, eax
add esp, 0x24
test edi, edi
jne 0x100f9d15
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x100f84bb
mov edx, dword [esp + 0x10]
push eax
push edx
call fcn.100d4e40
add esp, 8
jmp 0x100f84bb
lea eax, [esp + 0xa8]
push eax
push ebx
call fcn.100f7e70
add esp, 8
cmp byte [edi + 0x26], 0
jle 0x100f9d3f
mov ecx, dword [edi + 0x34]
push 0
push ecx
push 0
push 0xd
push esi
call fcn.100c1760
add esp, 0x14
push edi
call fcn.10108da0
lea edx, [esp + 0xac]
add esp, 4
push edx
mov eax, ebx
call fcn.100f7d60
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.100d7e70
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.100f1dc0
mov eax, dword [esp + 0x60]
add esp, 0x34
test eax, eax
je 0x100f9dab
push eax
mov eax, dword [esp + 0x14]
push eax
call fcn.100d4e40
add esp, 8
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x100f9dc7
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 0x100f9de9
mov eax, str.DISTINCT
mov ecx, ebx
call fcn.100f2890
cmp dword [esp + 0x88], 0
je 0x100f9e2d
cmp dword [esp + 0x8c], 0
mov eax, str.RIGHT_PART_OF_ORDER_BY
jg 0x100f9e07
mov eax, str.ORDER_BY
mov ecx, ebx
call fcn.100f2890
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.100f2a30
mov ebx, dword [ebp + 8]
add esp, 0x10
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x100f9e4c
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 0x100f84bb
mov ebx, dword [ebp + 8]
jmp 0x100f84bb
mov esi, eax
jmp 0x100f84bf
mov esi, edx
jmp 0x100f84bf
cmp eax, dword [esi + 0x120]
jb 0x100f9ea3
cmp eax, dword [esi + 0x124]
jae 0x100f9ea3
mov ecx, dword [esi + 0x11c]
mov dword [eax], ecx
add dword [esi + 0x108], 0xffffffff
mov dword [esi + 0x11c], eax
jmp 0x100f9efc
cmp dword [0x10177158], 0
je 0x100f9ef2
mov eax, dword [0x1018dac0]
test eax, eax
je 0x100f9ebf
push eax
call dword [0x101771b0]
add esp, 4
push edi
call dword [0x1017718c]
sub dword [0x1018d910], eax
sub dword [0x1018d934], 1
add esp, 4
push edi
call dword [0x10177184]
mov eax, dword [0x1018dac0]
add esp, 4
test eax, eax
je 0x100f9efc
push eax
call dword [0x101771b8]
jmp 0x100f9ef9
push eax
call dword [0x10177184]
add esp, 4
mov eax, dword [esp + 0xd0]
test eax, eax
mov edi, eax
je 0x100f9fbd
cmp dword [esi + 0x1c8], 0
je 0x100f9f28
mov ecx, esi
call fcn.100a40a0
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, dword [esi + 0x120]
jb 0x100f9f58
cmp eax, dword [esi + 0x124]
jae 0x100f9f58
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 [0x10177158], 0
je 0x100f9fb3
mov eax, dword [0x1018dac0]
test eax, eax
je 0x100f9f74
push eax
call dword [0x101771b0]
add esp, 4
push edi
call dword [0x1017718c]
sub dword [0x1018d910], eax
sub dword [0x1018d934], 1
add esp, 4
push edi
call dword [0x10177184]
mov eax, dword [0x1018dac0]
add esp, 4
test eax, eax
je 0x100f9fbd
push eax
call dword [0x101771b8]
mov eax, dword [esp + 0x2c]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call dword [0x10177184]
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