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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd4
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x1e4]
mov dword [esp + 0xb0], eax
mov eax, dword [ebx + 0x1e8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebx]
mov dword [ebx + 0x1e4], eax
inc eax
mov dword [esp + 0x10], 1
mov dword [ebx + 0x1e8], eax
mov dword [esp + 0x20], edi
test esi, esi
je 0x1014d6fe
cmp byte [edi + 0x40], 0
jne 0x1014d6fe
cmp dword [ebx + 0x44], 0
jne 0x1014d6fe
push 0
push 0
push 0
push 0x15
mov eax, ebx
call fcn.1012e7b0
add esp, 0x10
test eax, eax
jne 0x1014d6fe
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], 4
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
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
ja 0x1014bc88
mov edx, dword [esi + 0x38]
push edx
push edi
call fcn.10127390
mov eax, 0xfffe
add esp, 8
and word [esi + 6], ax
mov dword [esi + 0x38], 0
push 0
push esi
push ebx
call fcn.1014b2b0
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 + 0x2c], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x60], eax
jne 0x1014d5b8
cmp byte [edi + 0x40], 0
jne 0x1014d5b8
mov ecx, esi
movzx eax, word [ecx + 6]
shr eax, 2
and eax, 1
mov edi, ebx
mov dword [esp + 0x48], eax
call fcn.10147740
mov esi, eax
mov dword [esp + 0x54], esi
test esi, esi
je 0x1014d5b4
mov ecx, dword [esp + 0x60]
cmp dword [ecx], 1
mov edx, dword [ebp + 0x10]
movzx eax, byte [edx]
jle 0x1014bd0c
cmp eax, 6
je 0x1014bcfa
cmp eax, 7
jne 0x1014bd0c
push str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
call fcn.100fe0b0
add esp, 4
jmp 0x1014d5b4
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov dword [esp + 0x38], eax
cmp dword [ecx + 0x3c], eax
jne 0x1014c1da
jmp 0x1014bd24
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x58]
movzx edi, byte [edx]
cmp eax, edi
jge 0x1014c1da
lea eax, [eax + eax*8]
lea eax, [edx + eax*8 + 8]
mov dword [esp + 0xc], eax
mov eax, dword [eax + 0x14]
mov dword [esp + 0x28], eax
test eax, eax
je 0x1014c1c9
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x1014bd7a
test byte [ecx + 0x24], 4
jne 0x1014c1c9
mov edx, dword [ecx + 0x1c]
push 0
push eax
push edx
push 0xf
mov eax, esi
call fcn.101169d0
add esp, 0x10
jmp 0x1014c1c9
mov ecx, dword [ebp + 0xc]
call fcn.10126250
add dword [ebx + 0x1e0], eax
mov eax, dword [esp + 0x28]
movzx edi, word [eax + 6]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x38]
mov eax, dword [ebp + 0xc]
shr edi, 2
and edi, 1
push edi
push ecx
push edx
push ebx
call fcn.10149dd0
add esp, 0x10
test eax, eax
je 0x1014bdd2
test edi, edi
je 0x1014bdc5
mov eax, dword [ebp + 0xc]
or word [eax + 6], 4
mov dword [esp + 0x48], 1
mov dword [esp + 0x38], 0xffffffff
jmp 0x1014c195
mov eax, dword [esp + 0x58]
cmp byte [eax], 1
jne 0x1014c037
mov edx, dword [ebp + 0xc]
mov ecx, 0x100
test word [edx + 6], cx
jne 0x1014c037
mov eax, ecx
mov ecx, dword [esp + 0x20]
test word [ecx + 0x3c], ax
jne 0x1014c037
mov edi, dword [esp + 0xc]
mov ecx, 1
add dword [ebx + 0x4c], ecx
mov eax, dword [ebx + 0x4c]
mov dword [edi + 0x1c], eax
add dword [ebx + 0x4c], ecx
mov edx, dword [ebx + 0x4c]
push 0xffffffffffffffff
mov eax, ebx
mov dword [esp + 0x54], edx
call fcn.10134100
add esp, 4
push 0xe
mov eax, esi
call fcn.10116a30
mov ecx, dword [esi + 0x1c]
mov eax, dword [edi + 0x2c]
add esp, 4
cmp dword [esi + 0x20], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x18], ecx
jg 0x1014be61
mov edi, esi
call fcn.10116950
test eax, eax
je 0x1014be5d
mov dword [esp + 0x14], 1
jmp 0x1014be8c
mov ecx, dword [esp + 0x18]
mov edi, dword [esi + 4]
xor edx, edx
inc dword [esi + 0x1c]
lea eax, [ecx + ecx*4]
lea eax, [edi + eax*4]
mov edi, dword [esp + 0x4c]
mov byte [eax], 0x35
mov byte [eax + 3], dl
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1014be9e
mov eax, dword [esi + 0x1c]
lea edx, [eax + eax*4]
mov byte [ecx + edx*4 - 0x11], 1
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0xc]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov dword [esp + 0x18], eax
jg 0x1014bec8
mov edi, esi
call fcn.10116950
mov edi, dword [esp + 0xc]
test eax, eax
jne 0x1014beef
mov eax, dword [esp + 0x18]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x50]
xor ecx, ecx
inc dword [esi + 0x1c]
mov byte [eax], 0x15
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 0x1014bf01
mov eax, dword [esi + 0x1c]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 1
mov eax, dword [edi + 0x1c]
mov cl, byte [ebx + 0x1e8]
mov dword [esp + 0xac], eax
xor eax, eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x28]
lea edx, [esp + 0xa8]
push edx
push eax
mov byte [esp + 0xb0], 0xa
mov byte [esp + 0xb1], 0
push ebx
mov byte [edi + 0x28], cl
call fcn.1014bbb0
mov edx, dword [esp + 0x34]
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 0x1014bf77
mov eax, ecx
mov ecx, dword [esp + 0xb0]
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 0x1014bf91
mov ecx, dword [esp + 0xb4]
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 + 0x18], eax
jg 0x1014bfb0
mov edi, esi
call fcn.10116950
mov edi, dword [esp + 0xc]
test eax, eax
jne 0x1014bfdd
mov eax, dword [esp + 0x18]
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 + 0x50]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x15
mov byte [eax + 3], 0
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 edx, dword [edi + 0x1c]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x18], eax
jg 0x1014bfff
mov edi, esi
call fcn.10116950
test eax, eax
jne 0x1014c026
mov eax, dword [esp + 0x18]
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 + 0x4c]
mov byte [eax], 0x11
mov byte [eax + 3], cl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esp + 0x14]
dec eax
mov edx, esi
call fcn.10116f30
jmp 0x1014c18a
inc dword [ebx + 0x4c]
mov edx, dword [ebx + 0x4c]
mov eax, dword [esp + 0xc]
mov dword [eax + 0x1c], edx
mov ecx, dword [esi + 0x1c]
cmp dword [esi + 0x20], ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0x50], edx
mov dword [esp + 0x18], ecx
jg 0x1014c079
mov edi, esi
call fcn.10116950
test eax, eax
je 0x1014c071
mov dword [esp + 0x30], 1
jmp 0x1014c0a2
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x50]
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], 0x15
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 + 0x30], ecx
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0xc]
inc ecx
test byte [edi + 0x24], 2
mov dword [edi + 0x18], ecx
jne 0x1014c0bf
mov eax, ebx
call fcn.10127960
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x2c]
mov ecx, dword [esp + 0x28]
mov dl, byte [ebx + 0x1e8]
mov dword [esp + 0xac], eax
xor eax, eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
lea eax, [esp + 0xa8]
push eax
push ecx
mov byte [esp + 0xb0], 9
mov byte [esp + 0xb1], 0
push ebx
mov byte [edi + 0x28], dl
call fcn.1014bbb0
mov eax, dword [esp + 0x34]
mov edx, dword [edi + 0x10]
mov ecx, dword [eax + 0x20]
add esp, 0xc
cmp dword [esp + 0x24], 0
mov dword [edx + 0x1c], ecx
je 0x1014c127
mov eax, dword [esp + 0x24]
mov edx, esi
call fcn.10116f30
mov ecx, dword [esi + 0x1c]
cmp dword [esi + 0x20], ecx
mov edx, dword [edi + 0x1c]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x18], ecx
jg 0x1014c150
mov edi, esi
call fcn.10116950
test eax, eax
je 0x1014c14c
mov ecx, 1
jmp 0x1014c177
mov ecx, dword [esp + 0x18]
mov edi, dword [esi + 4]
xor edx, edx
inc dword [esi + 0x1c]
lea eax, [ecx + ecx*4]
lea eax, [edi + eax*4]
mov edi, dword [esp + 0x4c]
mov byte [eax], 0x10
mov byte [eax + 3], dl
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
mov eax, dword [esp + 0x30]
cmp dword [esi + 0x1c], eax
jbe 0x1014c18a
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
mov dword [eax + edx*4 + 4], ecx
mov dword [ebx + 0x3c], 0
mov byte [ebx + 0x13], 0
mov edi, dword [esp + 0x20]
cmp byte [edi + 0x40], 0
jne 0x1014d5b8
mov edi, dword [ebp + 0xc]
mov ecx, edi
call fcn.10126250
sub dword [ebx + 0x1e0], eax
mov edx, dword [ebp + 0x10]
cmp byte [edx], 4
mov ecx, dword [edi + 0x28]
mov dword [esp + 0x58], ecx
jbe 0x1014c1c9
mov eax, dword [edi + 0x38]
mov dword [esp + 0x2c], eax
mov ecx, dword [ebp + 0xc]
inc dword [esp + 0x38]
cmp dword [ecx + 0x3c], 0
je 0x1014bd20
mov eax, dword [ecx + 0x2c]
mov edx, dword [ecx]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 0x34]
mov dword [esp + 0x4c], eax
mov al, byte [ecx + 6]
mov dword [esp + 0x60], edx
mov edx, dword [ecx + 0x30]
and al, 1
cmp dword [ecx + 0x3c], 0
mov dword [esp + 0xc], edx
mov byte [esp + 0x9c], al
je 0x1014c268
cmp dword [ecx + 0x44], 0
jne 0x1014c246
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 0x1014c213
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x68]
test eax, eax
je 0x1014c246
cmp esi, eax
jle 0x1014c246
push str.too_many_terms_in_compound_SELECT
mov edi, ebx
call fcn.100fe0b0
add esp, 4
jmp 0x1014d5b4
mov eax, dword [ebp + 0x10]
push eax
push ecx
push ebx
call fcn.10147ab0
mov ecx, dword [esp + 0xc4]
add esp, 0xc
mov dword [ebx + 0x1e4], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0xc]
push 0xffffffffffffffff
push edx
call fcn.1012ad60
add esp, 8
test eax, eax
jne 0x1014c291
mov eax, dword [esp + 0x20]
test byte [eax + 0x3c], 4
jne 0x1014c291
mov dword [esp + 0x2c], 0
mov edi, dword [ebp + 0xc]
mov cl, byte [edi + 6]
and cl, 5
cmp cl, 1
jne 0x1014c3bc
mov edx, edi
mov eax, dword [edx]
mov edi, dword [esp + 0x2c]
push 0xffffffffffffffff
push eax
call fcn.1012ad60
mov edi, dword [ebp + 0xc]
add esp, 8
test eax, eax
jne 0x1014c3bc
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.10126c00
add esp, 0xc
mov dword [edi + 0x30], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [ebp + 0x10]
cmp byte [eax], 9
jne 0x1014c313
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx]
mov eax, dword [eax + 4]
push 0
push edx
push eax
push 0x33
mov eax, esi
call fcn.101169d0
add esp, 0x10
mov eax, esi
call fcn.10116bf0
push eax
push edi
push ebx
mov dword [esp + 0xe8], eax
mov dword [edi + 0x20], 0xffffffff
mov dword [edi + 0x24], SysReAllocStringLen
call fcn.10147770
add esp, 0xc
cmp dword [edi + 8], 0
jne 0x1014c35a
cmp dword [esp + 0x40], 0
jl 0x1014c35a
mov eax, dword [esp + 0x40]
mov ecx, esi
call fcn.10117260
mov byte [eax], 0x34
or word [edi + 6], 0x40
test byte [edi + 6], 1
je 0x1014c405
mov eax, dword [ebx + 0x48]
push 0xfffffffffffffff0
mov edi, eax
push ecx
mov ecx, dword [ebp + 0xc]
inc eax
mov dword [ebx + 0x48], eax
mov edx, dword [ecx]
push edx
push ebx
mov dword [esp + 0xb0], edi
call fcn.101463b0
add esp, 0xc
push eax
mov edx, edi
push 0x33
xor eax, eax
xor ecx, ecx
mov edi, esi
call fcn.10116ac0
mov dword [esp + 0xb0], eax
mov eax, dword [esi + 4]
add esp, 0xc
test eax, eax
je 0x1014c3b2
mov ecx, dword [esi + 0x1c]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 - 0x11], 8
mov byte [esp + 0x9d], 3
jmp 0x1014c40d
cmp dword [esp + 0x2c], 0
je 0x1014c2ea
mov edi, dword [esp + 0x2c]
push edi
push ebx
call fcn.101463b0
mov ecx, dword [ebx + 0x48]
mov dword [edi + 4], ecx
inc dword [ebx + 0x48]
mov ecx, dword [edi]
mov edx, dword [edi + 4]
push 0xfffffffffffffff0
push eax
add ecx, 2
push 0x33
xor eax, eax
mov edi, esi
call fcn.10116ac0
mov edx, dword [ebp + 0xc]
add esp, 0x14
mov dword [esp + 0x40], eax
mov dword [edx + 0x18], eax
mov edi, edx
jmp 0x1014c2f2
mov byte [esp + 0x9d], 0
xor edi, edi
cmp dword [esp + 0x48], edi
jne 0x1014c504
cmp dword [esp + 0xc], edi
jne 0x1014c504
movzx edx, byte [esp + 0x9c]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [esp + 0x24]
neg edx
push edi
sbb edx, edx
and edx, 0x400
push edx
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x64]
push edx
push eax
push ecx
push ebx
call fcn.10159ff0
mov edi, eax
add esp, 0x1c
test edi, edi
je 0x1014d5b4
mov ax, word [edi + 0x20]
call fcn.100ff210
mov ecx, dword [ebp + 0xc]
cmp edx, dword [ecx + 0x24]
ja 0x1014c47d
jb 0x1014c477
cmp eax, dword [ecx + 0x20]
jae 0x1014c47d
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], edx
cmp byte [esp + 0x9c], 0
je 0x1014c495
mov al, byte [edi + 0x27]
test al, al
je 0x1014c495
mov byte [esp + 0x9d], al
cmp dword [esp + 0x2c], 0
je 0x1014c4aa
cmp byte [edi + 0x24], 0
je 0x1014c4aa
mov dword [esp + 0x2c], 0
mov ecx, dword [esp + 0x40]
test ecx, ecx
jl 0x1014c4ca
cmp dword [esp + 0x2c], 0
jne 0x1014c4ca
mov edx, esi
call fcn.101170d0
mov edx, dword [ebp + 0xc]
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 + 0x34]
push edx
mov edx, dword [esp + 0x6c]
lea eax, [esp + 0xa8]
push eax
mov eax, dword [ebp + 0xc]
push ecx
push 0
push 0
push edx
push eax
push ebx
call fcn.10145c00
push edi
call fcn.1015a860
add esp, 0x2c
jmp 0x1014d54b
mov dword [esp + 0x34], edi
mov dword [esp + 0x44], edi
cmp dword [esp + 0xc], edi
je 0x1014c56a
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx]
mov eax, dword [ecx]
cmp eax, edi
mov ecx, dword [ecx + 8]
jle 0x1014c533
add ecx, 0x16
xor edx, edx
mov word [ecx], dx
dec eax
add ecx, 0x18
cmp eax, edi
jg 0x1014c523
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
cmp eax, edi
mov ecx, dword [ecx + 8]
jle 0x1014c553
add ecx, 0x16
xor edx, edx
mov word [ecx], dx
dec eax
add ecx, 0x18
cmp eax, edi
jg 0x1014c543
mov edx, dword [ebp + 0xc]
mov eax, 0x64
cmp dword [edx + 0x24], edi
ja 0x1014c562
cmp dword [edx + 0x20], eax
jbe 0x1014c577
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], edi
jmp 0x1014c577
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x20], 1
mov dword [eax + 0x24], edi
mov eax, esi
call fcn.10116bf0
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x70]
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc8], ecx
cmp eax, edi
je 0x1014c5ea
mov edx, dword [eax]
inc edx
mov dword [esp + 0x7c], edx
jmp 0x1014c5ee
mov dword [esp + 0x7c], edi
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x60]
lea ecx, [esp + 0xbc]
push ecx
mov dword [esp + 0x84], eax
call fcn.1012b1f0
mov ebx, dword [esp + 0x30]
lea edx, [esp + 0xc0]
add esp, 4
push edx
call fcn.1012b1f0
mov ecx, dword [esp + 0x50]
xor edi, edi
add esp, 4
cmp ecx, edi
je 0x1014c63b
lea eax, [esp + 0xbc]
push eax
call fcn.1012b1a0
add esp, 4
cmp dword [esp + 0x94], edi
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x38], edi
jle 0x1014c6a2
jmp 0x1014c660
or byte [esp + 0xd8], 8
mov edx, dword [esp + 0x90]
mov eax, dword [edi + edx]
mov ebx, dword [eax + 0x14]
lea ecx, [esp + 0xbc]
push ecx
call fcn.1012b1f0
mov eax, dword [esp + 0x3c]
and byte [esp + 0xdc], 0xf7
inc eax
add esp, 4
add edi, 0x10
cmp eax, dword [esp + 0x94]
mov dword [esp + 0x38], eax
jl 0x1014c660
mov edx, dword [esp + 0x20]
cmp byte [edx + 0x40], 0
jne 0x1014d5b1
mov edx, dword [esp + 0xc]
test edx, edx
je 0x1014d217
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x48]
mov dword [esp + 0x74], eax
push edx
inc eax
push ecx
mov dword [ecx + 0x48], eax
call fcn.101463b0
mov ecx, dword [esp + 0x7c]
mov edi, eax
mov eax, dword [esp + 0x84]
push 0
push eax
push ecx
push 0x34
mov eax, esi
mov dword [esp + 0x30], edi
call fcn.101169d0
mov ebx, dword [esi + 4]
mov edx, dword [esi]
add esp, 0x18
mov dword [esp + 0x1c], eax
test ebx, ebx
je 0x1014c740
cmp byte [edx + 0x40], 0
jne 0x1014c740
test eax, eax
jge 0x1014c70d
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]
mov edi, edx
call fcn.10116f50
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov dword [ebx + 0x10], ecx
cmp eax, ecx
jne 0x1014c737
mov dword [ebx + 0x10], ecx
mov byte [ebx + 1], cl
jmp 0x1014c74e
mov dword [ebx + 0x10], eax
mov byte [ebx + 1], 0xfa
jmp 0x1014c74e
mov ecx, edi
mov eax, 0xfffffff0
mov edi, edx
call fcn.10116f50
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x4c]
inc eax
lea edi, [eax + 1]
mov dword [esp + 0x5c], eax
lea eax, [edi + 1]
mov dword [esp + 0x6c], eax
mov dword [ebx + 0x4c], eax
mov eax, esi
mov dword [esp + 0x68], edi
call fcn.10116bf0
inc dword [ebx + 0x4c]
mov ecx, dword [ebx + 0x4c]
mov dword [esp + 0x64], eax
mov eax, esi
mov dword [esp + 0x50], ecx
call fcn.10116bf0
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x4c]
lea edx, [eax + 1]
mov dword [esp + 0x98], 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 + 0x14], edx
mov dword [esp + 0x30], eax
jg 0x1014c7cf
mov edi, esi
call fcn.10116950
test eax, eax
jne 0x1014c7f3
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], 0x15
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 0x1014c80e
mov edi, esi
call fcn.10116950
test eax, eax
jne 0x1014c836
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 edx, dword [esp + 0x5c]
xor ecx, ecx
mov byte [eax], 0x15
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 edi, dword [esp + 0xc]
mov eax, dword [esp + 0x98]
mov ecx, dword [edi]
lea edx, [ecx + eax - 1]
push edx
push eax
push 0
push 0x18
mov eax, esi
call fcn.101169d0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x60]
push 0
push eax
push ecx
push 0xf
mov eax, esi
call fcn.101169d0
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x78]
push 0
push 0x100
push 0
push edi
push edx
push eax
push ebx
call fcn.10159ff0
add esp, 0x3c
mov dword [esp + 0x48], eax
test eax, eax
je 0x1014d5b1
cmp byte [eax + 0x24], 0
je 0x1014c8a5
mov dword [esp + 0x24], 0
jmp 0x1014cb90
cmp byte [esp + 0x9c], 0
je 0x1014c8bd
mov ecx, dword [ebp + 0xc]
test byte [ecx + 6], 1
mov eax, str.DISTINCT
je 0x1014c8c2
mov eax, str.GROUP_BY
mov ecx, ebx
call fcn.10146490
mov edi, dword [edi]
mov edx, dword [esp + 0x88]
lea eax, [edi + 1]
mov dword [esp + 0x24], 1
mov dword [esp + 0x10], edi
mov dword [esp + 0x34], eax
mov ecx, eax
mov dword [esp + 0x30], eax
test edx, edx
jle 0x1014c90b
mov edi, dword [esp + 0x84]
add edi, 0xc
cmp dword [edi], eax
jl 0x1014c8ff
inc ecx
inc eax
add edi, 0x18
sub edx, 1
jne 0x1014c8f9
mov dword [esp + 0x30], ecx
mov eax, dword [ebx + 0x3c]
cmp ecx, eax
mov edi, dword [ebx + 0x40]
mov dword [esp + 0x44], edi
jg 0x1014c926
lea edx, [edi + ecx]
sub eax, ecx
mov dword [ebx + 0x40], edx
mov dword [ebx + 0x3c], eax
jmp 0x1014c935
mov eax, dword [ebx + 0x4c]
lea edi, [eax + 1]
add eax, ecx
mov dword [esp + 0x44], edi
mov dword [ebx + 0x4c], eax
mov edx, ebx
call fcn.10128f60
mov eax, dword [esp + 0xc]
push 0
push edi
push ebx
call fcn.1012a410
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x80]
add esp, 0xc
push 0
add edi, eax
push edi
push ecx
push 0x40
mov eax, esi
call fcn.101169d0
mov edx, dword [esp + 0x44]
add esp, 0x10
cmp dword [esp + 0x88], 0
mov dword [esp + 0x28], edx
mov dword [esp + 0x38], 0
jle 0x1014ca07
mov eax, dword [esp + 0x44]
mov ecx, edx
add eax, ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x84]
xor edi, edi
mov edx, dword [esp + 0x28]
cmp dword [edi + eax + 0xc], edx
jl 0x1014c9f2
mov ecx, dword [esp + 0x34]
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
push ebx
call fcn.10128e20
add esp, 0x18
cmp dword [esp + 0x34], eax
je 0x1014c9de
mov ecx, dword [esp + 0x34]
push 0
push ecx
push eax
push 0x1d
mov eax, esi
call fcn.101169d0
add esp, 0x10
mov eax, 1
add dword [esp + 0x28], eax
add dword [esp + 0x34], eax
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x38]
inc ecx
add edi, 0x18
cmp ecx, dword [esp + 0x88]
mov dword [esp + 0x38], ecx
jl 0x1014c99c
mov al, byte [ebx + 0x13]
test al, al
jne 0x1014ca16
inc dword [ebx + 0x4c]
mov edi, dword [ebx + 0x4c]
jmp 0x1014ca22
dec al
movzx edx, al
mov byte [ebx + 0x13], al
mov edi, dword [ebx + edx*4 + 0x1c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
push edi
push eax
push ecx
push 0x2b
mov eax, esi
mov dword [esp + 0x44], edi
call fcn.101169d0
mov eax, dword [esi + 0x1c]
mov edx, dword [esp + 0x84]
add esp, 0x10
cmp dword [esi + 0x20], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], eax
jg 0x1014ca67
mov edi, esi
call fcn.10116950
mov edi, dword [esp + 0x34]
test eax, eax
jne 0x1014ca8f
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [esp + 0x28]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov byte [eax], 0x66
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
test edi, edi
je 0x1014cab8
mov dl, byte [ebx + 0x13]
cmp dl, 8
jae 0x1014cab8
xor eax, eax
lea ecx, [ebx + 0x68]
cmp dword [ecx + 0x10], edi
je 0x1014cb09
inc eax
add ecx, 0x18
cmp eax, 0xa
jl 0x1014caa0
movzx eax, dl
mov dword [ebx + eax*4 + 0x1c], edi
inc byte [ebx + 0x13]
mov ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x30]
push ecx
mov eax, edi
mov esi, ebx
call fcn.10128d30
add esp, 4
cmp edi, dword [esi + 0x3c]
jle 0x1014cadc
mov edx, dword [esp + 0x44]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edx
mov eax, dword [esp + 0x48]
push eax
call fcn.1015a860
mov ecx, dword [esi + 0x48]
mov al, byte [esi + 0x13]
add esp, 4
lea edx, [ecx + 1]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x78], ecx
mov dword [esi + 0x48], edx
test al, al
jne 0x1014cb0f
inc dword [esi + 0x4c]
mov eax, dword [esi + 0x4c]
jmp 0x1014cb1b
mov byte [ecx + 8], 1
jmp 0x1014cab8
dec al
movzx edx, al
mov byte [esi + 0x13], al
mov eax, dword [esi + edx*4 + 0x1c]
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x54]
push edx
push eax
push ecx
mov dword [esp + 0x50], eax
push 0x35
mov eax, edi
call fcn.101169d0
mov ebx, dword [edi + 0x1c]
mov ecx, dword [esp + 0x84]
add esp, 0x10
cmp dword [edi + 0x20], ebx
mov dword [esp + 0x10], ecx
jg 0x1014cb52
call fcn.10116950
test eax, eax
jne 0x1014cb7e
mov eax, dword [edi + 4]
inc dword [edi + 0x1c]
mov ecx, dword [esp + 0x10]
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x40]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x63
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 edx, esi
mov byte [esp + 0x71], 1
call fcn.10128f60
mov esi, dword [esp + 0x54]
mov ebx, edx
mov eax, dword [esi + 0x1c]
mov edx, ebx
mov dword [esp + 0x30], eax
call fcn.10128f60
cmp dword [esp + 0x24], 0
je 0x1014cbbd
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x74]
push 0
push ecx
push edx
push 0x51
mov eax, esi
call fcn.101169d0
add esp, 0x10
mov eax, dword [esp + 0xc]
xor edi, edi
cmp dword [eax], edi
mov dword [esp + 0x28], edi
jle 0x1014ccc1
nop
cmp dword [esp + 0x24], 0
je 0x1014cc4c
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov dword [esp + 0x10], eax
jg 0x1014cbfa
mov edi, esi
call fcn.10116950
mov edi, dword [esp + 0x28]
test eax, eax
jne 0x1014cc2c
mov eax, dword [esp + 0x10]
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 + 0x14]
mov dword [eax + 4], ecx
lea ecx, [edi + edx]
mov byte [eax], 0x29
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 0x1014ccb0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1014ccb0
mov eax, dword [esi + 0x1c]
lea edx, [eax + eax*4]
mov byte [ecx + edx*4 - 0x11], 0x20
jmp 0x1014ccb0
mov ecx, dword [esp + 0xc]
mov byte [esp + 0x70], 1
mov edx, dword [ecx + 8]
lea eax, [edi + edi*2]
mov eax, dword [edx + eax*8]
test eax, eax
je 0x1014cc7b
cmp byte [eax], 0x84
jne 0x1014cc7b
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebx + 8]
push 0
add ecx, edi
push ecx
push edx
push 0x1c
jmp 0x1014cca8
mov ecx, dword [esp + 0x14]
add ecx, edi
push ecx
push eax
push ebx
call fcn.101290e0
mov edx, dword [esp + 0x20]
lea ecx, [edi + edx]
add esp, 0xc
cmp eax, ecx
je 0x1014ccb0
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x1014ccb0
push 0
add edx, edi
push edx
push eax
push 0x1d
mov eax, ecx
call fcn.101169d0
add esp, 0x10
mov eax, dword [esp + 0xc]
inc edi
cmp edi, dword [eax]
mov dword [esp + 0x28], edi
jl 0x1014cbd0
mov ecx, dword [esp + 0xc]
mov ebx, dword [esi + 0x1c]
cmp dword [esi + 0x20], ebx
mov edx, dword [ecx]
mov dword [esp + 0x10], edx
jg 0x1014cce5
mov edi, esi
call fcn.10116950
test eax, eax
je 0x1014cce5
mov ebx, 1
jmp 0x1014cd1b
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [esp + 0x98]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x14]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x10]
mov byte [eax], 0x24
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 eax, dword [esp + 0x18]
push eax
push esi
mov ecx, 0xfffffffa
mov eax, ebx
call fcn.10117110
mov ebx, dword [esi + 0x1c]
add esp, 8
cmp dword [esi + 0x20], ebx
mov dword [esp + 0x18], ebx
jg 0x1014cd47
mov edi, esi
call fcn.10116950
test eax, eax
jne 0x1014cd6e
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], 0x25
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 + 0xc]
mov ecx, dword [eax]
mov ebx, dword [esp + 0x98]
mov esi, dword [esp + 0x14]
mov edi, dword [ebp + 8]
push ecx
call fcn.10128fb0
mov esi, dword [esp + 0x58]
mov ebx, dword [esi + 0x1c]
add esp, 4
cmp dword [esi + 0x20], ebx
jg 0x1014cda2
mov edi, esi
call fcn.10116950
test eax, eax
jne 0x1014cdcf
mov eax, dword [esi + 4]
inc dword [esi + 0x1c]
mov ecx, dword [esp + 0x6c]
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x64]
xor ebx, ebx
mov byte [eax], 0xf
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 0x1014cdd1
xor ebx, ebx
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov dword [esp + 0x10], eax
jg 0x1014cdec
mov edi, esi
call fcn.10116950
test eax, eax
jne 0x1014ce15
mov eax, dword [esp + 0x10]
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 + 0x40]
mov byte [eax], 0x7e
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 + 0x10], eax
jg 0x1014ce30
mov edi, esi
call fcn.10116950
test eax, eax
jne 0x1014ce59
mov eax, dword [esp + 0x10]
inc dword [esi + 0x1c]
mov ecx, dword [esp + 0x50]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x3c]
mov byte [eax], 0xf
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 + 0x18]
cmp eax, ebx
jl 0x1014ce72
mov ecx, dword [esi + 0x1c]
cmp ecx, eax
jbe 0x1014ce72
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 + 0x70]
push eax
push ecx
call fcn.1014b640
mov eax, dword [esi + 0x1c]
add esp, 8
cmp dword [esi + 0x20], eax
mov dword [esp + 0x10], eax
jg 0x1014ce9e
mov edi, esi
call fcn.10116950
test eax, eax
jne 0x1014cec8
mov eax, dword [esp + 0x10]
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 + 0x5c]
mov byte [eax], 0x15
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 + 0x24], ebx
je 0x1014cf20
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov edx, dword [esp + 0x74]
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
jg 0x1014cef5
mov edi, esi
call fcn.10116950
test eax, eax
jne 0x1014cf65
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [esp + 0x18]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x30]
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 0x1014cf65
mov edx, dword [esp + 0x48]
push edx
call fcn.1015a860
mov eax, dword [esi + 4]
add esp, 4
cmp eax, ebx
je 0x1014cf65
mov ecx, dword [esp + 0x1c]
mov edi, dword [esi]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
movsx eax, byte [ecx + 1]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ecx + 0x10]
call fcn.10116f50
mov eax, dword [esp + 0x1c]
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], 0x95
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov dword [esp + 0x1c], eax
jg 0x1014cf80
mov edi, esi
call fcn.10116950
test eax, eax
jne 0x1014cfa9
mov eax, dword [esp + 0x1c]
inc dword [esi + 0x1c]
mov ecx, dword [esp + 0x6c]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x64]
mov byte [eax], 0xf
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 + 0x1c], eax
jg 0x1014cfc4
mov edi, esi
call fcn.10116950
test eax, eax
jne 0x1014cfe9
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [esp + 0x40]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0xe
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 + 0x14], eax
mov dword [esp + 0x10], eax
jg 0x1014d008
mov edi, esi
call fcn.10116950
test eax, eax
jne 0x1014d032
mov eax, dword [esp + 0x14]
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], 0x15
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 + 0x1c], eax
jg 0x1014d04d
mov edi, esi
call fcn.10116950
test eax, eax
jne 0x1014d072
mov eax, dword [esp + 0x1c]
inc dword [esi + 0x1c]
mov ecx, dword [esp + 0x6c]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov byte [eax], 0x10
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 + 0x64]
js 0x1014d088
mov ecx, dword [esi + 0x28]
cmp ecx, ebx
je 0x1014d088
mov edx, dword [esi + 0x1c]
mov dword [ecx + eax*4], edx
mov edi, dword [esi + 0x1c]
cmp dword [esi + 0x20], edi
mov dword [esp + 0x14], edi
jg 0x1014d0a3
mov edi, esi
call fcn.10116950
mov edi, dword [esp + 0x14]
test eax, eax
jne 0x1014d0cb
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [esp + 0x5c]
lea eax, [edi + edi*4]
lea eax, [ecx + eax*4]
lea ecx, [edi + 2]
mov byte [eax], 0x7e
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 + 0x1c], eax
jg 0x1014d0ea
mov edi, esi
call fcn.10116950
mov edi, dword [esp + 0x14]
test eax, eax
jne 0x1014d10f
mov eax, dword [esp + 0x1c]
inc dword [esi + 0x1c]
mov ecx, dword [esp + 0x6c]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov byte [eax], 0x10
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 + 0x70]
push edx
call fcn.1014b520
mov eax, dword [esp + 0x50]
mov ecx, dword [ebp + 8]
add esp, 4
push 8
inc edi
push edi
push eax
push ecx
call fcn.1012a8f0
mov edx, dword [esp + 0x20]
mov eax, dword [ebp + 0x10]
push edx
mov edx, dword [esp + 0x40]
push edi
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0xb8]
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.10145c00
mov eax, dword [esi + 0x1c]
add esp, 0x38
cmp dword [esi + 0x20], eax
mov dword [esp + 0x1c], eax
jg 0x1014d178
mov edi, esi
call fcn.10116950
test eax, eax
jne 0x1014d19d
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [esp + 0x6c]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x10
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 + 0x3c]
js 0x1014d1b3
mov ecx, dword [esi + 0x28]
cmp ecx, ebx
je 0x1014d1b3
mov edx, dword [esi + 0x1c]
mov dword [ecx + eax*4], edx
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x70]
push eax
push ecx
call fcn.1014b320
mov eax, dword [esi + 0x1c]
add esp, 8
cmp dword [esi + 0x20], eax
mov dword [esp + 0x1c], eax
jg 0x1014d1e5
mov edi, esi
call fcn.10116950
mov esi, dword [esp + 0x54]
test eax, eax
jne 0x1014d535
xor ebx, ebx
inc dword [esi + 0x1c]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x50]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
mov esi, dword [esp + 0x54]
lea eax, [eax + edx*4]
mov byte [eax], 0x10
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 0x1014d535
mov eax, dword [ebp + 0xc]
xor edi, edi
lea ecx, [esp + 0x70]
mov dword [esp + 0x5c], edi
call fcn.1014a460
mov ebx, eax
mov dword [esp + 0x1c], ebx
cmp ebx, edi
je 0x1014d3b8
mov edi, dword [ebp + 8]
mov esi, dword [ebx + 0x44]
mov ecx, dword [edi]
call fcn.101446d0
mov ecx, dword [edi + 0x48]
mov dword [esp + 0x3c], ecx
inc ecx
mov dword [edi + 0x48], ecx
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x18], eax
xor esi, esi
push eax
mov eax, edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], edx
call fcn.10134100
mov eax, dword [ebx]
mov ecx, dword [ebx + 0x20]
mov edx, dword [esp + 0x1c]
add esp, 4
push eax
push esi
push ecx
push edx
mov eax, edi
call fcn.1012e840
mov eax, dword [ebx + 8]
add esp, 0x10
test eax, eax
je 0x1014d2d6
lea ecx, [ecx]
test byte [eax + 0x34], 4
jne 0x1014d2b2
movzx ecx, word [eax + 0x2c]
cmp cx, word [ebx + 0x2a]
jge 0x1014d2b2
cmp dword [eax + 0x24], 0
jne 0x1014d2b2
test esi, esi
je 0x1014d2b0
cmp cx, word [esi + 0x2c]
jge 0x1014d2b2
mov esi, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x1014d290
mov dword [esp + 0x68], esi
test esi, esi
je 0x1014d2d6
mov eax, dword [esi + 0x28]
push esi
push edi
mov dword [esp + 0x6c], eax
call fcn.10134600
add esp, 8
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x54]
push ecx
push edx
push eax
push 0x30
mov eax, esi
call fcn.101169d0
add esp, 0x10
cmp dword [esp + 0x24], 0
je 0x1014d341
mov ecx, dword [esi + 4]
mov edi, dword [esi]
test ecx, ecx
je 0x1014d333
cmp byte [edi + 0x40], 0
jne 0x1014d333
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.10116f50
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x10], eax
mov byte [ebx + 1], 0xfa
mov ebx, dword [esp + 0x1c]
jmp 0x1014d341
mov ecx, dword [esp + 0x24]
mov eax, 0xfffffff0
call fcn.10116f50
mov ecx, dword [esp + 0x90]
mov edx, dword [ecx + 8]
mov eax, dword [esp + 0x3c]
push 0
push edx
push eax
push 0x2c
mov eax, esi
call fcn.101169d0
mov eax, dword [esi + 0x1c]
add esp, 0x10
cmp dword [esi + 0x20], eax
mov dword [esp + 0x1c], eax
jg 0x1014d376
mov edi, esi
call fcn.10116950
test eax, eax
jne 0x1014d3a2
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
mov eax, dword [esp + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x36
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esp + 0x68]
mov ecx, dword [ebp + 8]
push ebx
call fcn.1014bab0
mov esi, dword [esp + 0x58]
jmp 0x1014d4e5
mov edx, dword [ebp + 0xc]
xor bl, bl
cmp dword [edx + 0x34], 0
mov dword [esp + 0x3c], edi
jne 0x1014d41c
lea edi, [esp + 0x3c]
lea eax, [esp + 0x70]
call fcn.1014a3e0
mov bl, al
test bl, bl
je 0x1014d418
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
push 0
push eax
push ecx
call fcn.10126c00
mov edi, eax
add esp, 0xc
mov dword [esp + 0x5c], edi
test edi, edi
je 0x1014d41c
mov edx, dword [esp + 0x20]
cmp byte [edx + 0x40], 0
jne 0x1014d41c
mov ecx, dword [edi + 8]
cmp bl, 1
setne al
mov byte [ecx + 0xc], al
mov edx, dword [edi + 8]
mov eax, dword [edx]
mov byte [eax], 0x98
jmp 0x1014d41c
mov edi, dword [esp + 0x3c]
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x70]
push ecx
push edx
call fcn.1014b320
mov edx, dword [esp + 0x2c]
movzx ax, bl
push 0
movzx ecx, ax
mov eax, dword [esp + 0x64]
push ecx
mov ecx, dword [ebp + 8]
push 0
push edi
push edx
push eax
push ecx
call fcn.10159ff0
mov edi, eax
add esp, 0x24
mov dword [esp + 0x48], edi
test edi, edi
jne 0x1014d46e
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x20]
push edx
push eax
call fcn.10127390
add esp, 8
jmp 0x1014d5b1
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x70]
push ecx
push edx
call fcn.1014b640
add esp, 8
cmp byte [edi + 0x24], 0
je 0x1014d4cb
mov eax, dword [esp + 0x48]
mov ebx, dword [esi + 0x1c]
cmp dword [esi + 0x20], ebx
mov ecx, dword [eax + 0x34]
mov dword [esp + 0x1c], ecx
jg 0x1014d4a3
mov edi, esi
call fcn.10116950
test eax, eax
jne 0x1014d4cb
mov eax, dword [esi + 4]
inc dword [esi + 0x1c]
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x1c]
xor ecx, ecx
mov byte [eax], 0xe
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 + 0x48]
push eax
call fcn.1015a860
mov eax, dword [ebp + 8]
add esp, 4
lea ecx, [esp + 0x70]
push ecx
call fcn.1014b520
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x50]
mov ebx, dword [ebp + 8]
add esp, 4
push 8
push edi
push edx
push ebx
mov dword [esp + 0x3c], 0
call fcn.1012a8f0
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.10145c00
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x58]
push edx
push eax
call fcn.10127390
add esp, 0x40
or eax, 0xffffffff
sub eax, dword [esp + 0x40]
js 0x1014d54b
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x1014d54b
mov edx, dword [esi + 0x1c]
mov dword [ecx + eax*4], edx
cmp byte [esp + 0x9d], 3
mov edi, dword [ebp + 8]
jne 0x1014d564
mov eax, str.DISTINCT
mov ecx, edi
call fcn.10146490
cmp dword [esp + 0x2c], 0
je 0x1014d590
mov eax, str.ORDER_BY
mov ecx, edi
call fcn.10146490
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx]
push eax
mov eax, dword [ebp + 0xc]
push edx
push esi
push eax
push edi
call fcn.101466a0
add esp, 0x14
or eax, 0xffffffff
sub eax, dword [esp + 0xdc]
js 0x1014d5a9
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x1014d5a9
mov edx, dword [esi + 0x1c]
mov dword [ecx + eax*4], edx
mov dword [esp + 0x10], 0
mov ebx, dword [ebp + 8]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0xb8]
mov dword [ebx + 0x1e4], eax
test esi, esi
jne 0x1014d5e8
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], 5
jne 0x1014d5e8
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x58]
push edx
push eax
push ebx
call fcn.10146ec0
add esp, 0xc
mov eax, dword [esp + 0x84]
test eax, eax
je 0x1014d664
cmp dword [edi + 0x200], 0
je 0x1014d635
cmp eax, dword [edi + 0x10c]
jb 0x1014d621
cmp eax, dword [edi + 0x110]
jae 0x1014d621
movzx eax, word [edi + 0xf0]
mov ecx, dword [edi + 0x200]
add dword [ecx], eax
jmp 0x1014d664
push eax
call dword [0x10208e34]
mov ecx, dword [edi + 0x200]
add esp, 4
add dword [ecx], eax
jmp 0x1014d664
cmp eax, dword [edi + 0x10c]
jb 0x1014d65b
cmp eax, dword [edi + 0x110]
jae 0x1014d65b
mov ecx, dword [edi + 0x108]
mov dword [eax], ecx
dec dword [edi + 0xf4]
mov dword [edi + 0x108], eax
jmp 0x1014d664
push eax
call fcn.100fc010
add esp, 4
mov eax, dword [esp + 0x90]
test eax, eax
je 0x1014d6f5
cmp dword [edi + 0x200], 0
je 0x1014d6bf
cmp eax, dword [edi + 0x10c]
jb 0x1014d6a4
cmp eax, dword [edi + 0x110]
jae 0x1014d6a4
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 [0x10208e34]
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 0x1014d6ec
cmp eax, dword [edi + 0x110]
jae 0x1014d6ec
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.100fc010
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