Function at 0x540510
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 [0x694240]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 0x6c], eax
push edi
mov edi, edx
mov dword [esp + 0x24], 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 + 0x60], 1
mov dword [esp + 0x28], eax
test edi, edi
je 0x54209d
cmp byte [eax + 0x38], 0
jne 0x54209d
cmp dword [esi + 0x44], 0
jne 0x54209d
push 0
push 0
push 0
mov edx, 0x15
call fcn.005248c0
add esp, 0xc
test eax, eax
jne 0x54209d
mov eax, dword [esp + 0x70]
xorps xmm0, xmm0
movdqa xmmword [esp + 0xa0], xmm0
movdqa xmmword [esp + 0xb0], xmm0
movq qword [esp + 0xc0], xmm0
cmp byte [eax], 4
ja 0x5405e7
mov edx, dword [edi + 0x38]
mov ecx, dword [esp + 0x28]
call fcn.0051d360
mov eax, 0xfffe
mov dword [edi + 0x38], 0
and word [edi + 6], ax
push 0
mov edx, edi
mov ecx, esi
call fcn.0053fc60
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 + 0x14], eax
mov dword [esp + 0x3c], edx
jne 0x542037
mov ecx, dword [esp + 0x28]
cmp byte [ecx + 0x38], 0
jne 0x54203d
movzx eax, word [edi + 6]
mov ecx, esi
shr eax, 2
and eax, 1
mov dword [esp + 0x20], eax
call fcn.0053bb60
mov edi, eax
mov dword [esp + 0x7c], edi
test edi, edi
je 0x540668
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x70]
cmp dword [ecx], 1
movzx eax, byte [eax]
jle 0x540679
cmp eax, 6
je 0x54065a
cmp eax, 7
jne 0x540679
push str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
push esi
call fcn.004f1760
add esp, 8
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
jmp 0x54203f
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x48], 0
cmp dword [ecx + 0x3c], 0
jne 0x540a52
mov edx, dword [esp + 0x14]
movsx eax, word [edx]
cmp dword [esp + 0x48], eax
jge 0x540a52
mov eax, dword [esp + 0x48]
lea eax, [eax + eax*8]
mov esi, dword [edx + eax*8 + 0x1c]
test esi, esi
mov dword [esp + 0x58], esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x18], eax
je 0x540a44
cmp dword [edx + eax*8 + 0x20], 0
je 0x5406f5
test byte [edx + eax*8 + 0x2c], 4
jne 0x540a44
push dword [edx + eax*8 + 0x20]
mov ecx, edi
push dword [edx + eax*8 + 0x24]
mov edx, 2
call fcn.0050b490
mov ecx, dword [esp + 0x24]
add esp, 8
mov edx, dword [esp + 0x14]
jmp 0x540a44
call fcn.0051c0b0
add dword [esi + 0x1e0], eax
mov ecx, esi
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x1c]
movzx eax, word [eax + 6]
shr eax, 2
and eax, 1
push eax
push dword [esp + 0x24]
mov dword [esp + 0x48], eax
push dword [esp + 0x50]
call fcn.0053ea60
add esp, 0xc
test eax, eax
je 0x540752
cmp dword [esp + 0x40], 0
je 0x540745
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], 1
or word [eax + 6], 4
mov dword [esp + 0x48], 0xffffffff
jmp 0x540a0c
mov ecx, dword [esp + 0x14]
cmp word [ecx], 1
jne 0x540902
mov eax, dword [esp + 0x1c]
mov edx, 0x100
test word [eax + 6], dx
jne 0x540902
mov eax, dword [esp + 0x28]
test word [eax + 0x34], dx
jne 0x540902
inc dword [esi + 0x4c]
mov edx, dword [esp + 0x18]
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 + 0x54], eax
call fcn.005295f0
mov edx, 1
mov ecx, edi
call fcn.0050b3d0
mov eax, dword [esp + 0x18]
mov edx, 0x2c
mov ecx, dword [esp + 0x14]
push dword [ecx + eax*8 + 0x34]
mov ecx, edi
call fcn.0050b430
mov ecx, dword [edi + 4]
add esp, 4
mov edx, eax
mov dword [esp + 0x50], edx
test ecx, ecx
je 0x5407e2
mov eax, dword [edi + 0x1c]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 1
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push dword [esp + 0x54]
push 0
mov dword [ecx + eax*8 + 0x20], edx
mov edx, 7
mov ecx, edi
call fcn.0050b490
mov ecx, dword [edi + 4]
add esp, 8
test ecx, ecx
je 0x540815
mov eax, dword [edi + 0x1c]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 1
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
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 + 0x58]
mov ecx, esi
push eax
call fcn.00540510
mov eax, dword [esp + 0x5c]
add esp, 4
movsd xmm0, qword [eax + 0x20]
call fcn.005948b1
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + edx*8 + 0x18]
mov dword [ecx + 0x1c], eax
mov eax, esi
mov esi, dword [esp + 0x24]
or dword [eax + edx*8 + 0x2c], 4
mov eax, dword [esp + 0x50]
cmp dword [edi + 0x1c], eax
jbe 0x5408c4
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 + 0x50]
cmp dword [edi + 0x1c], eax
jbe 0x5408c4
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 + 0x54]
mov edx, 7
mov ecx, edi
push 1
call fcn.0050b490
mov eax, dword [esp + 0x20]
mov edx, 4
mov ecx, dword [esp + 0x1c]
push dword [ecx + eax*8 + 0x24]
mov ecx, edi
call fcn.0050b430
mov edx, dword [esp + 0x5c]
add esp, 0xc
dec edx
mov ecx, edi
call fcn.0050b8d0
jmp 0x540a01
mov edx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x54], 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.0050b490
mov ecx, dword [esp + 0x20]
add esp, 8
mov edx, dword [esp + 0x14]
mov dword [esp + 0x40], eax
inc eax
test byte [edx + ecx*8 + 0x2c], 2
mov dword [edx + ecx*8 + 0x20], eax
jne 0x540954
mov ecx, esi
call fcn.0051d790
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x54], 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 + 0x58]
mov ecx, esi
push eax
call fcn.00540510
mov eax, dword [esp + 0x5c]
add esp, 4
movsd xmm0, qword [eax + 0x20]
call fcn.005948b1
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + edx*8 + 0x18]
mov esi, dword [esp + 0x24]
mov dword [ecx + 0x1c], eax
mov eax, dword [esp + 0x54]
test eax, eax
je 0x5409d1
mov edx, eax
mov ecx, edi
call fcn.0050b8d0
mov eax, dword [esp + 0x18]
mov edx, 3
mov ecx, dword [esp + 0x14]
push dword [ecx + eax*8 + 0x24]
mov ecx, edi
call fcn.0050b430
mov edx, eax
add esp, 4
mov eax, dword [esp + 0x40]
cmp dword [edi + 0x1c], eax
jbe 0x540a01
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 + 0x28]
cmp byte [eax + 0x38], 0
jne 0x540668
mov ecx, dword [esp + 0x1c]
call fcn.0051c0b0
sub dword [esi + 0x1e0], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x70]
mov edx, dword [ecx + 0x28]
cmp byte [eax], 4
mov dword [esp + 0x14], edx
jbe 0x540a44
mov eax, dword [ecx + 0x38]
mov dword [esp + 0x38], eax
inc dword [esp + 0x48]
cmp dword [ecx + 0x3c], 0
je 0x540693
mov edx, dword [ecx + 0x34]
mov eax, dword [ecx]
mov dword [esp + 0x54], edx
mov dl, byte [ecx + 6]
mov dword [esp + 0x3c], eax
and dl, 1
cmp dword [ecx + 0x3c], 0
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + 0x30]
mov dword [esp + 0x18], eax
mov byte [esp + 0x13], dl
mov byte [esp + 0x90], dl
je 0x540afb
cmp dword [ecx + 0x44], 0
jne 0x540aca
xor edi, edi
mov eax, ecx
xor edx, edx
mov dword [eax + 0x40], edi
inc edx
mov dword [eax + 0x44], ecx
mov edi, eax
mov eax, dword [eax + 0x3c]
test eax, eax
jne 0x540a90
mov edi, dword [esp + 0x28]
mov eax, dword [edi + 0x60]
test eax, eax
je 0x540aca
cmp edx, eax
jle 0x540aca
push str.too_many_terms_in_compound_SELECT
push esi
call fcn.004f1760
mov eax, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x3c]
jmp 0x54203f
push dword [esp + 0x70]
mov edx, ecx
mov ecx, esi
call fcn.0053bdd0
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.005712ac
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x38]
mov ecx, eax
call fcn.005209c0
test eax, eax
jne 0x540b22
mov eax, dword [esp + 0x28]
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 0x540c59
mov edx, dword [ecx]
mov ecx, dword [esp + 0x38]
call fcn.005209c0
test eax, eax
jne 0x540c59
mov eax, dword [esp + 0x1c]
mov ecx, 0xfffe
push 0
and word [eax + 6], cx
mov edx, dword [eax]
mov ecx, dword [esp + 0x2c]
call fcn.0051cb60
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
mov dword [eax + 0x30], ecx
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [esp + 0x70]
cmp byte [eax], 9
jne 0x540b9f
mov ecx, dword [esp + 0x3c]
mov edx, 0x2a
push dword [ecx]
mov ecx, edi
push dword [eax + 4]
call fcn.0050b490
add esp, 8
mov ecx, edi
call fcn.0050b690
movsd xmm0, qword [0x66b6a8]
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.0053bbd0
mov edx, dword [esp + 0x20]
add esp, 4
cmp dword [edx + 8], 0
jne 0x540bf4
mov eax, dword [esp + 0x50]
test eax, eax
js 0x540bf4
mov edx, eax
mov ecx, edi
call fcn.0050bbb0
mov edx, dword [esp + 0x1c]
mov byte [eax], 0x2b
or word [edx + 6], 0x40
test byte [edx + 6], 1
je 0x540cac
mov esi, dword [esi + 0x48]
mov ecx, dword [esp + 0x24]
push 0xfffffffffffffff0
push ecx
lea eax, [esi + 1]
mov dword [esp + 0x9c], esi
mov dword [ecx + 0x48], eax
mov edx, dword [edx]
call fcn.0053a8b0
add esp, 4
mov edx, 0x2a
mov ecx, edi
push eax
push 0
push 0
push esi
call fcn.0050b500
mov ecx, dword [edi + 4]
add esp, 0x14
mov dword [esp + 0x98], eax
test ecx, ecx
je 0x540c4d
mov eax, dword [edi + 0x1c]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 8
mov esi, dword [esp + 0x24]
mov al, 3
mov edx, dword [esp + 0x1c]
jmp 0x540cae
mov eax, dword [esp + 0x38]
test eax, eax
je 0x540b76
mov edx, eax
mov ecx, esi
call fcn.0053a8b0
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.0050b500
mov ecx, eax
add esp, 0x14
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x50], ecx
mov dword [eax + 0x18], ecx
jmp 0x540b7e
xor al, al
cmp dword [esp + 0x20], 0
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x91], al
mov dword [esp + 0x58], eax
jne 0x540dbb
test ecx, ecx
jne 0x540dbb
cmp byte [esp + 0x13], cl
je 0x540cda
mov eax, dword [edx]
jmp 0x540cdc
xor eax, eax
mov edx, dword [esp + 0x14]
mov ecx, esi
push 0
push 0
push eax
push dword [esp + 0x44]
push dword [esp + 0x7c]
call fcn.0054dc30
mov edx, eax
add esp, 0x14
mov dword [esp + 0x54], edx
test edx, edx
je 0x540668
mov eax, dword [esp + 0x1c]
movsd xmm1, qword [edx + 0x30]
movsd xmm0, qword [eax + 0x20]
comisd xmm0, xmm1
jbe 0x540d1e
movsd qword [eax + 0x20], xmm1
mov eax, dword [esp + 0x58]
mov cl, byte [edx + 0xe]
movzx eax, al
test cl, cl
mov dword [esp + 0x58], eax
movzx eax, cl
mov ecx, dword [esp + 0x58]
cmovne ecx, eax
mov dword [esp + 0x58], ecx
mov byte [esp + 0x91], cl
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x540d5a
movzx eax, word [edx + 8]
xor edx, edx
cmp eax, dword [ecx]
cmove ecx, edx
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x50]
test eax, eax
js 0x540d80
test ecx, ecx
jne 0x540d80
mov edx, eax
mov ecx, edi
call fcn.0050ba00
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
mov dword [edx + 0x18], 0xffffffff
jmp 0x540d84
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x54]
push dword [eax + 0x18]
push dword [eax + 0x14]
lea eax, [esp + 0x98]
push dword [esp + 0x78]
push eax
push ecx
push 0
push 0
push dword [esp + 0x58]
mov ecx, esi
call fcn.0053a1f0
mov ecx, dword [esp + 0x74]
add esp, 0x20
call fcn.0054e8c0
jmp 0x541fc5
mov dword [esp + 0x30], 0
mov dword [esp + 0x20], 0
test ecx, ecx
je 0x540e2e
mov eax, dword [edx]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
test eax, eax
jle 0x540df2
add ecx, 0x16
lea ecx, [ecx]
xor edi, edi
lea ecx, [ecx + 0x18]
dec eax
mov word [ecx - 0x18], di
test eax, eax
jg 0x540de0
mov edi, dword [esp + 0x7c]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
test eax, eax
jle 0x540e14
add ecx, 0x16
xor esi, esi
lea ecx, [ecx + 0x18]
dec eax
mov word [ecx - 0x18], si
test eax, eax
jg 0x540e02
mov esi, dword [esp + 0x24]
movsd xmm0, qword [edx + 0x20]
movsd xmm1, qword [0x66b640]
comisd xmm0, xmm1
jbe 0x540e3b
movsd qword [edx + 0x20], xmm1
jmp 0x540e3b
movsd xmm0, qword [0x66b5f0]
movsd qword [edx + 0x20], xmm0
mov ecx, edi
call fcn.0050b690
mov ecx, dword [esp + 0x18]
xorps xmm0, xmm0
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x14]
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 0x540e92
mov eax, dword [ecx]
inc eax
mov dword [esp + 0xac], eax
jmp 0x540e9d
mov dword [esp + 0xac], 0
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xb0], ecx
lea ecx, [esp + 0xd0]
call fcn.00520e70
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0xd0]
call fcn.00520e70
mov eax, dword [esp + 0x54]
test eax, eax
je 0x540eda
mov edx, eax
lea ecx, [esp + 0xd0]
call fcn.00520e20
cmp dword [esp + 0xc4], 0
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xbc], eax
jle 0x540f47
mov al, byte [esp + 0xec]
xor esi, esi
xor edi, edi
lea ecx, [ecx]
or al, 8
lea ecx, [esp + 0xd0]
mov byte [esp + 0xec], al
mov eax, dword [esp + 0xc0]
mov edx, dword [esi + eax]
mov edx, dword [edx + 0x10]
call fcn.00520e70
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 0x540f00
mov edi, dword [esp + 0x7c]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x38], 0
jne 0x540668
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x541c36
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.0053a8b0
push 0xfffffffffffffff0
push eax
push 0
push dword [esp + 0xb8]
mov edx, 0x2b
mov dword [esp + 0x54], eax
push dword [esp + 0xb4]
mov ecx, edi
call fcn.0050b500
inc dword [esi + 0x4c]
add esp, 0x14
mov dword [esp + 0x2c], eax
mov ecx, edi
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x68], eax
add eax, 2
mov dword [esi + 0x4c], eax
call fcn.0050b690
inc dword [esi + 0x4c]
mov ecx, edi
mov dword [esp + 0x80], eax
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x64], eax
call fcn.0050b690
mov ecx, dword [esi + 0x4c]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x5c], 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 + 0x50], eax
mov eax, dword [edx]
mov edx, 7
add eax, ecx
mov ecx, edi
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0x68]
inc eax
push eax
push 0
call fcn.0050b490
push dword [esp + 0x70]
mov edx, 7
mov ecx, edi
push 0
call fcn.0050b490
mov ecx, dword [esp + 0x28]
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.0050b370
add esp, 0x1c
mov edx, 2
mov ecx, edi
push dword [esp + 0x5c]
push dword [esp + 0x68]
call fcn.0050b490
mov edx, dword [esp + 0x1c]
mov ecx, esi
push 0
push 0
push 0
push dword [esp + 0x2c]
push dword [esp + 0x84]
call fcn.0054dc30
add esp, 0x1c
mov dword [esp + 0x40], eax
test eax, eax
je 0x540668
mov ecx, dword [esp + 0x18]
movzx eax, word [eax + 8]
cmp eax, dword [ecx]
jne 0x541098
xor ecx, ecx
mov dword [esp + 0x6c], ecx
jmp 0x5414ae
cmp byte [esp + 0x13], 0
je 0x5410ae
mov eax, dword [esp + 0x1c]
mov edx, str.DISTINCT
test byte [eax + 6], 1
je 0x5410b3
mov edx, str.GROUP_BY
mov ecx, esi
call fcn.0053a990
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0xb8]
mov dword [esp + 0x6c], 1
mov eax, dword [eax]
mov dword [esp + 0x30], eax
inc eax
mov dword [esp + 0x20], eax
mov ecx, eax
mov dword [esp + 0x48], eax
test edx, edx
jle 0x5410ff
mov eax, dword [esp + 0xb4]
add eax, 0xc
lea esp, [esp]
cmp dword [eax], ecx
jl 0x5410f9
inc dword [esp + 0x48]
inc ecx
add eax, 0x18
dec edx
jne 0x5410f0
mov edx, dword [esi + 0x3c]
mov ecx, dword [esp + 0x48]
mov eax, dword [esi + 0x40]
mov dword [esp + 0x60], eax
cmp ecx, edx
jg 0x54111d
add eax, ecx
sub edx, ecx
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], edx
jmp 0x54112c
mov eax, dword [esi + 0x4c]
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x60], edx
mov dword [esi + 0x4c], eax
mov ecx, esi
call fcn.0051eb50
mov edx, dword [esp + 0x18]
push 0
push dword [esp + 0x64]
call fcn.005200e0
mov eax, dword [esp + 0xac]
add esp, 8
mov dword [esp + 0x74], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x4c], eax
cmp dword [edi + 0x20], eax
jg 0x54116b
mov ecx, edi
call fcn.0050b2f0
test eax, eax
jne 0x5411a7
mov eax, dword [esp + 0x4c]
mov ecx, dword [edi + 4]
lea edx, [eax + eax*4]
inc dword [edi + 0x1c]
mov eax, dword [esp + 0x74]
mov edi, dword [esp + 0x7c]
mov dword [ecx + edx*4 + 4], eax
mov eax, dword [esp + 0x60]
add eax, dword [esp + 0x30]
mov word [ecx + edx*4], 0x37
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
cmp dword [esp + 0xb8], 0
mov dword [esp + 0x74], 0
jle 0x54128a
mov ecx, dword [esp + 0x60]
add ecx, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x4c], eax
nop
mov edx, dword [esp + 0xb4]
mov esi, dword [esp + 0x20]
cmp dword [eax + edx + 0xc], esi
mov esi, dword [esp + 0x24]
jl 0x54126d
push 0
push ecx
push dword [eax + edx + 4]
mov ecx, esi
push dword [eax + edx + 8]
mov edx, dword [eax + edx]
call fcn.0051eab0
mov ecx, dword [esp + 0x40]
add esp, 0x10
mov dword [esp + 0x34], eax
cmp ecx, eax
je 0x541260
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x78], eax
cmp dword [edi + 0x20], eax
jg 0x541228
mov ecx, edi
call fcn.0050b2f0
test eax, eax
jne 0x54125c
mov eax, dword [esp + 0x78]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
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 + 0x30]
inc dword [esp + 0x20]
inc ecx
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x74]
add eax, 0x18
inc edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x74], edx
cmp edx, dword [esp + 0xb8]
jl 0x5411d0
mov al, byte [esi + 0x13]
test al, al
jne 0x541299
inc dword [esi + 0x4c]
mov eax, dword [esi + 0x4c]
jmp 0x5412a5
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov eax, dword [esi + eax*4 + 0x1c]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x34], eax
cmp dword [edi + 0x20], eax
jg 0x5412c4
mov ecx, edi
call fcn.0050b2f0
test eax, eax
jne 0x5412f8
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 dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x20]
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 + 0x78], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x34], eax
cmp dword [edi + 0x20], eax
jg 0x54131e
mov ecx, edi
call fcn.0050b2f0
test eax, eax
jne 0x541354
mov eax, dword [esp + 0x34]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x78]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
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 0x541358
mov edx, dword [esp + 0x20]
test edx, edx
je 0x541390
mov al, byte [esi + 0x13]
mov byte [esp + 0x13], al
cmp al, 8
jae 0x541390
xor ecx, ecx
lea eax, [esi + 0x64]
lea esp, [esp]
cmp dword [eax + 0x10], edx
je 0x54138c
inc ecx
add eax, 0x18
cmp ecx, 0xa
jl 0x541370
movzx eax, byte [esp + 0x13]
mov dword [esi + eax*4 + 0x1c], edx
inc byte [esi + 0x13]
jmp 0x541390
mov byte [eax + 8], 1
push dword [esp + 0x48]
mov edx, dword [esp + 0x64]
mov ecx, esi
call fcn.0051e8c0
mov eax, dword [esp + 0x4c]
add esp, 4
cmp eax, dword [esi + 0x3c]
jle 0x5413b5
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x60]
mov dword [esi + 0x40], eax
mov ecx, dword [esp + 0x40]
call fcn.0054e8c0
mov eax, dword [esi + 0x48]
mov dword [esp + 0x30], eax
mov dword [esp + 0xa8], eax
inc eax
mov dword [esi + 0x48], eax
mov al, byte [esi + 0x13]
test al, al
jne 0x5413e3
inc dword [esi + 0x4c]
mov ecx, dword [esi + 0x4c]
mov dword [esp + 0x20], ecx
jmp 0x5413f3
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov eax, dword [esi + eax*4 + 0x1c]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x34], eax
cmp dword [edi + 0x20], eax
jg 0x54140e
mov ecx, edi
call fcn.0050b2f0
test eax, eax
jne 0x541442
mov eax, dword [esp + 0x34]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x48]
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 + 0x78], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x34], eax
cmp dword [edi + 0x20], eax
jg 0x541468
mov ecx, edi
call fcn.0050b2f0
test eax, eax
jne 0x54149f
mov eax, dword [esp + 0x34]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x78]
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.0051eb50
mov eax, dword [edi + 0x1c]
mov ecx, esi
mov dword [esp + 0x74], eax
call fcn.0051eb50
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x541522
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x78], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x34], eax
cmp dword [edi + 0x20], eax
jg 0x5414ea
mov ecx, edi
call fcn.0050b2f0
test eax, eax
jne 0x54151e
mov eax, dword [esp + 0x34]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x78]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
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 eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov dword [esp + 0x20], ecx
cmp dword [edx], ecx
jle 0x5415e2
test eax, eax
je 0x5415a7
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x34], eax
cmp dword [edi + 0x20], eax
jg 0x541553
mov ecx, edi
call fcn.0050b2f0
test eax, eax
jne 0x54158b
mov eax, dword [esp + 0x34]
mov ecx, dword [edi + 4]
lea edx, [eax + eax*4]
inc dword [edi + 0x1c]
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x24]
mov dword [ecx + edx*4 + 4], eax
mov eax, dword [esp + 0x20]
mov dword [ecx + edx*4 + 8], eax
add eax, dword [esp + 0x50]
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 ecx, dword [esp + 0x20]
test ecx, ecx
jne 0x5415cd
mov edx, dword [edi + 4]
test edx, edx
je 0x5415cd
mov eax, dword [edi + 0x1c]
lea eax, [eax + eax*4]
mov byte [edx + eax*4 - 0x11], 0x20
jmp 0x5415cd
mov eax, dword [esp + 0x50]
mov byte [esp + 0xa0], 1
add eax, ecx
mov edx, dword [edx + 8]
push eax
lea eax, [ecx + ecx*2]
mov ecx, esi
mov edx, dword [edx + eax*8]
call fcn.0051fdc0
mov ecx, dword [esp + 0x24]
add esp, 4
mov edx, dword [esp + 0x18]
inc ecx
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x20], ecx
cmp ecx, dword [edx]
jl 0x541534
mov eax, dword [edx]
mov edx, dword [edi + 0x1c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x34], edx
cmp dword [edi + 0x20], edx
jg 0x54160a
mov ecx, edi
call fcn.0050b2f0
test eax, eax
je 0x541606
mov edx, 1
jmp 0x541645
mov edx, dword [esp + 0x34]
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 + 0x50]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x78]
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [esp + 0x24]
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 + 0x48]
mov ecx, edi
call fcn.0050ba40
mov eax, dword [edi + 0x1c]
add esp, 8
mov dword [esp + 0x4c], eax
cmp dword [edi + 0x20], eax
jg 0x541670
mov ecx, edi
call fcn.0050b2f0
test eax, eax
jne 0x5416a1
mov eax, dword [esp + 0x4c]
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 + 0x24]
mov eax, dword [esp + 0x18]
mov ecx, esi
mov edx, dword [esp + 0x50]
push dword [eax]
push dword [esp + 0x8c]
call fcn.0051ed60
mov eax, dword [edi + 0x1c]
add esp, 8
mov dword [esp + 0x44], eax
cmp dword [edi + 0x20], eax
jg 0x5416d7
mov ecx, edi
call fcn.0050b2f0
test eax, eax
jne 0x541719
mov eax, dword [esp + 0x44]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x68]
mov edi, dword [esp + 0x7c]
add edx, 2
mov esi, dword [esp + 0x24]
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 + 0x44], eax
cmp dword [edi + 0x20], eax
jg 0x541734
mov ecx, edi
call fcn.0050b2f0
test eax, eax
jne 0x541770
mov eax, dword [esp + 0x44]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x68]
mov esi, dword [esp + 0x24]
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 + 0x44], eax
cmp dword [edi + 0x20], eax
jg 0x54178b
mov ecx, edi
call fcn.0050b2f0
test eax, eax
jne 0x5417bf
mov eax, dword [esp + 0x44]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x64]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x5c]
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 + 0x4c]
test eax, eax
js 0x5417d8
mov edx, dword [edi + 0x1c]
cmp edx, eax
jbe 0x5417d8
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.0053fff0
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x44], eax
cmp dword [edi + 0x20], eax
jg 0x541801
mov ecx, edi
call fcn.0050b2f0
test eax, eax
jne 0x541835
mov eax, dword [esp + 0x44]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x68]
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 + 0x6c]
test ecx, ecx
je 0x54189d
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x44], eax
cmp dword [edi + 0x20], eax
jg 0x541867
mov ecx, edi
call fcn.0050b2f0
test eax, eax
jne 0x5418e7
mov eax, dword [esp + 0x44]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x74]
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 0x5418e7
mov ecx, dword [esp + 0x40]
call fcn.0054e8c0
mov eax, dword [edi + 4]
mov dword [esp + 0x44], eax
test eax, eax
je 0x5418e7
mov ecx, dword [esp + 0x2c]
lea esi, [ecx + ecx*4]
mov ecx, dword [edi]
push dword [eax + esi*4 + 0x10]
movsx edx, byte [eax + esi*4 + 1]
call fcn.0050b8f0
mov eax, dword [esp + 0x48]
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 + 0x24]
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x2c], eax
cmp dword [edi + 0x20], eax
jg 0x541902
mov ecx, edi
call fcn.0050b2f0
test eax, eax
jne 0x541944
mov eax, dword [esp + 0x2c]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x68]
mov edi, dword [esp + 0x7c]
add edx, 2
mov esi, dword [esp + 0x24]
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 + 0x2c], eax
cmp dword [edi + 0x20], eax
jg 0x54195f
mov ecx, edi
call fcn.0050b2f0
test eax, eax
jne 0x541996
mov eax, dword [esp + 0x2c]
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 + 0x4c], eax
cmp dword [edi + 0x20], eax
jg 0x5419b1
mov ecx, edi
call fcn.0050b2f0
test eax, eax
jne 0x5419ea
mov eax, dword [esp + 0x4c]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x68]
mov esi, dword [esp + 0x24]
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 + 0x2c], eax
cmp dword [edi + 0x20], eax
jg 0x541a05
mov ecx, edi
call fcn.0050b2f0
test eax, eax
jne 0x541a44
mov eax, dword [esp + 0x2c]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x68]
mov edi, dword [esp + 0x7c]
add edx, 2
mov esi, dword [esp + 0x24]
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 0x541a60
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 + 0x40], eax
cmp dword [edi + 0x20], eax
jg 0x541a7b
mov ecx, edi
call fcn.0050b2f0
test eax, eax
jne 0x541ab2
mov eax, dword [esp + 0x40]
mov ecx, dword [edi + 4]
lea edx, [eax + eax*4]
inc dword [edi + 0x1c]
add eax, 2
mov esi, dword [esp + 0x68]
mov dword [ecx + edx*4 + 4], esi
mov esi, dword [esp + 0x24]
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 + 0x2c], eax
cmp dword [edi + 0x20], eax
jg 0x541acd
mov ecx, edi
call fcn.0050b2f0
test eax, eax
jne 0x541b0c
mov eax, dword [esp + 0x2c]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x68]
mov edi, dword [esp + 0x7c]
add edx, 2
mov esi, dword [esp + 0x24]
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.0053ff20
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x54]
inc esi
mov ecx, dword [esp + 0x24]
push 8
push esi
call fcn.00520570
push dword [esp + 0x54]
lea eax, [esp + 0x9c]
push esi
push dword [esp + 0x80]
mov esi, dword [esp + 0x38]
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.0053a1f0
mov eax, dword [edi + 0x1c]
add esp, 0x28
mov dword [esp + 0x2c], eax
cmp dword [edi + 0x20], eax
jg 0x541b7c
mov ecx, edi
call fcn.0050b2f0
test eax, eax
jne 0x541bb7
mov eax, dword [esp + 0x2c]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x68]
mov edi, dword [esp + 0x7c]
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 0x541bd0
mov eax, dword [esp + 0x5c]
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.0053fd00
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x2c], eax
cmp dword [edi + 0x20], eax
jg 0x541bfd
mov ecx, edi
call fcn.0050b2f0
test eax, eax
jne 0x541fa9
mov eax, dword [esp + 0x2c]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x64]
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 0x541fa9
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0xa0]
mov dword [esp + 0x80], 0
call fcn.0053f0b0
mov dword [esp + 0x30], eax
test eax, eax
je 0x541e39
mov ecx, dword [esi]
mov edx, dword [eax + 0x40]
call fcn.00538d40
mov ecx, dword [esp + 0x30]
mov edx, eax
mov eax, dword [esi + 0x48]
mov dword [esp + 0x64], eax
inc eax
mov dword [esi + 0x48], eax
xor eax, eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x5c], eax
mov eax, dword [ecx + 0x20]
mov ecx, esi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x40], eax
call fcn.005295f0
mov eax, dword [esp + 0x30]
mov ecx, esi
mov edx, dword [esp + 0x4c]
push dword [eax]
push 0
push dword [eax + 0x20]
call fcn.00524950
mov ecx, dword [esp + 0x3c]
add esp, 0xc
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x541d0f
xor esi, esi
lea ebx, [ebx]
test byte [ecx + 0x2c], 4
jne 0x541cd6
test esi, esi
je 0x541cd4
mov ax, word [ecx + 0x28]
cmp ax, word [esi + 0x28]
jae 0x541cd6
mov esi, ecx
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x541cc0
mov dword [esp + 0x5c], esi
test esi, esi
mov esi, dword [esp + 0x24]
je 0x541d0f
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x30]
movzx ecx, word [edx + 0x28]
movsx eax, word [eax + 0x26]
cmp ecx, eax
jge 0x541d0f
mov eax, dword [edx + 0x24]
mov ecx, esi
mov dword [esp + 0x40], eax
call fcn.00529c20
mov dword [esp + 0x74], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x2c], eax
cmp dword [edi + 0x20], eax
jg 0x541d2a
mov ecx, edi
call fcn.0050b2f0
test eax, eax
jne 0x541d5e
mov eax, dword [esp + 0x2c]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x64]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x4c]
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 + 0x74]
test eax, eax
je 0x541d76
push 0xfffffffffffffff0
push eax
or edx, 0xffffffff
mov ecx, edi
call fcn.0050ba40
add esp, 8
mov eax, dword [esp + 0xc0]
mov eax, dword [eax + 8]
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x2c], eax
cmp dword [edi + 0x20], eax
jg 0x541d9f
mov ecx, edi
call fcn.0050b2f0
test eax, eax
jne 0x541dd3
mov eax, dword [esp + 0x2c]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x64]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x44]
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 + 0x2c], eax
cmp dword [edi + 0x20], eax
jg 0x541dee
mov ecx, edi
call fcn.0050b2f0
test eax, eax
jne 0x541e22
mov eax, dword [esp + 0x2c]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x64]
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 + 0x5c]
mov edx, dword [esp + 0x34]
mov ecx, esi
call fcn.00540450
add esp, 4
jmp 0x541f53
xor eax, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], eax
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x34], 0
jne 0x541eb6
lea edx, [esp + 0x64]
lea ecx, [esp + 0xa0]
call fcn.0053f040
mov byte [esp + 0x13], al
test al, al
je 0x541eae
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x28]
push 0
call fcn.0051cb60
mov edx, eax
add esp, 4
mov dword [esp + 0x5c], edx
mov dword [esp + 0x80], edx
test edx, edx
je 0x541eb6
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x38], 0
jne 0x541eb6
mov eax, dword [edx + 8]
cmp byte [esp + 0x13], 1
setne cl
mov byte [eax + 0xc], cl
mov eax, dword [edx + 8]
mov eax, dword [eax]
mov byte [eax], 0x98
jmp 0x541eb6
mov eax, dword [esp + 0x64]
mov dword [esp + 0x5c], eax
lea edx, [esp + 0xa0]
mov ecx, esi
call fcn.0053fd00
mov al, byte [esp + 0x13]
mov ecx, esi
mov edx, dword [esp + 0x14]
push 0
movzx eax, al
push eax
push 0
push dword [esp + 0x68]
push dword [esp + 0x7c]
call fcn.0054dc30
add esp, 0x14
mov dword [esp + 0x40], eax
test eax, eax
jne 0x541f0d
mov edi, dword [esp + 0x28]
mov ecx, edi
mov edx, dword [esp + 0x80]
call fcn.0051d360
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x3c]
jmp 0x54203f
lea edx, [esp + 0xa0]
mov ecx, esi
call fcn.0053fff0
mov eax, dword [esp + 0x40]
cmp word [eax + 8], 0
jbe 0x541f3e
push dword [eax + 0x18]
mov edx, 1
mov ecx, edi
push 0
call fcn.0050b490
mov eax, dword [esp + 0x48]
add esp, 8
mov ecx, eax
call fcn.0054e8c0
lea edx, [esp + 0xa0]
mov ecx, esi
call fcn.0053ff20
mov edx, dword [esp + 0x54]
mov ecx, esi
push 8
push dword [esp + 0x88]
mov dword [esp + 0x40], 0
call fcn.00520570
mov eax, dword [esp + 0x8c]
mov ecx, esi
push eax
push eax
push dword [esp + 0x80]
mov eax, dword [esp + 0x30]
mov edx, eax
push 0
push 0
push 0
push 0
push dword [eax]
call fcn.0053a1f0
mov edx, dword [esp + 0xa8]
add esp, 0x28
mov ecx, dword [esp + 0x28]
call fcn.0051d360
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x541fc5
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 + 0x58]
cmp al, 3
jne 0x541fd9
mov edx, str.DISTINCT
mov ecx, esi
call fcn.0053a990
cmp dword [esp + 0x38], 0
je 0x542005
mov edx, str.ORDER_BY
mov ecx, esi
call fcn.0053a990
mov eax, dword [esp + 0x3c]
mov ecx, esi
push dword [esp + 0x70]
mov edx, dword [esp + 0x20]
push dword [eax]
push edi
call fcn.0053ab10
add esp, 0xc
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x542021
mov eax, dword [esp + 0x9c]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x1c]
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x60], 0
jmp 0x54203f
mov edi, dword [esp + 0x28]
jmp 0x54203f
mov edi, ecx
cmp dword [esp + 0x60], 0
mov ecx, dword [esp + 0x8c]
mov dword [esi + 0x1e4], ecx
jne 0x542069
mov ecx, dword [esp + 0x70]
cmp byte [ecx], 5
jne 0x542069
push edx
mov edx, eax
mov ecx, esi
call fcn.0053b480
add esp, 4
mov edx, dword [esp + 0xb4]
mov ecx, edi
call fcn.004ef4c0
mov edx, dword [esp + 0xc0]
mov ecx, edi
call fcn.004ef4c0
mov eax, dword [esp + 0x60]
pop edi
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.005712ac
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x10c]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.005712ac
mov esp, ebp
pop ebp
ret