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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe4
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x1e4]
mov dword [esp + 0xbc], 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 + 0x58], 1
mov dword [ebx + 0x1e8], eax
mov dword [esp + 0x38], edi
test esi, esi
je 0x10071e5b
cmp byte [edi + 0x38], 0
jne 0x10071e5b
cmp dword [ebx + 0x44], 0
jne 0x10071e5b
push 0
push 0
push 0
push 0x15
mov eax, ebx
call fcn.10054ff0
add esp, 0x10
test eax, eax
jne 0x10071e5b
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], 4
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
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
ja 0x1007038e
mov edx, dword [esi + 0x38]
push edx
push edi
call fcn.1004df60
mov eax, 0xfffe
add esp, 8
and word [esi + 6], ax
mov dword [esi + 0x38], 0
push 0
push esi
push ebx
call fcn.1006f9f0
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 + 0x50], edx
mov dword [esp + 0x64], eax
jne 0x10071e02
mov ecx, edi
cmp byte [ecx + 0x38], 0
jne 0x10071e02
mov edx, esi
movzx eax, word [edx + 6]
shr eax, 2
and eax, 1
mov edi, ebx
mov dword [esp + 0x5c], eax
call fcn.1006bf70
mov esi, eax
mov dword [esp + 0x4c], esi
test esi, esi
je 0x10071e02
mov ecx, dword [esp + 0x64]
cmp dword [ecx], 1
mov eax, dword [ebp + 0x10]
movzx eax, byte [eax]
jle 0x10070414
cmp eax, 6
je 0x10070402
cmp eax, 7
jne 0x10070414
push str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
call fcn.10025f30
add esp, 4
jmp 0x10071e02
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov dword [esp + 0x30], eax
cmp dword [ecx + 0x3c], eax
jne 0x100708be
jmp 0x10070437
mov eax, dword [esp + 0x30]
mov ecx, dword [ebp + 0xc]
mov edi, dword [esp + 0x50]
movsx edx, word [edi]
cmp eax, edx
jge 0x100708be
lea eax, [eax + eax*8]
lea edi, [edi + eax*8 + 8]
mov eax, dword [edi + 0x14]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
test eax, eax
je 0x100708ab
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x24], ecx
test ecx, ecx
je 0x100704cc
test byte [edi + 0x24], 4
jne 0x100708ab
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov edx, dword [edi + 0x1c]
mov dword [esp + 0x34], edx
mov dword [esp + 0x28], eax
jg 0x1007049f
mov edi, esi
call fcn.1003e3d0
test eax, eax
jne 0x100708ab
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x34]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 2
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
jmp 0x100708ab
mov ecx, dword [ebp + 0xc]
call fcn.1004ce00
add dword [ebx + 0x1e0], eax
mov eax, dword [esp + 0x14]
movzx eax, word [eax + 6]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x30]
shr eax, 2
and eax, 1
push eax
push ecx
push edx
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0xc]
push ebx
call fcn.1006e760
add esp, 0x10
test eax, eax
je 0x1007052b
cmp dword [esp + 0x28], 0
mov edi, dword [ebp + 0xc]
je 0x1007051e
or word [edi + 6], 4
mov dword [esp + 0x5c], 1
mov dword [esp + 0x30], 0xffffffff
jmp 0x1007087a
mov eax, dword [esp + 0x50]
cmp word [eax], 1
jne 0x10070735
mov edx, dword [ebp + 0xc]
mov ecx, 0x100
test word [edx + 6], cx
jne 0x10070735
mov eax, ecx
mov ecx, dword [esp + 0x38]
test word [ecx + 0x34], ax
jne 0x10070735
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 + 0x64], edx
call fcn.10059ee0
add esp, 4
push 1
mov eax, esi
call fcn.1003e4b0
mov eax, dword [edi + 0x2c]
add esp, 4
push eax
push 0x2c
mov eax, esi
call fcn.1003e500
mov dword [esp + 0x28], eax
mov eax, dword [esi + 4]
add esp, 8
test eax, eax
je 0x100705b1
mov ecx, dword [esi + 0x1c]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 - 0x11], 1
mov edx, dword [esp + 0x20]
mov dword [edi + 0x18], edx
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov dword [esp + 0x28], eax
jg 0x100705d7
mov edi, esi
call fcn.1003e3d0
mov edi, dword [esp + 0x18]
test eax, eax
jne 0x100705fe
mov eax, dword [esp + 0x28]
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 + 0x60]
mov byte [eax], 7
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 0x10070610
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 + 0xb8], eax
xor eax, eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0xb4]
push edx
push eax
mov byte [esp + 0xbc], 0xa
mov byte [esp + 0xbd], 0
push ebx
mov byte [edi + 0x28], cl
call fcn.100702b0
mov ecx, dword [esp + 0x20]
fnstcw word [esp + 0x20]
movzx eax, word [esp + 0x20]
fld qword [ecx + 0x20]
mov ecx, dword [esp + 0x2c]
or eax, 0xc00
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x10]
add esp, 0xc
fldcw word [esp + 0x28]
fistp qword [esp + 0xc8]
mov edx, dword [esp + 0xc8]
mov dword [eax + 0x1c], edx
or dword [edi + 0x24], 4
fldcw word [esp + 0x14]
cmp dword [esi + 0x1c], ecx
jbe 0x100706ae
mov eax, ecx
mov ecx, dword [esp + 0xbc]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
mov dword [eax + edx*4 + 8], ecx
mov eax, dword [esp + 0x20]
cmp dword [esi + 0x1c], eax
jbe 0x100706c8
mov ecx, dword [esp + 0xc0]
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 + 0x28], eax
jg 0x100706e7
mov edi, esi
call fcn.1003e3d0
mov edi, dword [esp + 0x18]
test eax, eax
jne 0x10070714
mov eax, dword [esp + 0x28]
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 + 0x60]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 7
mov byte [eax + 3], 0
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov edx, dword [edi + 0x1c]
push edx
push 4
mov eax, esi
call fcn.1003e500
mov eax, dword [esp + 0x28]
add esp, 8
dec eax
mov edx, esi
call fcn.1003e960
jmp 0x1007086c
inc dword [ebx + 0x4c]
mov edx, dword [ebx + 0x4c]
mov dword [edi + 0x1c], edx
mov ecx, dword [esi + 0x1c]
cmp dword [esi + 0x20], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x60], edx
mov dword [esp + 0x28], ecx
jg 0x10070773
mov edi, esi
call fcn.1003e3d0
test eax, eax
je 0x1007076b
mov dword [esp + 0x44], 1
jmp 0x1007079c
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x28]
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], 7
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 + 0x44], ecx
mov ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x18]
inc ecx
test byte [edi + 0x24], 2
mov dword [edi + 0x18], ecx
jne 0x100707b9
mov eax, ebx
call fcn.1004e350
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x2c]
mov ecx, dword [esp + 0x14]
mov dl, byte [ebx + 0x1e8]
mov dword [esp + 0xb8], eax
xor eax, eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
lea eax, [esp + 0xb4]
push eax
push ecx
mov byte [esp + 0xbc], 9
mov byte [esp + 0xbd], 0
push ebx
mov byte [edi + 0x28], dl
call fcn.100702b0
mov edx, dword [esp + 0x20]
fnstcw word [esp + 0x20]
movzx eax, word [esp + 0x20]
fld qword [edx + 0x20]
mov ecx, dword [edi + 0x10]
or eax, 0xc00
mov dword [esp + 0x34], eax
add esp, 0xc
cmp dword [esp + 0x1c], 0
fldcw word [esp + 0x28]
fistp qword [esp + 0xc8]
mov eax, dword [esp + 0xc8]
mov dword [ecx + 0x1c], eax
fldcw word [esp + 0x14]
je 0x10070849
mov eax, dword [esp + 0x1c]
mov edx, esi
call fcn.1003e960
mov edx, dword [edi + 0x1c]
push edx
push 3
mov eax, esi
call fcn.1003e500
mov ecx, dword [esp + 0x4c]
add esp, 8
cmp dword [esi + 0x1c], ecx
jbe 0x1007086c
lea edx, [ecx + ecx*4]
mov ecx, dword [esi + 4]
mov dword [ecx + edx*4 + 4], eax
mov edi, dword [ebp + 0xc]
mov dword [ebx + 0x3c], 0
mov byte [ebx + 0x13], 0
mov edx, dword [esp + 0x38]
cmp byte [edx + 0x38], 0
jne 0x10071e02
mov ecx, edi
call fcn.1004ce00
sub dword [ebx + 0x1e0], eax
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], 4
mov eax, dword [edi + 0x28]
mov dword [esp + 0x50], eax
jbe 0x100708ab
mov edx, dword [edi + 0x38]
mov dword [esp + 0x2c], edx
mov eax, dword [ebp + 0xc]
inc dword [esp + 0x30]
cmp dword [eax + 0x3c], 0
je 0x10070430
mov ecx, eax
mov eax, dword [ecx + 0x2c]
mov edx, dword [ecx]
mov dword [esp + 0x3c], eax
mov eax, dword [ecx + 0x34]
mov dword [esp + 0x28], eax
mov al, byte [ecx + 6]
mov dword [esp + 0x64], edx
mov edx, dword [ecx + 0x30]
and al, 1
cmp dword [ecx + 0x3c], 0
mov dword [esp + 0x14], edx
mov byte [esp + 0xa8], al
je 0x1007094f
cmp dword [ecx + 0x44], 0
jne 0x1007092a
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 0x100708f7
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 0x60]
test eax, eax
je 0x1007092a
cmp esi, eax
jle 0x1007092a
push str.too_many_terms_in_compound_SELECT
mov edi, ebx
call fcn.10025f30
add esp, 4
jmp 0x10071e02
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push edx
push eax
push ebx
call fcn.1006c270
mov ecx, dword [esp + 0xd0]
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 + 0x14]
push edx
call fcn.100518c0
add esp, 4
test eax, eax
jne 0x10070976
mov eax, dword [esp + 0x38]
test byte [eax + 0x34], 4
jne 0x10070976
mov dword [esp + 0x2c], 0
mov edi, dword [ebp + 0xc]
mov cl, byte [edi + 6]
and cl, 5
cmp cl, 1
jne 0x10070ad9
mov edx, edi
mov eax, dword [edx]
mov edi, dword [esp + 0x2c]
push eax
call fcn.100518c0
mov edi, dword [ebp + 0xc]
add esp, 4
test eax, eax
jne 0x10070ad9
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x3c]
push edx
mov ecx, 0xfffe
and word [edi + 6], cx
push eax
call fcn.1004d7e0
add esp, 0xc
mov dword [edi + 0x30], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [ebp + 0x10]
cmp byte [eax], 9
jne 0x10070a38
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x24], eax
jg 0x10070a0c
mov edi, esi
call fcn.1003e3d0
mov edi, dword [ebp + 0xc]
test eax, eax
jne 0x10070a38
mov eax, dword [esp + 0x24]
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x54]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x2a
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, esi
call fcn.1003e6e0
fld qword [0x1038bed0]
push eax
fstp qword [edi + 0x20]
push edi
push ebx
mov dword [esp + 0xd4], eax
call fcn.1006bfa0
add esp, 0xc
cmp dword [edi + 8], 0
jne 0x10070a77
mov eax, dword [esp + 0x1c]
test eax, eax
jl 0x10070a77
mov ecx, esi
call fcn.1003ec50
mov byte [eax], 0x2b
or word [edi + 6], 0x40
test byte [edi + 6], 1
je 0x10070b22
mov eax, dword [ebx + 0x48]
mov edi, eax
inc eax
mov dword [ebx + 0x48], eax
mov eax, dword [ebp + 0xc]
push 0xfffffffffffffff0
push ecx
mov ecx, dword [eax]
push ecx
push ebx
mov dword [esp + 0xbc], edi
call fcn.1006ac40
add esp, 0xc
push eax
mov edx, edi
push 0x2a
xor eax, eax
xor ecx, ecx
mov edi, esi
call fcn.1003e570
mov dword [esp + 0xbc], eax
mov eax, dword [esi + 4]
add esp, 0xc
test eax, eax
je 0x10070acf
mov ecx, dword [esi + 0x1c]
lea edx, [ecx + ecx*4]
mov byte [eax + edx*4 - 0x11], 8
mov byte [esp + 0xa9], 3
jmp 0x10070b2a
cmp dword [esp + 0x2c], 0
je 0x100709cd
mov edi, dword [esp + 0x2c]
push edi
push ebx
call fcn.1006ac40
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 0x2a
xor eax, eax
mov edi, esi
call fcn.1003e570
mov edx, dword [ebp + 0xc]
add esp, 0x14
mov dword [esp + 0x1c], eax
mov dword [edx + 0x18], eax
mov edi, edx
jmp 0x100709d5
mov byte [esp + 0xa9], 0
mov edi, dword [esp + 0x14]
xor edx, edx
cmp dword [esp + 0x5c], edx
jne 0x10070c12
cmp edi, edx
jne 0x10070c12
cmp byte [esp + 0xa8], dl
je 0x10070b52
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
jmp 0x10070b54
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
push 0
push 0
push eax
mov eax, dword [esp + 0x5c]
push ecx
push edx
push eax
push ebx
call fcn.1007c840
mov edi, eax
add esp, 0x1c
test edi, edi
je 0x10071e02
mov ecx, dword [ebp + 0xc]
fld qword [ecx + 0x20]
fcomp qword [edi + 0x30]
fnstsw ax
test ah, 0x41
jne 0x10070b91
fld qword [edi + 0x30]
fstp qword [ecx + 0x20]
mov al, byte [edi + 0xe]
test al, al
je 0x10070b9f
mov byte [esp + 0xa9], al
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x10070bbb
movzx ecx, word [edi + 8]
cmp ecx, dword [eax]
jne 0x10070bbb
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jl 0x10070bd8
test eax, eax
jne 0x10070bd8
mov edx, esi
call fcn.1003ead0
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x18], 0xffffffff
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x14]
mov edx, dword [ebp + 0x10]
push eax
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x70]
lea eax, [esp + 0xb4]
push eax
mov eax, dword [ebp + 0xc]
push ecx
push 0
push 0
push edx
push eax
push ebx
call fcn.1006a3e0
push edi
call fcn.1007d380
add esp, 0x2c
jmp 0x10071d96
mov dword [esp + 0x48], edx
mov dword [esp + 0x18], edx
cmp edi, edx
je 0x10070c75
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
mov eax, dword [ecx]
cmp eax, edx
mov ecx, dword [ecx + 8]
jle 0x10070c3d
add ecx, 0x16
nop
xor edx, edx
mov word [ecx], dx
dec eax
add ecx, 0x18
test eax, eax
jg 0x10070c30
mov eax, dword [edi]
mov ecx, dword [edi + 8]
test eax, eax
jle 0x10070c5d
add ecx, 0x16
lea esp, [esp]
xor edx, edx
mov word [ecx], dx
dec eax
add ecx, 0x18
test eax, eax
jg 0x10070c50
fld qword [0x1038be08]
mov ecx, dword [ebp + 0xc]
fcom qword [ecx + 0x20]
fnstsw ax
test ah, 5
jp 0x10070c7f
fstp qword [ecx + 0x20]
jmp 0x10070c81
fld1
mov eax, dword [ebp + 0xc]
fstp qword [eax + 0x20]
jmp 0x10070c81
fstp st(0)
mov eax, esi
call fcn.1003e6e0
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x44], eax
xor eax, eax
lea edx, [esp + 0x78]
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], eax
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xdc], edx
cmp edi, eax
je 0x10070cea
mov eax, dword [edi]
inc eax
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x64]
lea edx, [esp + 0xd0]
push edx
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
call fcn.10051ce0
mov ebx, dword [esp + 0x30]
lea eax, [esp + 0xd4]
add esp, 4
push eax
call fcn.10051ce0
mov ecx, dword [esp + 0x2c]
xor edi, edi
add esp, 4
cmp ecx, edi
je 0x10070d3e
lea edx, [esp + 0xd0]
push edx
call fcn.10051ca0
add esp, 4
cmp dword [esp + 0x9c], edi
mov eax, dword [esp + 0x90]
mov dword [esp + 0x94], eax
mov dword [esp + 0x30], edi
jle 0x10070da2
lea esp, [esp]
or byte [esp + 0xec], 8
mov ecx, dword [esp + 0x98]
mov edx, dword [edi + ecx]
mov ebx, dword [edx + 0x10]
lea eax, [esp + 0xd0]
push eax
call fcn.10051ce0
mov eax, dword [esp + 0x34]
and byte [esp + 0xf0], 0xf7
inc eax
add esp, 4
add edi, 0x10
cmp eax, dword [esp + 0x9c]
mov dword [esp + 0x30], eax
jl 0x10070d60
mov ecx, dword [esp + 0x38]
cmp byte [ecx + 0x38], 0
jne 0x10071dff
mov edx, dword [esp + 0x14]
xor edi, edi
cmp edx, edi
je 0x10071a60
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x48]
mov dword [esp + 0x7c], eax
push edx
inc eax
push ecx
mov dword [ecx + 0x48], eax
call fcn.1006ac40
mov ebx, dword [esi + 0x1c]
mov edx, dword [esp + 0x8c]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x84]
add esp, 8
cmp dword [esi + 0x20], ebx
mov dword [esp + 0x34], edx
mov dword [esp + 0x24], eax
jg 0x10070e11
mov edi, esi
call fcn.1003e3d0
test eax, eax
je 0x10070e11
mov eax, 1
mov dword [esp + 0x68], eax
jmp 0x10070e43
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea ecx, [ebx + ebx*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x2b
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov dword [esp + 0x68], ebx
mov eax, ebx
mov ebx, dword [esi + 4]
mov edi, dword [esi]
test ebx, ebx
je 0x10070e8e
cmp byte [edi + 0x38], 0
jne 0x10070e8e
test eax, eax
jge 0x10070e5a
mov eax, dword [esi + 0x1c]
dec eax
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*4 + 0x10]
lea ebx, [ebx + eax*4]
movsx eax, byte [ebx + 1]
call fcn.1003e980
mov eax, dword [esp + 0xa4]
xor ecx, ecx
mov dword [ebx + 0x10], ecx
cmp eax, ecx
jne 0x10070e85
mov dword [ebx + 0x10], ecx
mov byte [ebx + 1], cl
jmp 0x10070e9f
mov dword [ebx + 0x10], eax
mov byte [ebx + 1], 0xfa
jmp 0x10070e9f
mov ecx, dword [esp + 0xa4]
mov eax, 0xfffffff0
call fcn.1003e980
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x4c]
inc eax
lea edi, [eax + 1]
mov dword [esp + 0x34], eax
lea eax, [edi + 1]
mov dword [esp + 0x70], eax
mov dword [ebx + 0x4c], eax
mov eax, esi
mov dword [esp + 0x6c], edi
call fcn.1003e6e0
inc dword [ebx + 0x4c]
mov ecx, dword [ebx + 0x4c]
mov dword [esp + 0x54], eax
mov eax, esi
mov dword [esp + 0x60], ecx
call fcn.1003e6e0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x4c]
lea edx, [eax + 1]
mov dword [esp + 0xa0], 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 + 0x5c], edx
mov dword [esp + 0x1c], eax
jg 0x10070f20
mov edi, esi
call fcn.1003e3d0
test eax, eax
jne 0x10070f44
mov edi, dword [esp + 0x6c]
mov eax, dword [esp + 0x1c]
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], 7
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 + 0x1c], eax
jg 0x10070f5f
mov edi, esi
call fcn.1003e3d0
test eax, eax
jne 0x10070f8a
mov eax, dword [esp + 0x1c]
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x34]
xor edi, edi
mov byte [eax], 7
mov byte [eax + 3], 0
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
jmp 0x10070f8c
xor edi, edi
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xa0]
mov ecx, dword [edx]
lea edx, [ecx + eax - 1]
push edx
push eax
push edi
push 0xa
mov eax, esi
call fcn.1003e450
mov eax, dword [esi + 0x1c]
add esp, 0x10
cmp dword [esi + 0x20], eax
mov dword [esp + 0x1c], eax
jg 0x10070fc9
mov edi, esi
call fcn.1003e3d0
test eax, eax
jne 0x10070ff4
mov eax, dword [esp + 0x1c]
xor edi, edi
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [esp + 0x60]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x24]
mov byte [eax], 2
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x50]
push 0
push 0
push 0
push edi
push edx
push eax
push ebx
call fcn.1007c840
add esp, 0x1c
mov dword [esp + 0x74], eax
test eax, eax
je 0x10071dff
movzx ecx, word [eax + 8]
cmp ecx, dword [edi]
jne 0x10071033
mov dword [esp + 0x1c], 0
jmp 0x100713fd
cmp byte [esp + 0xa8], 0
je 0x1007104b
mov edx, dword [ebp + 0xc]
test byte [edx + 6], 1
mov eax, str.DISTINCT
je 0x10071050
mov eax, str.GROUP_BY
mov ecx, ebx
call fcn.1006ad20
mov eax, dword [edi]
mov edx, dword [esp + 0x90]
mov dword [esp + 0x18], eax
inc eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x58], eax
mov ecx, eax
test edx, edx
jle 0x10071097
mov edi, dword [esp + 0x8c]
add edi, 0xc
cmp dword [edi], ecx
jl 0x1007108b
inc eax
inc ecx
add edi, 0x18
sub edx, 1
jne 0x10071085
mov dword [esp + 0x58], eax
mov ecx, dword [ebx + 0x3c]
cmp eax, ecx
mov edi, dword [ebx + 0x40]
mov dword [esp + 0x20], edi
jg 0x100710b2
lea edx, [edi + eax]
sub ecx, eax
mov dword [ebx + 0x40], edx
mov dword [ebx + 0x3c], ecx
jmp 0x100710c1
mov ecx, dword [ebx + 0x4c]
lea edi, [ecx + 1]
add ecx, eax
mov dword [esp + 0x20], edi
mov dword [ebx + 0x4c], ecx
mov edx, ebx
call fcn.1004f930
mov eax, dword [esp + 0x14]
push 0
push edi
push ebx
call fcn.10050f60
mov eax, dword [esp + 0x88]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x1c]
add esp, 0xc
cmp dword [esi + 0x20], eax
mov dword [esp + 0x48], eax
jg 0x100710fe
mov edi, esi
call fcn.1003e3d0
test eax, eax
jne 0x10071130
mov eax, dword [esp + 0x48]
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x20]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x18]
add edx, ecx
xor ecx, ecx
mov byte [eax], 0x37
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 ecx, dword [esp + 0x30]
xor eax, eax
cmp dword [esp + 0x90], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x30], eax
jle 0x10071208
mov edx, dword [esp + 0x20]
lea edi, [edx + ecx]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x48], edi
jmp 0x10071167
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x18]
cmp dword [edx + eax + 0xc], ecx
jl 0x100711ed
push 0
mov ecx, edx
mov edx, dword [ecx + eax + 4]
push edi
push edx
mov edx, dword [ecx + eax + 8]
mov eax, dword [ecx + eax]
push edx
push eax
mov eax, ebx
call fcn.1004f880
add esp, 0x14
mov dword [esp + 0x10], eax
cmp edi, eax
je 0x100711dd
mov ecx, dword [esi + 0x1c]
cmp dword [esi + 0x20], ecx
mov dword [esp + 0x40], ecx
jg 0x100711b9
mov edi, esi
call fcn.1003e3d0
mov edi, dword [esp + 0x48]
test eax, eax
jne 0x100711dd
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*4]
mov dword [ecx + 4], eax
xor eax, eax
mov byte [ecx], 0xf
mov byte [ecx + 3], 0
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], al
inc dword [esp + 0x3c]
mov eax, dword [esp + 0x8c]
inc edi
mov dword [esp + 0x48], edi
mov ecx, dword [esp + 0x30]
add dword [esp + 0x18], 0x18
inc ecx
cmp ecx, dword [esp + 0x90]
mov dword [esp + 0x30], ecx
jl 0x10071163
mov al, byte [ebx + 0x13]
test al, al
jne 0x10071217
inc dword [ebx + 0x4c]
mov ecx, dword [ebx + 0x4c]
jmp 0x10071223
dec al
mov byte [ebx + 0x13], al
movzx eax, al
mov ecx, dword [ebx + eax*4 + 0x1c]
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
jg 0x10071246
mov edi, esi
call fcn.1003e3d0
mov ecx, dword [esp + 0x18]
test eax, eax
jne 0x10071275
mov eax, dword [esp + 0x10]
inc dword [esi + 0x1c]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x20]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x58]
mov byte [eax], 0x1f
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov dword [esp + 0x10], eax
jg 0x1007129c
mov edi, esi
call fcn.1003e3d0
mov ecx, dword [esp + 0x18]
test eax, eax
jne 0x100712c4
mov eax, dword [esp + 0x10]
inc dword [esi + 0x1c]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x40]
mov dword [eax + 4], edx
xor edx, edx
mov byte [eax], 0x60
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
mov edi, dword [esp + 0x58]
test ecx, ecx
je 0x100712f8
mov dl, byte [ebx + 0x13]
cmp dl, 8
jae 0x100712f8
xor eax, eax
lea esi, [ebx + 0x64]
lea esp, [esp]
cmp dword [esi + 0x10], ecx
je 0x10071348
inc eax
add esi, 0x18
cmp eax, 0xa
jl 0x100712e0
movzx eax, dl
mov dword [ebx + eax*4 + 0x1c], ecx
inc byte [ebx + 0x13]
mov ecx, dword [esp + 0x20]
push ecx
mov eax, edi
mov esi, ebx
call fcn.1004f740
add esp, 4
cmp edi, dword [esi + 0x3c]
jle 0x10071318
mov edx, dword [esp + 0x20]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edx
mov eax, dword [esp + 0x74]
push eax
call fcn.1007d380
mov ecx, dword [esi + 0x48]
mov al, byte [esi + 0x13]
add esp, 4
lea edx, [ecx + 1]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x80], ecx
mov dword [esi + 0x48], edx
test al, al
jne 0x1007134e
inc dword [esi + 0x4c]
mov eax, dword [esi + 0x4c]
jmp 0x1007135a
mov byte [esi + 8], 1
jmp 0x100712f8
dec al
movzx edx, al
mov byte [esi + 0x13], al
mov eax, dword [esi + edx*4 + 0x1c]
mov edi, dword [esp + 0x4c]
mov ebx, dword [edi + 0x1c]
cmp dword [edi + 0x20], ebx
mov dword [esp + 0x18], eax
jg 0x10071377
call fcn.1003e3d0
test eax, eax
jne 0x100713a6
mov ecx, dword [esp + 0x48]
mov eax, dword [edi + 4]
inc dword [edi + 0x1c]
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x58]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x18]
mov byte [eax], 0x2c
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 ebx, dword [edi + 0x1c]
cmp dword [edi + 0x20], ebx
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x10], eax
jg 0x100713bf
call fcn.1003e3d0
test eax, eax
jne 0x100713eb
mov edx, dword [edi + 4]
inc dword [edi + 0x1c]
lea ecx, [ebx + ebx*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x44]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x46
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 + 0x79], 1
call fcn.1004f930
mov esi, dword [esp + 0x4c]
mov ebx, edx
mov eax, dword [esi + 0x1c]
mov edx, ebx
mov dword [esp + 0x3c], eax
call fcn.1004f930
cmp dword [esp + 0x1c], 0
je 0x10071459
mov ebx, dword [esi + 0x1c]
cmp dword [esi + 0x20], ebx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x10], ecx
jg 0x1007142d
mov edi, esi
call fcn.1003e3d0
test eax, eax
jne 0x10071459
mov eax, dword [esi + 4]
inc dword [esi + 0x1c]
mov ecx, dword [esp + 0x10]
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x18]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x3e
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esp + 0x14]
xor ebx, ebx
cmp dword [eax], ebx
jle 0x10071505
cmp dword [esp + 0x1c], 0
je 0x100714d3
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov dword [esp + 0x10], eax
jg 0x10071489
mov edi, esi
call fcn.1003e3d0
test eax, eax
jne 0x100714bb
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 + 0x48]
mov edx, dword [esp + 0x5c]
mov dword [eax + 4], ecx
lea ecx, [ebx + edx]
mov byte [eax], 0x1d
mov byte [eax + 3], 0
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
test ebx, ebx
jne 0x100714f8
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x100714f8
mov eax, dword [esi + 0x1c]
lea edx, [eax + eax*4]
mov byte [ecx + edx*4 - 0x11], 0x20
jmp 0x100714f8
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x14]
mov byte [esp + 0x78], 1
lea esi, [ebx + eax]
mov eax, dword [edx + 8]
lea ecx, [ebx + ebx*2]
mov eax, dword [eax + ecx*8]
mov ecx, dword [ebp + 8]
call fcn.10050c40
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x14]
inc ebx
cmp ebx, dword [ecx]
jl 0x10071467
mov edx, dword [esp + 0x14]
mov ebx, dword [esi + 0x1c]
cmp dword [esi + 0x20], ebx
mov eax, dword [edx]
mov dword [esp + 0x10], eax
jg 0x10071529
mov edi, esi
call fcn.1003e3d0
test eax, eax
je 0x10071529
mov ebx, 1
jmp 0x1007155f
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea ecx, [ebx + ebx*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x5c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov byte [eax], 0x18
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov edx, dword [esp + 0xa4]
push edx
push esi
mov ecx, 0xfffffffa
mov eax, ebx
call fcn.1003eb10
mov ebx, dword [esi + 0x1c]
add esp, 8
cmp dword [esi + 0x20], ebx
mov dword [esp + 0x40], ebx
jg 0x1007158e
mov edi, esi
call fcn.1003e3d0
test eax, eax
jne 0x100715b5
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
xor edx, edx
lea ecx, [ebx + 1]
mov byte [eax], 0x19
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 edx, dword [esp + 0x14]
mov eax, dword [edx]
mov ebx, dword [esp + 0xa0]
mov esi, dword [esp + 0x5c]
mov edi, dword [ebp + 8]
push eax
call fcn.1004f980
mov esi, dword [esp + 0x50]
mov ebx, dword [esi + 0x1c]
add esp, 4
cmp dword [esi + 0x20], ebx
jg 0x100715e9
mov edi, esi
call fcn.1003e3d0
test eax, eax
jne 0x10071616
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea ecx, [ebx + ebx*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x54]
xor ebx, ebx
mov byte [eax], 2
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 0x10071618
xor ebx, ebx
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov dword [esp + 0x10], eax
jg 0x10071633
mov edi, esi
call fcn.1003e3d0
test eax, eax
jne 0x1007165c
mov eax, dword [esp + 0x10]
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 ecx, dword [esp + 0x44]
mov byte [eax], 0x78
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 0x10071677
mov edi, esi
call fcn.1003e3d0
test eax, eax
jne 0x100716a0
mov eax, dword [esp + 0x10]
inc dword [esi + 0x1c]
mov ecx, dword [esp + 0x60]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x24]
mov byte [eax], 2
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 + 0x40]
cmp eax, ebx
jl 0x100716b9
mov ecx, dword [esi + 0x1c]
cmp ecx, eax
jbe 0x100716b9
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 + 0x78]
push eax
push ecx
call fcn.1006fda0
mov eax, dword [esi + 0x1c]
add esp, 8
cmp dword [esi + 0x20], eax
mov dword [esp + 0x10], eax
jg 0x100716e5
mov edi, esi
call fcn.1003e3d0
test eax, eax
jne 0x1007170f
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 + 0x34]
mov byte [eax], 7
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 + 0x1c], ebx
je 0x10071763
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x40], edx
mov dword [esp + 0x10], eax
jg 0x10071738
mov edi, esi
call fcn.1003e3d0
test eax, eax
jne 0x100717a8
mov eax, dword [esp + 0x10]
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 ecx, dword [esp + 0x3c]
mov byte [eax], 0x51
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 0x100717a8
mov edx, dword [esp + 0x74]
push edx
call fcn.1007d380
mov eax, dword [esi + 4]
add esp, 4
cmp eax, ebx
je 0x100717a8
mov ecx, dword [esp + 0x68]
mov edi, dword [esi]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
movsx eax, byte [ecx + 1]
mov dword [esp + 0x10], ecx
mov ecx, dword [ecx + 0x10]
call fcn.1003e980
mov eax, dword [esp + 0x10]
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 + 0x10], eax
jg 0x100717c3
mov edi, esi
call fcn.1003e3d0
test eax, eax
jne 0x100717ec
mov eax, dword [esp + 0x10]
inc dword [esi + 0x1c]
mov ecx, dword [esp + 0x70]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x54]
mov byte [eax], 2
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 + 0x10], eax
jg 0x10071807
mov edi, esi
call fcn.1003e3d0
test eax, eax
jne 0x1007182c
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [esp + 0x44]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax], 1
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 + 0x20], eax
mov dword [esp + 0x40], eax
jg 0x1007184b
mov edi, esi
call fcn.1003e3d0
test eax, eax
jne 0x10071875
mov eax, dword [esp + 0x20]
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 + 0x6c]
mov byte [eax], 7
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 + 0x10], eax
jg 0x10071890
mov edi, esi
call fcn.1003e3d0
test eax, eax
jne 0x100718b5
mov eax, dword [esp + 0x10]
inc dword [esi + 0x1c]
mov ecx, dword [esp + 0x70]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov byte [eax], 3
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 [esi + 0x28]
cmp eax, ebx
je 0x100718ce
mov edx, dword [esp + 0x54]
lea ecx, [edx*4 + 4]
mov edx, dword [esi + 0x1c]
sub eax, ecx
mov dword [eax], edx
mov edi, dword [esi + 0x1c]
cmp dword [esi + 0x20], edi
mov dword [esp + 0x20], edi
jg 0x100718e9
mov edi, esi
call fcn.1003e3d0
mov edi, dword [esp + 0x20]
test eax, eax
jne 0x10071911
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [esp + 0x34]
lea eax, [edi + edi*4]
lea eax, [ecx + eax*4]
lea ecx, [edi + 2]
mov byte [eax], 0x78
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 0x10071930
mov edi, esi
call fcn.1003e3d0
mov edi, dword [esp + 0x20]
test eax, eax
jne 0x10071955
mov eax, dword [esp + 0x10]
inc dword [esi + 0x1c]
mov ecx, dword [esp + 0x70]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov byte [eax], 3
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 + 0x78]
push edx
call fcn.1006fc80
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebp + 8]
add esp, 4
push 8
inc edi
push edi
push eax
push ecx
call fcn.10051450
mov edx, dword [esp + 0x50]
mov eax, dword [ebp + 0x10]
push edx
mov edx, dword [esp + 0x40]
push edi
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0xc4]
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.1006a3e0
mov eax, dword [esi + 0x1c]
add esp, 0x38
cmp dword [esi + 0x20], eax
mov dword [esp + 0x10], eax
jg 0x100719be
mov edi, esi
call fcn.1003e3d0
test eax, eax
jne 0x100719e3
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [esp + 0x70]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax], 3
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
mov eax, dword [esi + 0x28]
cmp eax, ebx
je 0x100719fc
mov ecx, dword [esp + 0x24]
lea edx, [ecx*4 + 4]
mov ecx, dword [esi + 0x1c]
sub eax, edx
mov dword [eax], ecx
mov eax, dword [ebp + 8]
lea edx, [esp + 0x78]
push edx
push eax
call fcn.1006fa80
mov eax, dword [esi + 0x1c]
add esp, 8
cmp dword [esi + 0x20], eax
mov dword [esp + 0x10], eax
jg 0x10071a2e
mov edi, esi
call fcn.1003e3d0
mov esi, dword [esp + 0x4c]
test eax, eax
jne 0x10071d7d
xor ebx, ebx
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x4c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x60]
mov byte [eax], 3
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 0x10071d7d
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x78]
mov dword [esp + 0x34], edi
call fcn.1006ee10
mov ebx, eax
mov dword [esp + 0x10], ebx
cmp ebx, edi
je 0x10071c02
mov edi, dword [ebp + 8]
mov esi, dword [ebx + 0x40]
mov ecx, dword [edi]
call fcn.10069140
mov ecx, dword [edi + 0x48]
mov dword [esp + 0x24], ecx
inc ecx
mov dword [edi + 0x48], ecx
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x54], eax
xor esi, esi
push eax
mov eax, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], edx
call fcn.10059ee0
mov eax, dword [ebx]
mov ecx, dword [ebx + 0x20]
mov edx, dword [esp + 0x58]
add esp, 4
push eax
push esi
push ecx
push edx
mov eax, edi
call fcn.10055080
mov eax, dword [ebx + 8]
add esp, 0x10
test eax, eax
je 0x10071b1a
test byte [eax + 0x2c], 4
jne 0x10071aea
test esi, esi
je 0x10071ae8
mov cx, word [eax + 0x28]
cmp cx, word [esi + 0x28]
jae 0x10071aea
mov esi, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x10071ad4
mov dword [esp + 0x68], esi
test esi, esi
je 0x10071b1a
movzx edx, word [esi + 0x28]
movsx eax, word [ebx + 0x26]
cmp edx, eax
jge 0x10071b1a
mov ecx, dword [esi + 0x24]
push esi
push edi
mov dword [esp + 0x74], ecx
call fcn.1005a410
add esp, 8
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x4c]
push edx
push eax
push ecx
push 0x27
mov eax, esi
call fcn.1003e450
add esp, 0x10
cmp dword [esp + 0x1c], 0
je 0x10071b85
mov ecx, dword [esi + 4]
mov edi, dword [esi]
test ecx, ecx
je 0x10071b77
cmp byte [edi + 0x38], 0
jne 0x10071b77
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.1003e980
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x10], eax
mov byte [ebx + 1], 0xfa
mov ebx, dword [esp + 0x10]
jmp 0x10071b85
mov ecx, dword [esp + 0x1c]
mov eax, 0xfffffff0
call fcn.1003e980
mov ecx, dword [esp + 0x98]
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x40], edx
mov dword [esp + 0x10], eax
jg 0x10071baa
mov edi, esi
call fcn.1003e3d0
test eax, eax
jne 0x10071bda
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x20
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov edx, dword [esp + 0x24]
push edx
push 0x2d
mov eax, esi
call fcn.1003e500
mov ecx, dword [esp + 0x70]
mov edx, dword [ebp + 8]
add esp, 8
mov eax, ebx
call fcn.100701c0
mov esi, dword [esp + 0x4c]
jmp 0x10071d33
mov eax, dword [ebp + 0xc]
xor bl, bl
cmp dword [eax + 0x34], 0
mov dword [esp + 0x24], edi
jne 0x10071c66
lea edi, [esp + 0x24]
lea eax, [esp + 0x78]
call fcn.1006ed90
mov bl, al
test bl, bl
je 0x10071c62
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
push 0
push ecx
push edx
call fcn.1004d7e0
mov edi, eax
add esp, 0xc
mov dword [esp + 0x34], edi
test edi, edi
je 0x10071c66
mov eax, dword [esp + 0x38]
cmp byte [eax + 0x38], 0
jne 0x10071c66
mov edx, dword [edi + 8]
cmp bl, 1
setne cl
mov byte [edx + 0xc], cl
mov eax, dword [edi + 8]
mov ecx, dword [eax]
mov byte [ecx], 0x98
jmp 0x10071c66
mov edi, dword [esp + 0x24]
mov eax, dword [ebp + 8]
lea edx, [esp + 0x78]
push edx
push eax
call fcn.1006fa80
mov eax, dword [esp + 0x44]
movzx cx, bl
push 0
movzx edx, cx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [ebp + 8]
push 0
push edi
push eax
push ecx
push edx
call fcn.1007c840
mov edi, eax
add esp, 0x24
mov dword [esp + 0x74], edi
test edi, edi
jne 0x10071cb8
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
push eax
push ecx
call fcn.1004df60
add esp, 8
jmp 0x10071dff
mov eax, dword [ebp + 8]
lea edx, [esp + 0x78]
push edx
push eax
call fcn.1006fda0
add esp, 8
cmp word [edi + 8], 0
jbe 0x10071d16
mov ecx, dword [esp + 0x74]
mov ebx, dword [esi + 0x1c]
cmp dword [esi + 0x20], ebx
mov edx, dword [ecx + 0x18]
mov dword [esp + 0x10], edx
jg 0x10071cee
mov edi, esi
call fcn.1003e3d0
test eax, eax
jne 0x10071d16
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [esp + 0x10]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov byte [eax], 1
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 + 0x74]
push eax
call fcn.1007d380
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x7c]
add esp, 4
push ecx
call fcn.1006fc80
add esp, 4
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x28]
mov ebx, dword [ebp + 8]
push 8
push edi
push edx
push ebx
mov dword [esp + 0x3c], 0
call fcn.10051450
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.1006a3e0
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
push edx
push eax
call fcn.1004df60
add esp, 0x40
mov eax, dword [esi + 0x28]
test eax, eax
je 0x10071d96
mov ecx, dword [esp + 0x44]
lea edx, [ecx*4 + 4]
mov ecx, dword [esi + 0x1c]
sub eax, edx
mov dword [eax], ecx
cmp byte [esp + 0xa9], 3
mov edi, dword [ebp + 8]
jne 0x10071daf
mov eax, str.DISTINCT
mov ecx, edi
call fcn.1006ad20
cmp dword [esp + 0x2c], 0
je 0x10071ddb
mov eax, str.ORDER_BY
mov ecx, edi
call fcn.1006ad20
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
push edx
mov edx, dword [ebp + 0xc]
push ecx
push esi
push edx
push edi
call fcn.1006af30
add esp, 0x14
mov eax, dword [esi + 0x28]
test eax, eax
je 0x10071df7
mov ecx, dword [esp + 0xc8]
lea edx, [ecx*4 + 4]
mov ecx, dword [esi + 0x1c]
sub eax, edx
mov dword [eax], ecx
mov dword [esp + 0x58], 0
mov ebx, dword [ebp + 8]
mov edi, dword [esp + 0x58]
mov edx, dword [esp + 0xc4]
mov dword [ebx + 0x1e4], edx
test edi, edi
jne 0x10071e32
mov eax, dword [ebp + 0x10]
cmp byte [eax], 5
jne 0x10071e32
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x50]
push ecx
push edx
push ebx
call fcn.1006b8e0
add esp, 0xc
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x8c]
mov ecx, esi
call fcn.10023eb0
mov eax, dword [esp + 0x98]
mov ecx, esi
call fcn.10023eb0
mov eax, edi
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