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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x108
mov eax, dword [0x1072a790]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 0x70], eax
push edi
mov edi, edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edi
mov eax, dword [esi + 0x1e4]
mov dword [esp + 0x8c], eax
mov eax, dword [esi + 0x1e8]
mov dword [esi + 0x1e4], eax
inc eax
mov dword [esi + 0x1e8], eax
mov eax, dword [esi]
mov dword [esp + 0x30], 1
mov dword [esp + 0x48], eax
test edi, edi
je 0x10405a9f
cmp byte [eax + 0x38], 0
jne 0x10405a9f
cmp dword [esi + 0x44], 0
jne 0x10405a9f
push 0
push 0
push 0
mov edx, 0x15
call fcn.103e91f0
add esp, 0xc
test eax, eax
jne 0x10405a9f
mov eax, dword [esp + 0x74]
xorps xmm0, xmm0
movdqa xmmword [esp + 0xa0], xmm0
movdqa xmmword [esp + 0xb0], xmm0
movq qword [esp + 0xc0], xmm0
cmp byte [eax], 4
ja 0x10403e37
mov edx, dword [edi + 0x38]
mov ecx, dword [esp + 0x48]
call fcn.103e2280
mov eax, 0xfffe
mov dword [edi + 0x38], 0
and word [edi + 6], ax
push 0
mov edx, edi
mov ecx, esi
call fcn.10403580
mov eax, dword [edi + 0x38]
add esp, 4
cmp dword [esi + 0x44], 0
mov edx, dword [edi]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0xc], eax
mov dword [esp + 0x40], edx
jne 0x10405a3e
mov ecx, dword [esp + 0x48]
cmp byte [ecx + 0x38], 0
jne 0x10405a3e
movzx eax, word [edi + 6]
mov ecx, esi
shr eax, 2
and eax, 1
mov dword [esp + 0x24], eax
call fcn.103ffe50
mov edi, eax
mov dword [esp + 0x78], edi
test edi, edi
je 0x10405a36
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x74]
cmp dword [ecx], 1
movzx eax, byte [eax]
jle 0x10403ec1
cmp eax, 6
je 0x10403eae
cmp eax, 7
jne 0x10403ec1
push str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
push esi
call fcn.103b73b0
add esp, 8
jmp 0x10405a36
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], 0
cmp dword [ecx + 0x3c], 0
jne 0x1040429f
mov edx, dword [esp + 0xc]
jmp 0x10403ee0
movsx eax, word [edx]
cmp dword [esp + 0x14], eax
jge 0x1040429f
mov eax, dword [esp + 0x14]
lea eax, [eax + eax*8]
mov esi, dword [edx + eax*8 + 0x1c]
test esi, esi
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x10], eax
je 0x10404291
cmp dword [edx + eax*8 + 0x20], 0
je 0x10403f42
test byte [edx + eax*8 + 0x2c], 4
jne 0x10404291
push dword [edx + eax*8 + 0x20]
mov ecx, edi
push dword [edx + eax*8 + 0x24]
mov edx, 2
call fcn.103d0a10
mov ecx, dword [esp + 0x24]
add esp, 8
mov edx, dword [esp + 0xc]
jmp 0x10404291
call fcn.103e1020
add dword [esi + 0x1e0], eax
mov ecx, esi
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x1c]
movzx eax, word [eax + 6]
shr eax, 2
and eax, 1
push eax
push dword [esp + 0x28]
mov dword [esp + 0x44], eax
push dword [esp + 0x1c]
call fcn.10402380
add esp, 0xc
test eax, eax
je 0x10403f9f
cmp dword [esp + 0x3c], 0
je 0x10403f92
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], 1
or word [eax + 6], 4
mov dword [esp + 0x14], 0xffffffff
jmp 0x10404259
mov ecx, dword [esp + 0xc]
cmp word [ecx], 1
jne 0x1040414f
mov eax, dword [esp + 0x1c]
mov edx, 0x100
test word [eax + 6], dx
jne 0x1040414f
mov eax, dword [esp + 0x48]
test word [eax + 0x34], dx
jne 0x1040414f
inc dword [esi + 0x4c]
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x4c]
mov dword [ecx + edx*8 + 0x24], eax
or edx, 0xffffffff
inc dword [esi + 0x4c]
mov ecx, esi
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x2c], eax
call fcn.103edee0
mov edx, 1
mov ecx, edi
call fcn.103d0950
mov eax, dword [esp + 0x10]
mov edx, 0x2c
mov ecx, dword [esp + 0xc]
push dword [ecx + eax*8 + 0x34]
mov ecx, edi
call fcn.103d09b0
mov ecx, dword [edi + 4]
add esp, 4
mov edx, eax
mov dword [esp + 0x4c], edx
test ecx, ecx
je 0x1040402f
mov eax, dword [edi + 0x1c]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 1
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push dword [esp + 0x2c]
push 0
mov dword [ecx + eax*8 + 0x20], edx
mov edx, 7
mov ecx, edi
call fcn.103d0a10
mov ecx, dword [edi + 4]
add esp, 8
test ecx, ecx
je 0x10404062
mov eax, dword [edi + 0x1c]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 1
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov eax, dword [edx + ecx*8 + 0x24]
mov dword [esp + 0x100], eax
mov al, byte [esi + 0x1e8]
mov word [esp + 0xfc], 0xa
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov byte [edx + ecx*8 + 0x30], al
lea eax, [esp + 0xfc]
mov edx, dword [esp + 0x5c]
mov ecx, esi
push eax
call fcn.10403d60
mov eax, dword [esp + 0x60]
add esp, 4
movsd xmm0, qword [eax + 0x20]
call fcn.10459411
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + edx*8 + 0x18]
mov dword [ecx + 0x1c], eax
mov eax, esi
mov esi, dword [esp + 0x20]
or dword [eax + edx*8 + 0x2c], 4
mov eax, dword [esp + 0x4c]
cmp dword [edi + 0x1c], eax
jbe 0x10404111
mov ecx, dword [edi + 4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x104]
mov dword [ecx + edx*4 + 8], eax
mov eax, dword [esp + 0x4c]
cmp dword [edi + 0x1c], eax
jbe 0x10404111
mov ecx, dword [edi + 4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x108]
mov dword [ecx + edx*4 + 0xc], eax
push dword [esp + 0x2c]
mov edx, 7
mov ecx, edi
push 1
call fcn.103d0a10
mov eax, dword [esp + 0x18]
mov edx, 4
mov ecx, dword [esp + 0x14]
push dword [ecx + eax*8 + 0x24]
mov ecx, edi
call fcn.103d09b0
mov edx, dword [esp + 0x58]
add esp, 0xc
dec edx
mov ecx, edi
call fcn.103d0e50
jmp 0x1040424e
mov edx, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x4c]
inc eax
mov dword [esi + 0x4c], eax
mov dword [ecx + edx*8 + 0x24], eax
mov edx, 7
push eax
push 0
mov ecx, edi
call fcn.103d0a10
mov ecx, dword [esp + 0x18]
add esp, 8
mov edx, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
inc eax
test byte [edx + ecx*8 + 0x2c], 2
mov dword [edx + ecx*8 + 0x20], eax
jne 0x104041a1
mov ecx, esi
call fcn.103e26b0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
mov eax, dword [edx + ecx*8 + 0x34]
mov dword [esp + 0x100], eax
mov al, byte [esi + 0x1e8]
mov word [esp + 0xfc], 9
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov byte [edx + ecx*8 + 0x30], al
lea eax, [esp + 0xfc]
mov edx, dword [esp + 0x5c]
mov ecx, esi
push eax
call fcn.10403d60
mov eax, dword [esp + 0x60]
add esp, 4
movsd xmm0, qword [eax + 0x20]
call fcn.10459411
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + edx*8 + 0x18]
mov esi, dword [esp + 0x20]
mov dword [ecx + 0x1c], eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1040421e
mov edx, eax
mov ecx, edi
call fcn.103d0e50
mov eax, dword [esp + 0x10]
mov edx, 3
mov ecx, dword [esp + 0xc]
push dword [ecx + eax*8 + 0x24]
mov ecx, edi
call fcn.103d09b0
mov edx, eax
add esp, 4
mov eax, dword [esp + 0x3c]
cmp dword [edi + 0x1c], eax
jbe 0x1040424e
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], edx
mov dword [esi + 0x3c], 0
mov byte [esi + 0x13], 0
mov eax, dword [esp + 0x48]
cmp byte [eax + 0x38], 0
jne 0x10405a36
mov ecx, dword [esp + 0x1c]
call fcn.103e1020
sub dword [esi + 0x1e0], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x74]
mov edx, dword [ecx + 0x28]
cmp byte [eax], 4
mov dword [esp + 0xc], edx
jbe 0x10404291
mov eax, dword [ecx + 0x38]
mov dword [esp + 0x38], eax
inc dword [esp + 0x14]
cmp dword [ecx + 0x3c], 0
je 0x10403ee0
mov edx, dword [ecx + 0x34]
mov eax, dword [ecx]
mov dword [esp + 0x2c], edx
mov dl, byte [ecx + 6]
mov dword [esp + 0x40], eax
and dl, 1
cmp dword [ecx + 0x3c], 0
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x70], eax
mov eax, dword [ecx + 0x30]
mov dword [esp + 0x10], eax
mov byte [esp + 0xb], dl
mov byte [esp + 0x90], dl
je 0x10404343
cmp dword [ecx + 0x44], 0
jne 0x10404312
xor edi, edi
mov eax, ecx
xor edx, edx
lea ecx, [ecx]
mov dword [eax + 0x40], edi
inc edx
mov dword [eax + 0x44], ecx
mov edi, eax
mov eax, dword [eax + 0x3c]
test eax, eax
jne 0x104042e0
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x60]
test eax, eax
je 0x10404312
cmp edx, eax
jle 0x10404312
push str.too_many_terms_in_compound_SELECT
push esi
call fcn.103b73b0
add esp, 8
jmp 0x10405a36
push dword [esp + 0x74]
mov edx, ecx
mov ecx, esi
call fcn.10400090
mov ecx, dword [esp + 0x90]
add esp, 4
mov dword [esi + 0x1e4], ecx
pop edi
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.10436e26
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x38]
mov ecx, eax
call fcn.103e57b0
test eax, eax
jne 0x1040436a
mov eax, dword [esp + 0x48]
mov ecx, 0
test byte [eax + 0x34], 4
mov eax, dword [esp + 0x38]
cmove eax, ecx
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x1c]
mov al, byte [ecx + 6]
and al, 5
cmp al, 1
jne 0x104044a1
mov edx, dword [ecx]
mov ecx, dword [esp + 0x38]
call fcn.103e57b0
test eax, eax
jne 0x104044a1
mov eax, dword [esp + 0x1c]
mov ecx, 0xfffe
push 0
and word [eax + 6], cx
mov edx, dword [eax]
mov ecx, dword [esp + 0x4c]
call fcn.103e1a80
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
mov dword [eax + 0x30], ecx
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x4c], 0xffffffff
mov eax, dword [esp + 0x74]
cmp byte [eax], 9
jne 0x104043e7
mov ecx, dword [esp + 0x40]
mov edx, 0x2a
push dword [ecx]
mov ecx, edi
push dword [eax + 4]
call fcn.103d0a10
add esp, 8
mov ecx, edi
call fcn.103d0c10
movsd xmm0, qword [0x10622fd0]
mov ecx, eax
mov eax, dword [esp + 0x1c]
mov edx, eax
mov dword [esp + 0x9c], ecx
push ecx
mov ecx, esi
movsd qword [eax + 0x20], xmm0
call fcn.103ffe80
mov edx, dword [esp + 0x20]
add esp, 4
cmp dword [edx + 8], 0
jne 0x1040443c
mov eax, dword [esp + 0x4c]
test eax, eax
js 0x1040443c
mov edx, eax
mov ecx, edi
call fcn.103d1130
mov edx, dword [esp + 0x1c]
mov byte [eax], 0x2b
or word [edx + 6], 0x40
test byte [edx + 6], 1
je 0x104044f4
mov esi, dword [esi + 0x48]
mov ecx, dword [esp + 0x20]
push 0xfffffffffffffff0
push ecx
lea eax, [esi + 1]
mov dword [esp + 0x9c], esi
mov dword [ecx + 0x48], eax
mov edx, dword [edx]
call fcn.103fecc0
add esp, 4
mov edx, 0x2a
mov ecx, edi
push eax
push 0
push 0
push esi
call fcn.103d0a80
mov ecx, dword [edi + 4]
add esp, 0x14
mov dword [esp + 0x98], eax
test ecx, ecx
je 0x10404495
mov eax, dword [edi + 0x1c]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 8
mov esi, dword [esp + 0x20]
mov al, 3
mov edx, dword [esp + 0x1c]
jmp 0x104044f6
mov eax, dword [esp + 0x38]
test eax, eax
je 0x104043be
mov edx, eax
mov ecx, esi
call fcn.103fecc0
mov edx, dword [esp + 0x38]
mov ecx, eax
mov eax, dword [esi + 0x48]
push 0xfffffffffffffff0
push ecx
mov dword [edx + 4], eax
mov ecx, edi
inc dword [esi + 0x48]
mov eax, dword [edx]
push 0
add eax, 2
push eax
push dword [edx + 4]
mov edx, 0x2a
call fcn.103d0a80
mov ecx, eax
add esp, 0x14
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x4c], ecx
mov dword [eax + 0x18], ecx
jmp 0x104043c6
xor al, al
cmp dword [esp + 0x24], 0
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x91], al
mov dword [esp + 0x5c], eax
jne 0x10404606
test ecx, ecx
jne 0x10404606
cmp byte [esp + 0xb], cl
je 0x10404522
mov eax, dword [edx]
jmp 0x10404524
xor eax, eax
mov edx, dword [esp + 0xc]
mov ecx, esi
push 0
push 0
push eax
push dword [esp + 0x44]
push dword [esp + 0x80]
call fcn.10411110
mov edx, eax
add esp, 0x14
mov dword [esp + 0x2c], edx
test edx, edx
je 0x10405a36
mov eax, dword [esp + 0x1c]
movsd xmm1, qword [edx + 0x30]
movsd xmm0, qword [eax + 0x20]
comisd xmm0, xmm1
jbe 0x10404569
movsd qword [eax + 0x20], xmm1
mov eax, dword [esp + 0x5c]
mov cl, byte [edx + 0xe]
movzx eax, al
test cl, cl
mov dword [esp + 0x5c], eax
movzx eax, cl
mov ecx, dword [esp + 0x5c]
cmovne ecx, eax
mov dword [esp + 0x5c], ecx
mov byte [esp + 0x91], cl
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x104045a5
movzx eax, word [edx + 8]
xor edx, edx
cmp eax, dword [ecx]
cmove ecx, edx
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x4c]
test eax, eax
js 0x104045cb
test ecx, ecx
jne 0x104045cb
mov edx, eax
mov ecx, edi
call fcn.103d0f80
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
mov dword [edx + 0x18], 0xffffffff
jmp 0x104045cf
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
push dword [eax + 0x18]
push dword [eax + 0x14]
lea eax, [esp + 0x98]
push dword [esp + 0x7c]
push eax
push ecx
push 0
push 0
push dword [esp + 0x5c]
mov ecx, esi
call fcn.103fe600
mov ecx, dword [esp + 0x4c]
add esp, 0x20
call fcn.10411d40
jmp 0x1040588e
mov dword [esp + 0x50], 0
mov dword [esp + 0x24], 0
test ecx, ecx
je 0x1040467c
mov eax, dword [edx]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
test eax, eax
jle 0x1040463a
add ecx, 0x16
xor edi, edi
lea ecx, [ecx + 0x18]
dec eax
mov word [ecx - 0x18], di
test eax, eax
jg 0x10404628
mov edi, dword [esp + 0x78]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
test eax, eax
jle 0x10404662
add ecx, 0x16
lea ebx, [ebx]
xor esi, esi
lea ecx, [ecx + 0x18]
dec eax
mov word [ecx - 0x18], si
test eax, eax
jg 0x10404650
mov esi, dword [esp + 0x20]
movsd xmm0, qword [edx + 0x20]
movsd xmm1, qword [0x10622f68]
comisd xmm0, xmm1
jbe 0x10404689
movsd qword [edx + 0x20], xmm1
jmp 0x10404689
movsd xmm0, qword [0x10622f18]
movsd qword [edx + 0x20], xmm0
mov ecx, edi
call fcn.103d0c10
mov ecx, dword [esp + 0x10]
xorps xmm0, xmm0
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0xc]
movdqa xmmword [esp + 0xd0], xmm0
mov dword [esp + 0xd4], eax
lea eax, [esp + 0xa0]
movdqa xmmword [esp + 0xe0], xmm0
mov dword [esp + 0xd0], esi
mov dword [esp + 0xdc], eax
test ecx, ecx
je 0x104046e0
mov eax, dword [ecx]
inc eax
mov dword [esp + 0xac], eax
jmp 0x104046eb
mov dword [esp + 0xac], 0
mov edx, dword [esp + 0x40]
mov dword [esp + 0xb0], ecx
lea ecx, [esp + 0xd0]
call fcn.103e5c60
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0xd0]
call fcn.103e5c60
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x10404728
mov edx, eax
lea ecx, [esp + 0xd0]
call fcn.103e5c10
cmp dword [esp + 0xc4], 0
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xbc], eax
jle 0x10404797
mov al, byte [esp + 0xec]
xor esi, esi
xor edi, edi
jmp 0x10404750
or al, 8
lea ecx, [esp + 0xd0]
mov byte [esp + 0xec], al
mov eax, dword [esp + 0xc0]
mov edx, dword [eax + esi]
mov edx, dword [edx + 0x10]
call fcn.103e5c60
mov al, byte [esp + 0xec]
lea esi, [esi + 0x10]
and al, 0xf7
inc edi
mov byte [esp + 0xec], al
cmp edi, dword [esp + 0xc4]
jl 0x10404750
mov edi, dword [esp + 0x78]
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x48]
cmp byte [eax + 0x38], 0
jne 0x10405a36
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x1040550b
mov eax, dword [esi + 0x48]
mov edx, ecx
mov dword [esp + 0xa4], eax
mov ecx, esi
inc eax
mov dword [esi + 0x48], eax
call fcn.103fecc0
push 0xfffffffffffffff0
push eax
push 0
push dword [esp + 0xb8]
mov edx, 0x2b
mov dword [esp + 0x44], eax
push dword [esp + 0xb4]
mov ecx, edi
call fcn.103d0a80
inc dword [esi + 0x4c]
add esp, 0x14
mov dword [esp + 0x28], eax
mov ecx, edi
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x60], eax
add eax, 2
mov dword [esi + 0x4c], eax
call fcn.103d0c10
inc dword [esi + 0x4c]
mov ecx, edi
mov dword [esp + 0x80], eax
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x68], eax
call fcn.103d0c10
mov ecx, dword [esi + 0x4c]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x6c], eax
lea eax, [ecx + 1]
add ecx, dword [edx]
mov dword [esp + 0x88], eax
mov dword [esi + 0x4c], ecx
lea eax, [ecx + 1]
mov dword [esp + 0x4c], eax
mov eax, dword [edx]
mov edx, 7
add eax, ecx
mov ecx, edi
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0x60]
inc eax
push eax
push 0
call fcn.103d0a10
push dword [esp + 0x68]
mov edx, 7
mov ecx, edi
push 0
call fcn.103d0a10
mov ecx, dword [esp + 0x20]
mov edx, 0xa
mov eax, dword [ecx]
mov ecx, dword [esp + 0x98]
dec eax
add eax, ecx
push eax
push ecx
push 0
mov ecx, edi
call fcn.103d08f0
add esp, 0x1c
mov edx, 2
mov ecx, edi
push dword [esp + 0x6c]
push dword [esp + 0x6c]
call fcn.103d0a10
mov edx, dword [esp + 0x14]
mov ecx, esi
push 0
push 0
push 0
push dword [esp + 0x24]
push dword [esp + 0x88]
call fcn.10411110
add esp, 0x1c
mov dword [esp + 0x3c], eax
test eax, eax
je 0x10405a36
mov ecx, dword [esp + 0x10]
movzx eax, word [eax + 8]
cmp eax, dword [ecx]
jne 0x104048e8
xor ecx, ecx
mov dword [esp + 0x70], ecx
jmp 0x10404cbe
cmp byte [esp + 0xb], 0
je 0x104048fe
mov eax, dword [esp + 0x1c]
mov edx, str.DISTINCT
test byte [eax + 6], 1
je 0x10404903
mov edx, str.GROUP_BY
mov ecx, esi
call fcn.103feda0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x70], 1
mov eax, dword [eax]
mov dword [esp + 0x30], eax
inc eax
mov dword [esp + 0x24], eax
mov edx, eax
mov dword [esp + 0x64], eax
mov ecx, eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x50], eax
test eax, eax
jle 0x10404955
mov eax, dword [esp + 0xb4]
add eax, 0xc
cmp dword [eax], ecx
jl 0x10404948
inc edx
inc ecx
add eax, 0x18
dec dword [esp + 0x50]
jne 0x10404942
mov dword [esp + 0x64], edx
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 0x40]
mov dword [esp + 0x14], eax
cmp edx, ecx
jg 0x1040496f
add eax, edx
sub ecx, edx
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], ecx
jmp 0x1040497e
mov eax, dword [esi + 0x4c]
lea ecx, [eax + 1]
add eax, edx
mov dword [esp + 0x14], ecx
mov dword [esi + 0x4c], eax
mov ecx, esi
call fcn.103e3910
mov edx, dword [esp + 0x10]
push 0
push dword [esp + 0x18]
call fcn.103e4ed0
mov eax, dword [esp + 0x1c]
mov edx, 0x37
add eax, dword [esp + 0x38]
mov ecx, edi
push eax
push dword [esp + 0xb0]
call fcn.103d0a10
add esp, 0x10
mov dword [esp + 0x7c], 0
cmp dword [esp + 0xb8], 0
jle 0x10404a9a
mov ecx, dword [esp + 0x14]
add ecx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x30], eax
jmp 0x104049e0
mov edx, dword [esp + 0xb4]
mov esi, dword [esp + 0x24]
cmp dword [edx + eax + 0xc], esi
mov esi, dword [esp + 0x20]
jl 0x10404a7d
push 0
push ecx
push dword [edx + eax + 4]
mov ecx, esi
push dword [edx + eax + 8]
mov edx, dword [edx + eax]
call fcn.103e3870
mov ecx, dword [esp + 0x60]
add esp, 0x10
mov dword [esp + 0x18], eax
cmp ecx, eax
je 0x10404a70
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x44], eax
cmp dword [edi + 0x20], eax
jg 0x10404a38
mov ecx, edi
call fcn.103d0870
test eax, eax
jne 0x10404a6c
mov eax, dword [esp + 0x44]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x50]
mov word [eax + ecx*4], 0xf
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x50]
inc dword [esp + 0x24]
inc ecx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x7c]
add eax, 0x18
inc edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x7c], edx
cmp edx, dword [esp + 0xb8]
jl 0x104049e0
mov al, byte [esi + 0x13]
test al, al
jne 0x10404aa9
inc dword [esi + 0x4c]
mov eax, dword [esi + 0x4c]
jmp 0x10404ab5
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov eax, dword [esi + eax*4 + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x18], eax
cmp dword [edi + 0x20], eax
jg 0x10404ad4
mov ecx, edi
call fcn.103d0870
test eax, eax
jne 0x10404b08
mov eax, dword [esp + 0x18]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x64]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x24]
mov word [eax + ecx*4], 0x1f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x18], eax
cmp dword [edi + 0x20], eax
jg 0x10404b2e
mov ecx, edi
call fcn.103d0870
test eax, eax
jne 0x10404b64
mov eax, dword [esp + 0x18]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x44]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov word [eax + ecx*4], 0x60
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x10404b68
mov edx, dword [esp + 0x24]
test edx, edx
je 0x10404ba0
mov al, byte [esi + 0x13]
mov byte [esp + 0xb], al
cmp al, 8
jae 0x10404ba0
xor ecx, ecx
lea eax, [esi + 0x64]
lea esp, [esp]
cmp dword [eax + 0x10], edx
je 0x10404b9c
inc ecx
add eax, 0x18
cmp ecx, 0xa
jl 0x10404b80
movzx eax, byte [esp + 0xb]
mov dword [esi + eax*4 + 0x1c], edx
inc byte [esi + 0x13]
jmp 0x10404ba0
mov byte [eax + 8], 1
push dword [esp + 0x64]
mov edx, dword [esp + 0x18]
mov ecx, esi
call fcn.103e3680
mov eax, dword [esp + 0x68]
add esp, 4
cmp eax, dword [esi + 0x3c]
jle 0x10404bc5
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x40], eax
mov ecx, dword [esp + 0x3c]
call fcn.10411d40
mov eax, dword [esi + 0x48]
mov dword [esp + 0x50], eax
mov dword [esp + 0xa8], eax
inc eax
mov dword [esi + 0x48], eax
mov al, byte [esi + 0x13]
test al, al
jne 0x10404bf3
inc dword [esi + 0x4c]
mov ecx, dword [esi + 0x4c]
mov dword [esp + 0x24], ecx
jmp 0x10404c03
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov eax, dword [esi + eax*4 + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x18], eax
cmp dword [edi + 0x20], eax
jg 0x10404c1e
mov ecx, edi
call fcn.103d0870
test eax, eax
jne 0x10404c52
mov eax, dword [esp + 0x18]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x50]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x64]
mov word [eax + ecx*4], 0x2c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x18], eax
cmp dword [edi + 0x20], eax
jg 0x10404c78
mov ecx, edi
call fcn.103d0870
test eax, eax
jne 0x10404caf
mov eax, dword [esp + 0x18]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x44]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x84]
mov word [eax + ecx*4], 0x46
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, esi
mov byte [esp + 0xa1], 1
call fcn.103e3910
mov eax, dword [edi + 0x1c]
mov ecx, esi
mov dword [esp + 0x7c], eax
call fcn.103e3910
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x10404d32
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x18], eax
cmp dword [edi + 0x20], eax
jg 0x10404cfa
mov ecx, edi
call fcn.103d0870
test eax, eax
jne 0x10404d2e
mov eax, dword [esp + 0x18]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x44]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov word [eax + ecx*4], 0x3e
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x14], eax
cmp dword [edx], eax
jle 0x10404eb7
test ecx, ecx
je 0x10404dc2
mov ecx, dword [edi + 0x1c]
mov dword [esp + 0x18], ecx
cmp dword [edi + 0x20], ecx
jg 0x10404d67
mov ecx, edi
call fcn.103d0870
test eax, eax
jne 0x10404d9b
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc dword [edi + 0x1c]
lea edx, [ecx + ecx*4]
mov ecx, dword [edi + 4]
mov esi, dword [esp + 0x50]
mov dword [ecx + edx*4 + 8], eax
add eax, dword [esp + 0x4c]
mov dword [ecx + edx*4 + 4], esi
mov esi, dword [esp + 0x20]
mov word [ecx + edx*4], 0x1d
mov byte [ecx + edx*4 + 3], 0
mov dword [ecx + edx*4 + 0xc], eax
mov dword [ecx + edx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x10404ea2
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x10404ea2
mov eax, dword [edi + 0x1c]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 0x20
jmp 0x10404e9e
mov ecx, dword [esp + 0x4c]
add ecx, eax
mov byte [esp + 0xa0], 1
mov dword [esp + 0x24], ecx
lea ecx, [eax + eax*2]
mov eax, dword [edx + 8]
mov edx, dword [eax + ecx*8]
test edx, edx
je 0x10404e28
cmp byte [edx], 0x84
jne 0x10404e28
mov eax, dword [edx + 0x18]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x18], eax
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x44], ecx
cmp dword [eax + 0x20], ecx
jg 0x10404e17
mov ecx, eax
call fcn.103d0870
test eax, eax
jne 0x10404e9e
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x44]
inc dword [eax + 0x1c]
lea ecx, [ecx + ecx*4]
mov eax, dword [eax + 4]
mov word [eax + ecx*4], 0xe
jmp 0x10404e79
push dword [esp + 0x24]
mov ecx, esi
call fcn.103e3ca0
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, dword [esp + 0x24]
je 0x10404e9e
mov eax, dword [esi + 8]
mov dword [esp + 0x18], eax
test eax, eax
je 0x10404e9e
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x44], ecx
cmp dword [eax + 0x20], ecx
jg 0x10404e6a
mov ecx, eax
call fcn.103d0870
test eax, eax
jne 0x10404e9e
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x44]
inc dword [eax + 0x1c]
lea ecx, [ecx + ecx*4]
mov eax, dword [eax + 4]
mov word [eax + ecx*4], 0xf
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], edx
mov byte [eax + ecx*4 + 3], 0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
inc eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x14], eax
cmp eax, dword [edx]
jl 0x10404d44
mov eax, dword [edx]
mov edx, dword [edi + 0x1c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x18], edx
cmp dword [edi + 0x20], edx
jg 0x10404edf
mov ecx, edi
call fcn.103d0870
test eax, eax
je 0x10404edb
mov edx, 1
jmp 0x10404f1a
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 4]
lea ecx, [edx + edx*4]
inc dword [edi + 0x1c]
mov esi, dword [esp + 0x88]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x44]
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [esp + 0x20]
mov word [eax + ecx*4], 0x18
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffffa
push dword [esp + 0x38]
mov ecx, edi
call fcn.103d0fc0
mov eax, dword [edi + 0x1c]
add esp, 8
mov dword [esp + 0x30], eax
cmp dword [edi + 0x20], eax
jg 0x10404f45
mov ecx, edi
call fcn.103d0870
test eax, eax
jne 0x10404f76
mov eax, dword [esp + 0x30]
mov ecx, dword [edi + 4]
lea esi, [eax + eax*4]
inc dword [edi + 0x1c]
inc eax
mov word [ecx + esi*4], 0x19
mov byte [ecx + esi*4 + 3], 0
mov dword [ecx + esi*4 + 4], eax
mov dword [ecx + esi*4 + 8], 0
mov dword [ecx + esi*4 + 0xc], eax
mov dword [ecx + esi*4 + 0x10], 0
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov ecx, esi
mov edx, dword [esp + 0x4c]
push dword [eax]
push dword [esp + 0x8c]
call fcn.103e3b20
mov eax, dword [edi + 0x1c]
add esp, 8
mov dword [esp + 0x34], eax
cmp dword [edi + 0x20], eax
jg 0x10404fac
mov ecx, edi
call fcn.103d0870
test eax, eax
jne 0x10404fee
mov eax, dword [esp + 0x34]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x78]
add edx, 2
mov esi, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x80]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x34], eax
cmp dword [edi + 0x20], eax
jg 0x10405009
mov ecx, edi
call fcn.103d0870
test eax, eax
jne 0x10405045
mov eax, dword [esp + 0x34]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0x20]
inc edx
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x84]
mov word [eax + ecx*4], 0x78
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x34], eax
cmp dword [edi + 0x20], eax
jg 0x10405060
mov ecx, edi
call fcn.103d0870
test eax, eax
jne 0x10405094
mov eax, dword [esp + 0x34]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x6c]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x30]
test eax, eax
js 0x104050ad
mov edx, dword [edi + 0x1c]
cmp edx, eax
jbe 0x104050ad
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 8], edx
lea edx, [esp + 0xa0]
mov ecx, esi
call fcn.104038b0
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x34], eax
cmp dword [edi + 0x20], eax
jg 0x104050d6
mov ecx, edi
call fcn.103d0870
test eax, eax
jne 0x1040510a
mov eax, dword [esp + 0x34]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x60]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x10405172
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x34], eax
cmp dword [edi + 0x20], eax
jg 0x1040513c
mov ecx, edi
call fcn.103d0870
test eax, eax
jne 0x104051bc
mov eax, dword [esp + 0x34]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x7c]
mov word [eax + ecx*4], 0x51
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x104051bc
mov ecx, dword [esp + 0x3c]
call fcn.10411d40
mov eax, dword [edi + 4]
mov dword [esp + 0x34], eax
test eax, eax
je 0x104051bc
mov ecx, dword [esp + 0x28]
lea esi, [ecx + ecx*4]
mov ecx, dword [edi]
push dword [eax + esi*4 + 0x10]
movsx edx, byte [eax + esi*4 + 1]
call fcn.103d0e70
mov eax, dword [esp + 0x38]
xorps xmm0, xmm0
add esp, 4
movdqu xmmword [eax + esi*4], xmm0
mov dword [eax + esi*4 + 0x10], 0
mov byte [eax + esi*4], 0x95
mov esi, dword [esp + 0x20]
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x28], eax
cmp dword [edi + 0x20], eax
jg 0x104051d7
mov ecx, edi
call fcn.103d0870
test eax, eax
jne 0x10405219
mov eax, dword [esp + 0x28]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x78]
add edx, 2
mov esi, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x80]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x28], eax
cmp dword [edi + 0x20], eax
jg 0x10405234
mov ecx, edi
call fcn.103d0870
test eax, eax
jne 0x1040526b
mov eax, dword [esp + 0x28]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x84]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x30], eax
cmp dword [edi + 0x20], eax
jg 0x10405286
mov ecx, edi
call fcn.103d0870
test eax, eax
jne 0x104052bf
mov eax, dword [esp + 0x30]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0x20]
inc edx
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x28], eax
cmp dword [edi + 0x20], eax
jg 0x104052da
mov ecx, edi
call fcn.103d0870
test eax, eax
jne 0x10405319
mov eax, dword [esp + 0x28]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x78]
add edx, 2
mov esi, dword [esp + 0x20]
mov word [eax + ecx*4], 3
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x10405335
mov eax, dword [esp + 0x80]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x1c]
mov dword [ecx], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x3c], eax
cmp dword [edi + 0x20], eax
jg 0x10405350
mov ecx, edi
call fcn.103d0870
test eax, eax
jne 0x10405387
mov eax, dword [esp + 0x3c]
mov ecx, dword [edi + 4]
lea edx, [eax + eax*4]
inc dword [edi + 0x1c]
add eax, 2
mov esi, dword [esp + 0x60]
mov dword [ecx + edx*4 + 4], esi
mov esi, dword [esp + 0x20]
mov word [ecx + edx*4], 0x78
mov byte [ecx + edx*4 + 3], 0
mov dword [ecx + edx*4 + 8], eax
mov dword [ecx + edx*4 + 0xc], 0
mov dword [ecx + edx*4 + 0x10], 0
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x28], eax
cmp dword [edi + 0x20], eax
jg 0x104053a2
mov ecx, edi
call fcn.103d0870
test eax, eax
jne 0x104053e1
mov eax, dword [esp + 0x28]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x78]
add edx, 2
mov esi, dword [esp + 0x20]
mov word [eax + ecx*4], 3
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
lea edx, [esp + 0xa0]
mov ecx, esi
call fcn.104037e0
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
inc esi
mov ecx, dword [esp + 0x20]
push 8
push esi
call fcn.103e5360
push dword [esp + 0x38]
lea eax, [esp + 0x9c]
push esi
push dword [esp + 0x84]
mov esi, dword [esp + 0x34]
mov ecx, esi
push eax
push dword [esp + 0x50]
mov eax, dword [esp + 0x38]
mov edx, eax
push 0
push 0
push dword [eax]
call fcn.103fe600
mov eax, dword [edi + 0x1c]
add esp, 0x28
mov dword [esp + 0x28], eax
cmp dword [edi + 0x20], eax
jg 0x10405451
mov ecx, edi
call fcn.103d0870
test eax, eax
jne 0x1040548c
mov eax, dword [esp + 0x28]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x78]
add edx, 2
mov word [eax + ecx*4], 3
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x104054a5
mov eax, dword [esp + 0x6c]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x1c]
mov dword [ecx], eax
lea edx, [esp + 0xa0]
mov ecx, esi
call fcn.10403620
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x28], eax
cmp dword [edi + 0x20], eax
jg 0x104054d2
mov ecx, edi
call fcn.103d0870
test eax, eax
jne 0x10405872
mov eax, dword [esp + 0x28]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x68]
mov word [eax + ecx*4], 3
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x10405872
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0xa0]
mov dword [esp + 0x80], 0
call fcn.104029d0
mov dword [esp + 0x64], eax
test eax, eax
je 0x10405709
mov ecx, dword [esi]
mov edx, dword [eax + 0x40]
call fcn.103fd140
mov ecx, dword [esp + 0x64]
mov edx, eax
mov eax, dword [esi + 0x48]
mov dword [esp + 0x68], eax
inc eax
mov dword [esi + 0x48], eax
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + 0x20]
mov ecx, esi
mov dword [esp + 0x30], edx
mov dword [esp + 0x3c], eax
call fcn.103edee0
mov eax, dword [esp + 0x64]
mov ecx, esi
mov edx, dword [esp + 0x30]
push dword [eax]
push 0
push dword [eax + 0x20]
call fcn.103e9280
mov ecx, dword [esp + 0x70]
add esp, 0xc
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x104055df
xor esi, esi
nop
test byte [ecx + 0x2c], 4
jne 0x104055a6
test esi, esi
je 0x104055a4
mov ax, word [ecx + 0x28]
cmp ax, word [esi + 0x28]
jae 0x104055a6
mov esi, ecx
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x10405590
mov dword [esp + 0x6c], esi
test esi, esi
mov esi, dword [esp + 0x20]
je 0x104055df
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x64]
movzx ecx, word [edx + 0x28]
movsx eax, word [eax + 0x26]
cmp ecx, eax
jge 0x104055df
mov eax, dword [edx + 0x24]
mov ecx, esi
mov dword [esp + 0x3c], eax
call fcn.103ee4c0
mov dword [esp + 0x7c], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x28], eax
cmp dword [edi + 0x20], eax
jg 0x104055fa
mov ecx, edi
call fcn.103d0870
test eax, eax
jne 0x1040562e
mov eax, dword [esp + 0x28]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x30]
mov word [eax + ecx*4], 0x27
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x10405646
push 0xfffffffffffffff0
push eax
or edx, 0xffffffff
mov ecx, edi
call fcn.103d0fc0
add esp, 8
mov eax, dword [esp + 0xc0]
mov eax, dword [eax + 8]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x28], eax
cmp dword [edi + 0x20], eax
jg 0x1040566f
mov ecx, edi
call fcn.103d0870
test eax, eax
jne 0x104056a3
mov eax, dword [esp + 0x28]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov word [eax + ecx*4], 0x20
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x28], eax
cmp dword [edi + 0x20], eax
jg 0x104056be
mov ecx, edi
call fcn.103d0870
test eax, eax
jne 0x104056f2
mov eax, dword [esp + 0x28]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x68]
mov word [eax + ecx*4], 0x2d
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
mov ecx, esi
call fcn.10403cf0
add esp, 4
jmp 0x1040581c
xor eax, eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], eax
mov byte [esp + 0xb], al
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x34], 0
jne 0x10405786
lea edx, [esp + 0x68]
lea ecx, [esp + 0xa0]
call fcn.10402960
mov byte [esp + 0xb], al
test al, al
je 0x1040577e
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x48]
push 0
call fcn.103e1a80
mov edx, eax
add esp, 4
mov dword [esp + 0x6c], edx
mov dword [esp + 0x80], edx
test edx, edx
je 0x10405786
mov eax, dword [esp + 0x48]
cmp byte [eax + 0x38], 0
jne 0x10405786
mov eax, dword [edx + 8]
cmp byte [esp + 0xb], 1
setne cl
mov byte [eax + 0xc], cl
mov eax, dword [edx + 8]
mov eax, dword [eax]
mov byte [eax], 0x98
jmp 0x10405786
mov eax, dword [esp + 0x68]
mov dword [esp + 0x6c], eax
lea edx, [esp + 0xa0]
mov ecx, esi
call fcn.10403620
mov al, byte [esp + 0xb]
mov ecx, esi
mov edx, dword [esp + 0xc]
push 0
movzx eax, al
push eax
push 0
push dword [esp + 0x78]
push dword [esp + 0x80]
call fcn.10411110
add esp, 0x14
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x104057d6
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x48]
call fcn.103e2280
jmp 0x10405a36
lea edx, [esp + 0xa0]
mov ecx, esi
call fcn.104038b0
mov eax, dword [esp + 0x3c]
cmp word [eax + 8], 0
jbe 0x10405807
push dword [eax + 0x18]
mov edx, 1
mov ecx, edi
push 0
call fcn.103d0a10
mov eax, dword [esp + 0x44]
add esp, 8
mov ecx, eax
call fcn.10411d40
lea edx, [esp + 0xa0]
mov ecx, esi
call fcn.104037e0
mov edx, dword [esp + 0x2c]
mov ecx, esi
push 8
push dword [esp + 0x88]
mov dword [esp + 0x40], 0
call fcn.103e5360
mov eax, dword [esp + 0x8c]
mov ecx, esi
push eax
push eax
push dword [esp + 0x84]
mov eax, dword [esp + 0x30]
mov edx, eax
push 0
push 0
push 0
push 0
push dword [eax]
call fcn.103fe600
mov edx, dword [esp + 0xa8]
add esp, 0x28
mov ecx, dword [esp + 0x48]
call fcn.103e2280
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x1040588e
mov eax, dword [esp + 0x84]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x1c]
mov dword [ecx], eax
mov eax, dword [esp + 0x5c]
cmp al, 3
jne 0x10405944
cmp byte [esi + 0x1d4], 2
jne 0x10405944
mov ecx, dword [esi + 8]
push str.DISTINCT
push str.USE_TEMP_B_TREE_FOR__s
push dword [esi]
mov dword [esp + 0x38], ecx
call fcn.103b67a0
mov dword [esp + 0x24], eax
add esp, 0xc
mov eax, dword [esi + 0x1e4]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x28], edx
cmp dword [eax + 0x20], edx
jg 0x104058fa
mov ecx, eax
call fcn.103d0870
test eax, eax
je 0x104058f2
mov edx, 1
jmp 0x10405932
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
inc dword [eax + 0x1c]
lea ecx, [edx + edx*4]
mov eax, dword [eax + 4]
mov edi, dword [esp + 0x34]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x78]
mov word [eax + ecx*4], 0x96
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x2c]
push 0xffffffffffffffff
push dword [esp + 0x1c]
call fcn.103d0fc0
add esp, 8
cmp dword [esp + 0x38], 0
je 0x10405a12
cmp byte [esi + 0x1d4], 2
jne 0x104059f9
mov ecx, dword [esi + 8]
push str.ORDER_BY
push str.USE_TEMP_B_TREE_FOR__s
push dword [esi]
mov dword [esp + 0x38], ecx
call fcn.103b67a0
mov dword [esp + 0x24], eax
add esp, 0xc
mov eax, dword [esi + 0x1e4]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x28], edx
cmp dword [eax + 0x20], edx
jg 0x104059af
mov ecx, eax
call fcn.103d0870
test eax, eax
je 0x104059a7
mov edx, 1
jmp 0x104059e7
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
inc dword [eax + 0x1c]
lea ecx, [edx + edx*4]
mov eax, dword [eax + 4]
mov edi, dword [esp + 0x34]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x78]
mov word [eax + ecx*4], 0x96
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x2c]
push 0xffffffffffffffff
push dword [esp + 0x1c]
call fcn.103d0fc0
add esp, 8
mov eax, dword [esp + 0x40]
mov ecx, esi
push dword [esp + 0x74]
mov edx, dword [esp + 0x20]
push dword [eax]
push edi
call fcn.103fee70
add esp, 0xc
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x10405a2e
mov eax, dword [esp + 0x9c]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x1c]
mov dword [ecx], eax
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x8c]
mov dword [esi + 0x1e4], ecx
test edi, edi
jne 0x10405a69
mov ecx, dword [esp + 0x74]
cmp byte [ecx], 5
jne 0x10405a69
push edx
mov edx, eax
mov ecx, esi
call fcn.103ff7e0
add esp, 4
mov edx, dword [esp + 0xb4]
mov ecx, dword [esp + 0x48]
call fcn.103b5160
mov edx, dword [esp + 0xc0]
mov ecx, dword [esp + 0x48]
call fcn.103b5160
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.10436e26
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x10c]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.10436e26
mov esp, ebp
pop ebp
ret