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

Disassembly:
sub esp, 0xf4
push ebx
mov ebx, dword [esp + 0xfc]
xor eax, eax
push ebp
push esi
push edi
mov dword [esp + 0x6c], eax
mov eax, dword [ebx]
push ebx
mov dword [esp + 0x60], 1
mov dword [esp + 0x1c], eax
call fcn.0056a013
mov ebp, dword [esp + 0x110]
mov esi, eax
mov dword [esp + 0x20], esi
pop ecx
test ebp, ebp
je 0x576dd7
xor eax, eax
cmp dword [ebx + 0x24], eax
jne 0x576dd7
push eax
push eax
push eax
push 0x15
push ebx
call fcn.00559d89
add esp, 0x14
test eax, eax
jne 0x576dd7
mov eax, dword [esp + 0x110]
cmp byte [eax], 6
ja 0x575359
cmp dword [ebp + 0x30], 0
je 0x57534b
push dword [ebp + 0x30]
push 0x56564e
push ebx
call fcn.0056f66a
add esp, 0xc
xor eax, eax
mov dword [ebp + 0x30], eax
mov eax, dword [ebp + 4]
and eax, 0xfffffffe
or eax, 0x400000
mov dword [ebp + 4], eax
xor edi, edi
push edi
push ebp
push ebx
call fcn.005771b5
add esp, 0xc
cmp dword [ebx + 0x24], edi
jne 0x5753ac
mov edi, dword [ebp + 4]
test edi, 0x800000
je 0x5753da
mov eax, dword [ebp + 0x20]
push eax
lea ecx, [eax + 8]
push ecx
mov dword [esp + 0x34], ecx
call fcn.00555a9a
pop ecx
pop ecx
test eax, eax
je 0x5753d1
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0xc]
test eax, eax
jne 0x57539d
mov eax, dword [ecx + 0x10]
mov eax, dword [eax]
push eax
push str.target_object_alias_may_not_appear_in_FROM_clause:__s
push ebx
call fcn.00561f37
add esp, 0xc
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x5753c1
push eax
push ecx
call fcn.005408da
pop ecx
pop ecx
push ebx
call fcn.005824e6
mov eax, dword [esp + 0x60]
pop ecx
jmp 0x576dda
and edi, 0xff7fffff
mov dword [ebp + 4], edi
mov eax, dword [esp + 0x110]
cmp byte [eax], 9
jne 0x5753ef
push ebp
push ebx
call fcn.00567da8
pop ecx
pop ecx
push ebp
push ebx
call fcn.0058b40e
pop ecx
pop ecx
test eax, eax
jne 0x5753ac
mov eax, dword [ebp + 4]
mov edi, dword [ebp + 0x20]
shr eax, 3
and eax, 1
mov dword [esp + 0x30], edi
mov dword [esp + 0x64], eax
xor eax, eax
push 0x28
push eax
lea eax, [esp + 0x90]
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp + 0x30]
add esp, 0xc
mov dword [esp + 0x88], eax
xor eax, eax
mov edx, eax
jmp 0x57568b
cmp edx, dword [edi]
jge 0x5756de
imul ecx, edx, 0x48
mov dword [esp + 0x28], ecx
mov ebx, dword [ecx + edi + 0x18]
mov eax, dword [ecx + edi + 0x1c]
mov dword [esp + 0x14], ebx
mov bl, byte [ecx + edi + 0x2c]
mov byte [esp + 0x23], bl
test bl, 0x48
mov ebx, dword [esp + 0x108]
mov dword [esp + 0x24], eax
je 0x575579
movzx eax, byte [esp + 0x23]
and eax, 0x40
push eax
push dword [ecx + edi + 0x34]
push dword [ebp + 0x24]
call fcn.005651ad
mov ecx, dword [esp + 0x34]
add esp, 0xc
test eax, eax
je 0x575571
mov eax, dword [esp + 0x18]
test dword [eax + 0x50], 0x2000
jne 0x575571
mov al, byte [ecx + edi + 0x2c]
test al, 8
je 0x5754d4
test al, 0x10
je 0x5754b8
and al, 0xf7
mov byte [ecx + edi + 0x2c], al
jmp 0x5754d4
and al, 0xd7
mov byte [ecx + edi + 0x2c], al
xor eax, eax
push eax
push dword [ecx + edi + 0x34]
push dword [ebp + 0x24]
call fcn.0058d1a5
mov ecx, dword [esp + 0x34]
add esp, 0xc
test byte [ecx + edi + 0x2c], 0x40
mov edx, dword [esp + 0x10]
je 0x575575
mov esi, dword [esp + 0x1c]
lea eax, [edx + 1]
mov dword [esp + 0x2c], eax
cmp eax, dword [edi]
jge 0x57553f
imul ebx, eax, 0x48
mov esi, eax
add ebx, 0x2c
add ebx, edi
mov al, byte [ebx]
test al, 0x10
je 0x575520
test al, 8
je 0x57550c
and al, 0xef
mov byte [ebx], al
jmp 0x575520
push 1
push dword [ebx + 8]
and al, 0xcf
mov byte [ebx], al
push dword [ebp + 0x24]
call fcn.0058d1a5
add esp, 0xc
mov eax, dword [edi]
inc esi
add ebx, 0x48
cmp esi, eax
jl 0x5754fc
mov ebx, dword [esp + 0x108]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
jmp 0x575541
mov eax, dword [edi]
sub eax, 1
mov dword [esp + 0x2c], eax
js 0x575575
imul esi, eax, 0x48
mov ebx, eax
add esi, 0x2c
add esi, edi
and byte [esi], 0xbf
test byte [esi], 0x10
jne 0x575564
sub esi, 0x48
sub ebx, 1
jns 0x575554
mov ebx, dword [esp + 0x108]
mov esi, dword [esp + 0x1c]
jmp 0x575575
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x575688
mov eax, dword [eax + 0x1c]
mov edx, dword [esp + 0x14]
mov esi, dword [eax]
movsx eax, word [edx + 0x22]
mov edx, dword [esp + 0x10]
cmp eax, esi
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x1c]
jne 0x5756c0
mov eax, 0x100
test dword [ecx + edi + 0x30], eax
je 0x5755bb
mov eax, dword [ecx + edi + 0x4c]
cmp byte [eax + 0x12], 0
je 0x575688
mov eax, dword [esp + 0x24]
test byte [eax + 4], 8
jne 0x575688
cmp dword [eax + 0x30], 0
je 0x575630
xor ecx, ecx
cmp dword [ebp + 0x30], ecx
jne 0x5755db
cmp dword [edi], 1
jle 0x575618
cmp dword [eax + 0x3c], ecx
jne 0x575618
mov ecx, 0x8000000
test dword [eax + 4], ecx
jne 0x575618
test dword [ebp + 4], ecx
jne 0x575618
mov ecx, dword [esp + 0x18]
test dword [ecx + 0x50], 0x40000
jne 0x575618
push dword [eax + 0x30]
push 0x56564e
push ebx
call fcn.0056f66a
mov eax, dword [esp + 0x30]
add esp, 0xc
xor edi, edi
mov dword [eax + 0x30], edi
jmp 0x575632
test edx, edx
jne 0x575630
test dword [ebp + 4], 0x40000
je 0x575630
cmp dword [edi], 1
je 0x575688
test byte [edi + 0x74], 0x22
jne 0x575688
xor edi, edi
push dword [esp + 0x64]
mov eax, dword [esp + 0x14]
push eax
push ebp
push ebx
call fcn.00542a76
add esp, 0x10
test eax, eax
je 0x575659
cmp dword [ebx + 0x24], edi
jne 0x5753ac
or eax, 0xffffffff
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x18]
mov edi, dword [ebp + 0x20]
mov dword [esp + 0x30], edi
cmp byte [ecx + 0x57], 0
jne 0x5753b0
mov eax, dword [esp + 0x110]
mov edx, dword [esp + 0x10]
cmp byte [eax], 8
jbe 0x575688
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x88], eax
inc edx
xor eax, eax
mov dword [esp + 0x10], edx
cmp dword [ebp + 0x34], eax
je 0x575438
push dword [esp + 0x110]
push ebp
push ebx
call fcn.0054be84
mov esi, eax
add esp, 0xc
xor eax, eax
cmp dword [ebp + 0x38], eax
jne 0x5756b9
push ebx
call fcn.005824e6
pop ecx
mov eax, esi
jmp 0x576dda
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
push dword [ecx]
push eax
push str.expected__d_columns_for__s_but_got__d
push ebx
call fcn.00561f37
add esp, 0x14
jmp 0x5753ac
lea eax, [ebp + 0x24]
mov edx, dword [eax]
mov ecx, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x28], ecx
test edx, edx
je 0x57571b
cmp byte [edx], 0x2c
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
jne 0x57571f
test dword [eax + 0x50], 0x8000
mov dword [esp + 0x28], ecx
jne 0x57571f
push ebp
push ebx
call fcn.0055189d
pop ecx
pop ecx
lea ecx, [ebp + 0x24]
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x18]
test dword [eax + 0x50], 0x201
jne 0x57575c
push ebp
push ebx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
call fcn.0053d1c1
pop ecx
pop ecx
test eax, eax
je 0x575761
mov ecx, dword [esp + 0x18]
cmp byte [ecx + 0x57], 0
jne 0x5753b0
mov edi, dword [ebp + 0x20]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], edi
mov dword [esp + 0x48], eax
jmp 0x575765
lea eax, [ebp + 0x24]
jmp 0x575765
mov eax, dword [esp + 0x48]
xor edx, edx
mov dword [esp + 0x4c], 0x658f34
mov ecx, edx
mov dword [esp + 0x24], ecx
cmp dword [edi], edx
jle 0x575b45
add edi, 0xc
mov dword [esp + 0x28], edi
mov eax, dword [edi + 0x34]
or eax, dword [edi + 0x38]
jne 0x5757ab
cmp dword [edi + 4], eax
je 0x5757ab
push dword [edi]
push dword [esp + 0x50]
push dword [edi + 4]
push 0x14
push ebx
call fcn.00559d89
mov ecx, dword [esp + 0x38]
add esp, 0x14
xor edx, edx
mov eax, dword [edi + 0x10]
mov dword [esp + 0x10], eax
test eax, eax
je 0x575b23
lea eax, [esp + 0x14]
mov dword [esp + 0x14], edx
push eax
push ebp
call fcn.00544d63
mov eax, dword [esp + 0x1c]
add dword [ebx + 0xe4], eax
pop ecx
pop ecx
mov ecx, dword [esp + 0x18]
test dword [ecx + 0x50], 0x1000
jne 0x575819
mov eax, 0x100
test dword [edi + 0x24], eax
je 0x5757fa
mov eax, dword [edi + 0x40]
cmp byte [eax + 0x12], 0
je 0x575819
cmp dword [eax], 2
jge 0x575819
push dword [esp + 0x24]
mov eax, dword [esp + 0x4c]
push dword [esp + 0x34]
push dword [eax]
push dword [esp + 0x1c]
push ebx
call fcn.00551ba1
mov ecx, dword [esp + 0x2c]
add esp, 0x14
test dword [ecx + 0x50], 0x4000000
jne 0x57582c
lea eax, [edi - 4]
push eax
call fcn.0053e219
pop ecx
mov eax, dword [ebx + 0x104]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 4]
mov dword [ebx + 0x104], eax
push dword [ebp + 4]
push dword [esp + 0x28]
push dword [esp + 0x38]
push ebx
call fcn.00543845
add esp, 0x10
test eax, eax
je 0x575925
mov edi, dword [esi + 0x6c]
mov ecx, dword [esp + 0x28]
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
lea esi, [edi + 1]
push esi
mov dword [ecx + 0x18], eax
xor ecx, ecx
push ecx
push eax
push 0xb
push dword [esp + 0x2c]
call fcn.0057b786
mov eax, dword [esp + 0x3c]
mov byte [esp + 0xd0], 0xd
mov dword [eax + 0x14], esi
mov esi, eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0xd4], eax
xor eax, eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
lea eax, [esi - 4]
push eax
push str.CO_ROUTINE___S
push 1
push ebx
call fcn.00582490
lea eax, [esp + 0xe0]
push eax
push dword [esp + 0x38]
push ebx
call fcn.005752c1
mov eax, dword [esp + 0x40]
mov ecx, dword [esi + 0xc]
mov ax, word [eax + 2]
mov word [ecx + 0x26], ax
push dword [esi + 0x18]
mov eax, dword [esp + 0xfc]
or dword [esi + 0x24], 0x20
mov dword [esi + 0x1c], eax
mov esi, dword [esp + 0x50]
push esi
call fcn.0057c02c
push edi
push esi
call fcn.0058273c
mov ecx, dword [esi + 0x6c]
add esp, 0x40
mov edi, dword [esp + 0x28]
xor edx, edx
mov dword [eax + 8], ecx
mov byte [ebx + 0x13], dl
mov dword [ebx + 0x1c], edx
jmp 0x575aec
mov eax, 0x100
test dword [edi + 0x24], eax
je 0x575972
mov eax, dword [edi + 0x40]
mov dword [esp + 0x14], eax
cmp dword [eax + 4], 0
jle 0x575972
push dword [eax + 4]
push dword [eax + 8]
push 0xa
push esi
call fcn.0057b76b
mov eax, dword [esp + 0x24]
add esp, 0x10
mov ecx, dword [eax + 0xc]
cmp dword [edi + 0x28], ecx
je 0x57596c
push ecx
push dword [edi + 0x28]
push 0x73
push esi
call fcn.0057b76b
mov eax, dword [esp + 0x24]
add esp, 0x10
mov ax, word [eax + 0x10]
jmp 0x5759c8
push dword [esp + 0x24]
xor ecx, ecx
lea eax, [edi - 4]
push ecx
push eax
push dword [esp + 0x3c]
call fcn.00546091
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
je 0x5759d7
cmp dword [eax + 0x18], 0
je 0x5759ac
push dword [eax + 0x18]
push dword [eax + 0x1c]
push 0xa
push esi
call fcn.0057b76b
mov eax, dword [esp + 0x24]
add esp, 0x10
push dword [eax + 0x2c]
push dword [edi + 0x28]
push 0x73
push esi
call fcn.0057b76b
mov eax, dword [esp + 0x24]
add esp, 0x10
mov eax, dword [eax + 0x14]
mov ax, word [eax + 2]
mov ecx, dword [esp + 0x10]
xor edx, edx
mov word [ecx + 2], ax
jmp 0x575aec
xor eax, eax
inc dword [ebx + 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x2c]
push 9
push esi
mov dword [edi + 0x18], eax
call fcn.0057b73c
or dword [edi + 0x24], 0x10
mov dword [esp + 0x4c], eax
inc eax
test byte [edi + 0x24], 8
pop ecx
pop ecx
mov dword [esp + 0x2c], eax
mov dword [edi + 0x14], eax
jne 0x575a14
push 0xf
push esi
call fcn.0057b73c
pop ecx
pop ecx
mov dword [esp + 0x14], eax
mov ecx, dword [edi + 0x28]
xor eax, eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
lea eax, [edi - 4]
push eax
push str.MATERIALIZE___S
push 1
push ebx
mov byte [esp + 0xcc], 0xc
mov dword [esp + 0xd0], ecx
call fcn.00582490
lea eax, [esp + 0xcc]
push eax
push dword [esp + 0x24]
push ebx
call fcn.005752c1
mov eax, dword [esp + 0x2c]
add esp, 0x1c
mov ecx, dword [edi + 0xc]
mov ax, word [eax + 2]
mov word [ecx + 0x26], ax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x575a90
push eax
push esi
call fcn.0058273c
pop ecx
pop ecx
mov ecx, dword [esi + 0x6c]
mov dword [eax + 8], ecx
push dword [esp + 0x2c]
push dword [edi + 0x18]
push 0x43
push esi
call fcn.0057b76b
push dword [esp + 0x54]
push esi
call fcn.0058273c
mov ecx, dword [esi + 0x6c]
xor edx, edx
add esp, 0x18
mov dword [eax + 8], ecx
mov ecx, 0x100
mov byte [ebx + 0x13], dl
mov dword [ebx + 0x1c], edx
mov eax, dword [edi + 0x24]
and eax, 0x108
cmp eax, ecx
jne 0x575aec
mov ecx, dword [edi + 0x40]
mov eax, dword [edi + 0x14]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x18]
mov dword [ecx + 8], eax
mov eax, dword [edi + 0x28]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x10]
mov ax, word [eax + 2]
mov word [ecx + 0x10], ax
mov ecx, dword [esp + 0x18]
cmp byte [ecx + 0x57], 0
jne 0x5753b0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], edx
push eax
push ebp
call fcn.00544d63
mov eax, dword [esp + 0x1c]
sub dword [ebx + 0xe4], eax
mov eax, dword [esp + 0x48]
pop ecx
pop ecx
mov ecx, dword [esp + 0x24]
mov dword [ebx + 0x104], eax
mov eax, dword [esp + 0x30]
inc ecx
add edi, 0x48
mov dword [esp + 0x24], ecx
push 0
mov dword [esp + 0x2c], edi
pop edx
cmp ecx, dword [eax]
jl 0x575784
mov edi, dword [esp + 0x30]
lea eax, [ebp + 0x24]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x1c]
mov dl, byte [ebp + 4]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x10], ecx
xor ecx, ecx
mov dword [esp + 0x68], eax
inc ecx
mov eax, dword [ebp + 4]
and dl, cl
and al, 9
mov byte [esp + 0x22], dl
mov byte [esp + 0xb0], dl
cmp al, cl
jne 0x575bc9
push 0xffffffffffffffff
push dword [esp + 0x14]
push dword [esp + 0x90]
call fcn.005655dd
add esp, 0xc
xor edx, edx
test eax, eax
jne 0x575bcb
cmp dword [ebp + 0x44], edx
jne 0x575bcb
and dword [ebp + 4], 0xfffffffe
push edx
push dword [esp + 0x14]
push dword [esp + 0x20]
call fcn.0056565a
mov dword [esp + 0x44], eax
add esp, 0xc
or dword [ebp + 4], 8
mov dword [ebp + 0x28], eax
mov al, 2
mov byte [esp + 0x22], al
mov byte [esp + 0xb0], al
xor edx, edx
mov eax, dword [esp + 0x88]
test eax, eax
je 0x575c22
mov ecx, dword [esp + 0x10]
push dword [ecx]
push edx
push eax
push ebx
call fcn.0056c031
mov edx, dword [ebx + 0x28]
push 0xfffffffffffffff8
push eax
xor eax, eax
mov dword [esp + 0xa8], edx
push eax
mov eax, dword [esp + 0xa4]
lea ecx, [edx + 1]
mov dword [ebx + 0x28], ecx
mov ecx, dword [eax]
mov eax, dword [esp + 0x2c]
inc ecx
mov eax, dword [eax]
add eax, ecx
push eax
push edx
push 0x76
push esi
call fcn.0057b7e0
add esp, 0x2c
mov dword [esp + 0x9c], eax
jmp 0x575c2a
or dword [esp + 0x9c], 0xffffffff
mov ecx, dword [esp + 0x110]
cmp byte [ecx], 0xc
jne 0x575cf9
mov eax, dword [esp + 0x10]
push dword [eax]
push dword [ecx + 4]
push 0x76
push esi
call fcn.0057b76b
add esp, 0x10
test dword [ebp + 4], 0x800
je 0x575cf9
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
lea edx, [eax - 1]
mov dword [esp + 0x34], edx
test edx, edx
jle 0x575cd5
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
imul ecx, edx, 0x14
mov dword [esp + 0x3c], ecx
test byte [ecx + esi + 0x14], 0x40
jne 0x575cc9
mov eax, dword [ecx + esi + 8]
test eax, eax
je 0x575c9b
push eax
push edi
call fcn.0056485a
mov edx, dword [esp + 0x3c]
pop ecx
pop ecx
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + esi + 0xc]
test eax, eax
je 0x575cb4
push eax
push edi
call fcn.00560283
mov edx, dword [esp + 0x3c]
pop ecx
pop ecx
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi]
sub ecx, 0x14
dec eax
mov dword [esp + 0x3c], ecx
dec edx
mov dword [esi], eax
mov dword [esp + 0x34], edx
test edx, edx
jg 0x575c7b
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
xor edx, edx
test eax, eax
jle 0x575cf9
mov eax, dword [esp + 0x10]
add ecx, 8
test byte [ecx + 0xc], 0x40
jne 0x575cf1
mov eax, dword [ecx]
mov byte [eax], 0x79
mov eax, dword [esp + 0x10]
inc edx
add ecx, 0x14
cmp edx, dword [eax]
jl 0x575ce2
dec dword [ebx + 0x38]
mov ecx, 0x4000
mov eax, dword [ebx + 0x38]
mov dword [esp + 0xdc], eax
test dword [ebp + 4], ecx
jne 0x575d19
mov ecx, 0x140
mov word [ebp + 2], cx
xor ecx, ecx
cmp dword [ebp + 0x3c], ecx
je 0x575d2d
push eax
push ebp
push ebx
call fcn.0053be4e
add esp, 0xc
xor ecx, ecx
cmp dword [ebp + 8], ecx
jne 0x575d58
cmp dword [esp + 0x9c], 0
jl 0x575d58
push dword [esp + 0x9c]
push esi
call fcn.0058273c
pop ecx
pop ecx
mov byte [eax], 0x77
or byte [esp + 0xa8], 1
xor ecx, ecx
test byte [ebp + 4], 1
je 0x575da7
mov esi, dword [ebx + 0x28]
push 0xfffffffffffffff8
push ecx
push ecx
lea eax, [esi + 1]
mov dword [esp + 0xc0], esi
mov dword [ebx + 0x28], eax
push dword [ebp + 0x1c]
push ebx
call fcn.0056c031
add esp, 0x10
push eax
xor eax, eax
push eax
push eax
push esi
mov esi, dword [esp + 0x30]
push 0x76
push esi
call fcn.0057b7e0
push 8
push esi
mov dword [esp + 0xdc], eax
call fcn.0057bb2b
add esp, 0x24
push 3
pop eax
jmp 0x575da9
mov al, cl
cmp dword [esp + 0x64], 0
mov ecx, dword [esp + 0x38]
mov byte [esp + 0xb1], al
mov dword [esp + 0x28], eax
jne 0x575fdd
test ecx, ecx
jne 0x575fdd
mov cx, word [ebp + 4]
mov eax, 0x4000
and cx, ax
mov edx, 0x100
xor eax, eax
cmp byte [esp + 0x22], al
cmovne eax, edx
or cx, ax
movzx eax, cx
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x44]
mov dword [esp + 0x44], eax
test eax, eax
je 0x575e03
push ebp
push ebx
call fcn.0058a52b
pop ecx
pop ecx
movsx eax, word [ebp + 2]
push eax
push dword [esp + 0x30]
push ebp
push dword [ebp + 0x1c]
push dword [esp + 0x98]
push dword [esp + 0x6c]
push edi
push ebx
call fcn.005869fa
mov edx, eax
add esp, 0x20
mov dword [esp + 0x14], edx
test edx, edx
je 0x5753ac
movzx eax, word [edx + 0x34]
cmp ax, word [ebp + 2]
jge 0x575e41
mov word [ebp + 2], ax
cmp byte [esp + 0x22], 0
je 0x575e6d
mov eax, dword [esp + 0x28]
mov cl, byte [edx + 0x2f]
movzx eax, al
test cl, cl
mov dword [esp + 0x28], eax
movzx eax, cl
mov ecx, dword [esp + 0x28]
cmovne ecx, eax
mov dword [esp + 0x28], ecx
mov byte [esp + 0xb1], cl
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x575ec7
mov al, byte [edx + 0x2d]
test al, al
jns 0x575e85
xor eax, eax
mov edi, eax
jmp 0x575e88
movsx edi, al
mov dword [esp + 0x8c], edi
test byte [edx + 0x30], 4
je 0x575ea6
movzx eax, byte [edx + 0x2c]
imul eax, eax, 0x60
cmp dword [eax + edx + 0x2d0], 0
je 0x575eab
mov eax, dword [edx + 0x1c]
jmp 0x575eb2
mov eax, dword [eax + edx + 0x2a8]
mov dword [esp + 0xa4], eax
xor eax, eax
cmp edi, dword [ecx]
cmove ecx, eax
mov dword [esp + 0x88], ecx
cmp dword [esp + 0x9c], 0
jl 0x575ee8
test ecx, ecx
jne 0x575ee8
push dword [esp + 0x9c]
push esi
call fcn.0057bb47
mov edx, dword [esp + 0x1c]
pop ecx
pop ecx
cmp dword [esp + 0x44], 0
je 0x575fa5
mov eax, dword [esp + 0x108]
mov esi, dword [ebx + 0x38]
dec esi
push esi
inc dword [eax + 0x2c]
mov edi, dword [eax + 0x2c]
push edi
push edx
push dword [esp + 0x118]
lea ebx, [esi - 1]
lea ebp, [ebx - 1]
push eax
mov dword [eax + 0x38], ebp
call fcn.0058a6fc
push ebp
xor eax, eax
push eax
push 9
push dword [esp + 0x3c]
call fcn.0057b76b
push esi
mov esi, dword [esp + 0x44]
push esi
call fcn.00584970
push ebp
push ebx
push dword [esp + 0x144]
xor eax, eax
mov dword [esp + 0xdc], eax
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0xc4]
push eax
push 0xffffffffffffffff
push dword [esp + 0x150]
push dword [esp + 0x150]
call fcn.005567da
add esp, 0x4c
push ebx
push esi
call fcn.00584970
push edi
push 0x43
push esi
call fcn.0057b752
push ebp
push esi
call fcn.00584970
mov ebx, dword [esp + 0x124]
add esp, 0x1c
mov ebp, dword [esp + 0x10c]
mov edi, dword [esp + 0x110]
jmp 0x57696e
push dword [edx + 0x20]
mov edi, dword [esp + 0x114]
lea eax, [esp + 0xb4]
push dword [edx + 0x1c]
push edi
push eax
lea eax, [esp + 0x98]
push eax
push 0xffffffffffffffff
push ebp
push ebx
call fcn.005567da
push dword [esp + 0x34]
call fcn.005890e9
add esp, 0x24
jmp 0x57696e
xor eax, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x74], eax
test ecx, ecx
je 0x576083
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx]
test eax, eax
jle 0x57600c
add edx, 0x1a
xor edi, edi
dec eax
mov word [edx], di
lea edx, [edx + 0x14]
test eax, eax
jg 0x575fff
mov eax, dword [ecx]
test eax, eax
jle 0x576022
lea edx, [ecx + 0x1a]
xor edi, edi
dec eax
mov word [edx], di
lea edx, [edx + 0x14]
test eax, eax
jg 0x576015
push 0x42
pop eax
cmp word [ebp + 2], ax
jle 0x57602f
mov word [ebp + 2], ax
mov eax, dword [esp + 0x88]
test eax, eax
je 0x576089
mov edx, dword [ecx]
cmp edx, dword [eax]
jne 0x576089
xor eax, eax
mov edi, eax
test edx, edx
jle 0x576063
mov edx, eax
mov eax, dword [esp + 0x88]
lea edx, [edx + 0x14]
mov al, byte [edx + eax - 4]
and al, 1
inc edi
mov byte [ecx + edx - 4], al
cmp edi, dword [ecx]
jl 0x57604a
push 0xffffffffffffffff
push dword [esp + 0x8c]
push ecx
call fcn.005655dd
add esp, 0xc
test eax, eax
jne 0x576089
mov dword [esp + 0x74], 1
jmp 0x576089
xor eax, eax
mov word [ebp + 2], ax
mov eax, dword [ebx + 0x38]
dec eax
mov dword [esp + 0x48], eax
mov dword [ebx + 0x38], eax
xor eax, eax
push eax
push 0x2c
push dword [esp + 0x20]
call fcn.00560434
mov edi, eax
add esp, 0xc
mov dword [esp + 0x44], edi
test edi, edi
je 0x5760be
push edi
push 0x533c7c
push ebx
call fcn.0056f66a
add esp, 0xc
mov ecx, dword [esp + 0x18]
cmp byte [ecx + 0x57], 0
jne 0x5753b0
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x28], eax
xor eax, eax
push 0x24
push eax
lea eax, [esp + 0xe8]
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x3c]
add esp, 0xc
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe8], edi
test eax, eax
je 0x57610c
mov ecx, dword [eax]
jmp 0x57610e
xor ecx, ecx
push dword [esp + 0x10]
mov dword [edi + 0x10], eax
lea eax, [esp + 0xe4]
push eax
mov word [edi + 2], cx
call fcn.0056255b
push dword [esp + 0x90]
lea eax, [esp + 0xec]
push eax
call fcn.0056255b
mov eax, dword [esp + 0x78]
add esp, 0x10
test eax, eax
je 0x5761ad
cmp dword [esp + 0x38], 0
je 0x57619d
xor eax, eax
push 0x1c
push eax
lea eax, [esp + 0xc4]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0xbc], ebx
cmp dword [ebp + 0x2c], 0
mov dword [esp + 0xc0], 0x544c82
mov dword [esp + 0xd4], ebp
je 0x576192
push dword [ebp + 0x2c]
lea eax, [esp + 0xc0]
push eax
call fcn.00586738
pop ecx
pop ecx
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x68]
push eax
lea eax, [esp + 0xe4]
push eax
call fcn.00562588
pop ecx
pop ecx
mov eax, dword [edi + 0x18]
mov dword [edi + 0x1c], eax
xor eax, eax
cmp dword [ebp + 0x28], eax
jne 0x5761db
cmp dword [ebp + 0x2c], eax
jne 0x5761db
cmp dword [edi + 0x24], 1
jne 0x5761db
lea eax, [esp + 0x6c]
push eax
mov eax, dword [edi + 0x20]
push dword [eax]
push dword [esp + 0x20]
call fcn.0054b9c4
add esp, 0xc
mov byte [esp + 0x23], al
lea eax, [esp + 0xe0]
push eax
push edi
call fcn.00534aa6
pop ecx
pop ecx
mov ecx, dword [esp + 0x18]
cmp byte [ecx + 0x57], 0
jne 0x5753b0
cmp dword [esp + 0x38], 0
je 0x5769d1
xor edx, edx
cmp dword [edi + 0x24], 1
mov dword [esp + 0x3c], edx
mov dword [esp + 0x14], edx
jne 0x576277
mov eax, dword [edi + 0x20]
cmp dword [eax + 8], edx
jl 0x576277
mov eax, dword [eax]
test eax, eax
je 0x576277
test dword [eax + 4], 0x1000
jne 0x576277
mov eax, dword [eax + 0x14]
test eax, eax
je 0x576277
push edx
push dword [eax + 8]
push ecx
call fcn.005648df
mov esi, eax
xor eax, eax
push eax
push dword [esp + 0x48]
push dword [esp + 0x2c]
call fcn.0056565a
push esi
push eax
push ebx
call fcn.00565385
mov esi, dword [esp + 0x40]
add esp, 0x24
mov dword [esp + 0x3c], eax
neg eax
sbb ecx, ecx
and ecx, 0x500
xor edx, edx
mov eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x28]
mov dword [edi + 4], eax
inc dword [ebx + 0x28]
push dword [edi + 0x18]
push edx
push dword [esp + 0x40]
push ebx
call fcn.0056c031
movzx ecx, word [edi + 2]
push 0xfffffffffffffff8
push eax
mov dword [esp + 0xf0], eax
xor eax, eax
push eax
push ecx
push dword [edi + 4]
push 0x77
push esi
call fcn.0057b7e0
mov dword [esp + 0xb0], eax
lea edx, [ebx + 0x2c]
mov eax, dword [edx]
inc eax
mov dword [esp + 0x7c], edx
mov dword [esp + 0x60], eax
inc eax
mov dword [esp + 0x50], eax
push dword [esp + 0x50]
lea ecx, [eax + 2]
mov eax, dword [ebx + 0x38]
dec eax
mov dword [edx], ecx
mov edx, dword [esp + 0x68]
mov dword [esp + 0xa0], eax
dec eax
mov dword [ebx + 0x38], eax
mov dword [esp + 0x94], eax
lea eax, [ecx + 1]
mov dword [esp + 0x7c], ecx
add ecx, dword [edx]
mov dword [esp + 0xa8], eax
mov dword [ebx + 0x2c], ecx
lea eax, [ecx + 1]
mov dword [esp + 0xac], eax
mov eax, dword [edx]
add eax, ecx
mov dword [ebx + 0x2c], eax
xor eax, eax
push eax
push 0x47
push esi
call fcn.0057b76b
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0xb4]
mov eax, dword [eax]
dec eax
add eax, ecx
push eax
push ecx
xor eax, eax
push eax
push 0x4b
push esi
call fcn.0057b786
add esp, 0x50
push dword [esp + 0x64]
push dword [esp + 0x50]
push 0xa
push esi
call fcn.0057b76b
xor eax, eax
mov edx, 0x80
push eax
mov eax, dword [esp + 0x88]
neg eax
push 0x40
sbb eax, eax
and eax, 0x200
cmp byte [esp + 0x3a], 2
pop ecx
cmove ecx, edx
or ax, cx
or ax, word [esp + 0x28]
movzx eax, ax
push eax
push ebp
push dword [esp + 0x58]
push dword [esp + 0x58]
push dword [esp + 0x7c]
push dword [esp + 0x58]
push ebx
call fcn.005869fa
mov edx, eax
add esp, 0x30
mov dword [esp + 0x58], edx
test edx, edx
jne 0x5763b7
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x5753ac
push eax
push dword [esp + 0x1c]
call fcn.005408da
pop ecx
pop ecx
jmp 0x5753ac
xor eax, eax
cmp dword [ebx + 0x48], eax
je 0x576422
mov edx, dword [edi + 0x1c]
mov dword [edi + 0x18], edx
cmp word [edi + 2], ax
jbe 0x576408
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax]
lea eax, [ebx + 0x2c]
dec ecx
mov dword [esp + 0x50], eax
test edx, edx
jle 0x576401
mov edx, dword [edi + 0x14]
mov esi, dword [edi + 0x1c]
add edx, 0xe
movsx eax, word [edx]
lea edx, [edx + 0x10]
cmp eax, ecx
cmovle eax, ecx
mov ecx, eax
sub esi, 1
jne 0x5763e4
mov esi, dword [esp + 0x1c]
lea eax, [ebx + 0x2c]
mov dword [esp + 0x50], eax
lea eax, [ecx + 1]
mov word [edi + 2], ax
lea eax, [esp + 0xe0]
push eax
push edi
call fcn.00534aa6
mov edx, dword [esp + 0x60]
pop ecx
pop ecx
mov ecx, dword [esp + 0x50]
jmp 0x576425
lea ecx, [ebx + 0x2c]
mov eax, dword [ecx]
inc eax
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x24]
add eax, dword [edi + 0x18]
add dword [ecx], eax
xor ecx, ecx
movzx eax, byte [edx + 0x2f]
mov dword [esp + 0x2c], eax
mov al, byte [edx + 0x2d]
test al, al
movsx edx, al
mov eax, dword [esp + 0x38]
cmovns ecx, edx
cmp ecx, dword [eax]
jne 0x57645b
xor ecx, ecx
mov dword [esp + 0x30], ecx
jmp 0x5765fa
cmp byte [esp + 0x22], 0
je 0x57646d
test byte [ebp + 4], 1
mov eax, str.DISTINCT
je 0x576472
mov eax, str.GROUP_BY
push eax
push str.USE_TEMP_B_TREE_FOR__s
xor eax, eax
push eax
push ebx
call fcn.00582490
mov esi, dword [esp + 0x48]
add esp, 0x10
cmp dword [edi + 0x18], 0
mov dword [esp + 0x30], 1
mov eax, dword [esi]
mov edx, eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x40], eax
jle 0x5764e8
mov ebp, dword [edi + 0x14]
mov esi, eax
mov ebx, dword [edi + 0x18]
add ebp, 0xe
movsx ecx, word [ebp]
lea eax, [edx + 1]
cmp ecx, esi
lea ebp, [ebp + 0x10]
cmovl eax, edx
mov edx, eax
lea eax, [esi + 1]
cmovl eax, esi
mov esi, eax
sub ebx, 1
jne 0x5764b4
mov ebx, dword [esp + 0x108]
mov ebp, dword [esp + 0x10c]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x50], edx
push edx
push ebx
call fcn.00569724
xor ecx, ecx
mov dword [esp + 0x64], eax
push ecx
push ecx
push eax
push esi
push ebx
call fcn.005629ac
xor eax, eax
mov byte [edi], 1
add esp, 0x1c
mov edx, eax
mov dword [esp + 0x60], edx
cmp dword [edi + 0x18], eax
jle 0x576561
mov esi, dword [esp + 0x80]
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x54], eax
mov ecx, dword [edi + 0x14]
add ecx, eax
movsx eax, word [ecx + 0xe]
cmp eax, esi
jl 0x576543
lea eax, [esi + ebp]
push eax
push dword [ecx + 4]
push ebx
call fcn.00562913
mov edx, dword [esp + 0x6c]
add esp, 0xc
inc esi
mov eax, dword [esp + 0x54]
inc edx
add eax, 0x10
mov dword [esp + 0x60], edx
mov dword [esp + 0x54], eax
cmp edx, dword [edi + 0x18]
jl 0x576521
mov ebp, dword [esp + 0x10c]
xor eax, eax
push ebx
mov byte [edi], al
call fcn.00569765
mov esi, eax
push esi
push dword [esp + 0x58]
push dword [esp + 0x68]
push 0x61
push dword [esp + 0x30]
call fcn.0057b786
push esi
push dword [edi + 4]
push 0x8b
push dword [esp + 0x40]
call fcn.0057b76b
push esi
push ebx
call fcn.00573e04
mov esi, dword [esp + 0x80]
push esi
push dword [esp + 0x90]
push ebx
call fcn.00573dd7
push dword [esp + 0x94]
call fcn.005890e9
mov edx, dword [ebx + 0x28]
add esp, 0x40
mov dword [edi + 8], edx
inc dword [ebx + 0x28]
mov dword [esp + 0x60], edx
push ebx
call fcn.00569765
push esi
mov esi, dword [esp + 0x24]
push eax
push edx
push 0x79
push esi
mov dword [esp + 0x58], eax
call fcn.0057b786
push dword [esp + 0x60]
push dword [edi + 4]
push 0x22
push esi
call fcn.0057b76b
add esp, 0x28
mov byte [edi + 1], 1
xor ecx, ecx
cmp dword [ebx + 0x48], ecx
je 0x576663
push 0x1c
push ecx
lea eax, [esp + 0xc4]
push eax
call sub.VCRUNTIME140.dll_memset
xor ecx, ecx
mov dword [esp + 0xcc], 0x533d3d
add esp, 0xc
mov edx, ecx
mov dword [esp + 0x54], edx
cmp dword [edi + 0x24], ecx
jle 0x576663
mov dword [esp + 0x50], ecx
mov eax, dword [edi + 0x20]
mov eax, dword [ecx + eax]
test eax, eax
je 0x576650
push eax
lea eax, [esp + 0xc0]
push eax
call fcn.00586738
mov edx, dword [esp + 0x5c]
pop ecx
pop ecx
mov ecx, dword [esp + 0x50]
inc edx
add ecx, 0x18
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], ecx
cmp edx, dword [edi + 0x24]
jl 0x57662e
xor ecx, ecx
cmp dword [esp + 0x74], 0
je 0x57669b
mov eax, dword [esp + 0x18]
test byte [eax + 0x50], 4
jne 0x57669b
cmp dword [esp + 0x30], 0
jne 0x576685
mov eax, dword [esp + 0x58]
test byte [eax + 0x30], 8
je 0x57669b
push dword [esp + 0x9c]
mov dword [esp + 0x8c], ecx
push esi
call fcn.0057bb47
pop ecx
pop ecx
cmp dword [esp + 0x30], 0
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x54], eax
je 0x5766c2
push dword [esp + 0x60]
push dword [esp + 0x44]
push dword [edi + 4]
push 0x85
push esi
call fcn.0057b786
add esp, 0x14
mov eax, dword [esp + 0x38]
xor ecx, ecx
mov dword [esp + 0x80], ecx
cmp dword [eax], ecx
jle 0x57672a
mov ebp, dword [esp + 0x80]
lea ecx, [eax + 8]
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x7c]
add eax, ebp
cmp dword [esp + 0x30], 0
push eax
je 0x576701
push ebp
push dword [esp + 0x68]
push 0x5e
push esi
call fcn.0057b786
add esp, 0x14
jmp 0x57670f
mov byte [edi], 1
push dword [ecx]
push ebx
call fcn.00562913
add esp, 0xc
mov eax, dword [esp + 0x38]
inc ebp
mov ecx, dword [esp + 0x40]
add ecx, 0x14
mov dword [esp + 0x40], ecx
cmp ebp, dword [eax]
jl 0x5766e1
mov ebp, dword [esp + 0x10c]
mov ecx, dword [esp + 0xd8]
test ecx, ecx
je 0x576737
inc dword [ecx]
push 0xfffffffffffffff8
push ecx
push dword [eax]
push dword [esp + 0x88]
push dword [esp + 0x88]
push 0x5a
push esi
call fcn.0057b7e0
mov esi, dword [esi + 0x6c]
xor ecx, ecx
lea eax, [esi + 1]
push eax
push ecx
push eax
push 0xe
push dword [esp + 0x48]
call fcn.0057b786
mov eax, dword [esp + 0x68]
push dword [eax]
push dword [esp + 0xac]
push dword [esp + 0xb4]
push ebx
call fcn.00563291
mov eax, dword [esp + 0x64]
add esp, 0x40
inc eax
push dword [esp + 0x70]
push eax
push 0xa
push dword [esp + 0x28]
call fcn.0057b76b
push dword [esp + 0x58]
push dword [esp + 0x38]
push 0x3b
push dword [esp + 0x38]
call fcn.0057b76b
push dword [esp + 0x84]
push dword [esp + 0x70]
push 0xa
push dword [esp + 0x48]
call fcn.0057b76b
push esi
mov esi, dword [esp + 0x50]
push esi
call fcn.0058273c
push dword [esp + 0x64]
mov ecx, dword [esi + 0x6c]
push edi
push dword [esp + 0x74]
mov dword [eax + 8], ecx
push ebx
call fcn.0058d259
add esp, 0x48
push dword [esp + 0x34]
push 1
push 0x47
push esi
call fcn.0057b76b
add esp, 0x10
cmp dword [esp + 0x30], 0
je 0x576812
push dword [esp + 0x54]
push dword [edi + 4]
push 0x25
push esi
call fcn.0057b76b
add esp, 0x10
jmp 0x57682b
push dword [esp + 0x58]
call fcn.005890e9
push dword [esp + 0x88]
push esi
call fcn.0057bb47
add esp, 0xc
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x57683f
push eax
push dword [esp + 0x1c]
call fcn.005408da
pop ecx
pop ecx
push dword [esp + 0x70]
mov eax, dword [esp + 0x28]
inc eax
push eax
push 0xa
push esi
call fcn.0057b76b
push dword [esp + 0x58]
push esi
call fcn.00582757
push dword [esp + 0x3c]
mov edi, dword [esi + 0x6c]
push 1
push 0x47
push esi
call fcn.0057b76b
mov eax, dword [esp + 0x4c]
inc eax
push eax
push 0x43
push esi
call fcn.0057b752
push dword [esp + 0xa4]
push esi
call fcn.00584970
mov esi, dword [esi + 0x6c]
lea eax, [esi + 2]
push eax
push dword [esp + 0x74]
push 0x3b
push dword [esp + 0x64]
call fcn.0057b76b
mov eax, dword [esp + 0x70]
add esp, 0x4c
inc eax
push eax
push 0x43
push dword [esp + 0x24]
call fcn.0057b752
push dword [esp + 0x50]
push ebx
call fcn.00541546
push 0x10
inc esi
push esi
push dword [esp + 0x84]
push ebx
call fcn.00564a78
push edi
push esi
push dword [esp + 0x13c]
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0xbc]
push eax
push 0xffffffffffffffff
push ebp
push ebx
call fcn.005567da
mov eax, dword [esp + 0x68]
add esp, 0x44
mov edi, dword [esp + 0x1c]
inc eax
push eax
push 0x43
push edi
call fcn.0057b752
push dword [esp + 0x70]
push edi
call fcn.00584970
mov esi, dword [esp + 0x58]
push esi
push ebx
call fcn.00553f14
push dword [esp + 0x50]
xor eax, eax
push eax
push 0x47
push edi
call fcn.0057b76b
push dword [esp + 0x78]
push 0x43
push edi
call fcn.0057b752
add esp, 0x38
cmp word [esp + 0x14], 0
je 0x576959
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x576959
mov eax, dword [esi + 0x20]
push dword [eax + 0xc]
push dword [eax + 8]
push ecx
push ebx
call fcn.00541b3f
add esp, 0x10
mov esi, edi
mov edi, dword [esp + 0x110]
push dword [esp + 0x48]
push esi
call fcn.00584970
pop ecx
pop ecx
mov eax, dword [esp + 0x28]
cmp al, 3
jne 0x57698c
push str.DISTINCT
push str.USE_TEMP_B_TREE_FOR__s
xor eax, eax
push eax
push ebx
call fcn.00582490
add esp, 0x10
cmp dword [esp + 0x88], 0
je 0x5769af
mov eax, dword [esp + 0x10]
push edi
push dword [eax]
lea eax, [esp + 0x90]
push eax
push ebp
push ebx
call fcn.00543b73
add esp, 0x14
push dword [esp + 0xdc]
push esi
call fcn.00584970
pop ecx
pop ecx
xor eax, eax
xor ecx, ecx
cmp dword [ebx + 0x24], ecx
setg al
mov dword [esp + 0x5c], eax
jmp 0x5753ac
xor eax, eax
cmp dword [ebp + 0x24], eax
jne 0x576bf2
mov edx, dword [ebp + 0x1c]
cmp dword [edx], 1
jne 0x576bf2
mov ecx, dword [ebp + 0x20]
cmp dword [ecx], 1
jne 0x576bf2
cmp dword [ecx + 0x1c], eax
jne 0x576bf2
cmp dword [edi + 0x24], 1
jne 0x576bf2
cmp dword [ebp + 0x2c], eax
jne 0x576bf2
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x14], ecx
cmp byte [ecx + 0x2b], al
jne 0x576bf2
mov edx, dword [edx + 8]
cmp byte [edx], 0xa8
jne 0x576bf2
cmp dword [edx + 0x28], edi
jne 0x576bf2
mov eax, dword [edi + 0x20]
mov eax, dword [eax + 4]
test dword [eax + 4], 0x100
je 0x576bf0
test dword [edx + 4], 0x1000004
jne 0x576bf0
test ecx, ecx
je 0x576bf0
push dword [ecx + 0x3c]
push dword [ebx]
call fcn.0057526e
mov edx, eax
mov eax, dword [ebx + 0x28]
push edx
mov dword [esp + 0x60], eax
push ebx
lea ecx, [eax + 1]
mov dword [esp + 0x3c], edx
mov dword [ebx + 0x28], ecx
xor ecx, ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x54], eax
call fcn.0055e161
mov eax, dword [esp + 0x24]
xor ecx, ecx
push dword [eax]
push ecx
push dword [eax + 0x14]
push dword [esp + 0x48]
push ebx
call fcn.00578768
mov edx, dword [esp + 0x38]
add esp, 0x24
test byte [edx + 0x1c], 0x80
je 0x576ac6
push edx
call fcn.00572edd
pop ecx
mov dword [esp + 0x34], eax
jmp 0x576aca
mov eax, dword [esp + 0x34]
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x3c], edx
test byte [ecx + 0x30], 1
jne 0x576b1a
mov ecx, dword [edx + 8]
mov dword [esp + 0x3c], edx
test ecx, ecx
je 0x576b1a
mov dword [esp + 0x3c], edx
test byte [ecx + 0x38], 4
jne 0x576b08
movzx ebp, word [ecx + 0x30]
cmp bp, word [edx + 0x28]
jge 0x576b08
cmp dword [ecx + 0x24], 0
jne 0x576b08
test eax, eax
je 0x576b06
cmp bp, word [eax + 0x30]
jge 0x576b08
mov eax, ecx
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x576ae6
mov ebp, dword [esp + 0x10c]
mov dword [esp + 0x34], eax
test eax, eax
je 0x576b32
mov ecx, dword [eax + 0x2c]
push eax
push ebx
mov dword [esp + 0x4c], ecx
call fcn.0056c0b3
pop ecx
pop ecx
mov dword [esp + 0x40], eax
push 1
push dword [esp + 0x30]
push dword [esp + 0x4c]
push dword [esp + 0x60]
push 0x70
push esi
call fcn.0057b858
mov eax, dword [esp + 0x58]
add esp, 0x18
test eax, eax
je 0x576b61
push 0xfffffffffffffff8
push eax
push 0xffffffffffffffff
push esi
call fcn.0057bab2
add esp, 0x10
mov eax, dword [ebx + 0x2c]
inc eax
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x24]
add eax, dword [edi + 0x18]
add dword [ebx + 0x2c], eax
mov eax, dword [edi + 0x18]
add eax, dword [edi + 0xc]
mov edi, dword [esp + 0x54]
push eax
push edi
push 0x62
push esi
call fcn.0057b76b
push edi
push 0x7a
push esi
call fcn.0057b752
add esp, 0x1c
cmp byte [ebx + 0xdb], 2
jne 0x576d93
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
test ecx, ecx
je 0x576bbd
test byte [edx + 0x1c], 0x80
je 0x576bb9
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x576bbd
mov eax, dword [ecx]
jmp 0x576bc7
xor eax, eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x5c], 0
push eax
mov eax, str._USING_COVERING_INDEX
cmove eax, dword [esp + 0x50]
push eax
push dword [edx]
xor eax, eax
push str.SCAN__s_s_s
push eax
push ebx
call fcn.00582490
add esp, 0x18
jmp 0x576d93
xor eax, eax
mov ecx, dword [edi + 0x24]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x2c], eax
cmp dword [edi + 0x1c], eax
je 0x576c67
mov dword [esp + 0x14], eax
test ecx, ecx
jle 0x576c48
mov edx, dword [edi + 0x20]
mov esi, ecx
mov ebp, eax
mov eax, dword [edx]
test dword [eax + 4], 0x1000000
jne 0x576c2b
mov eax, dword [edx + 4]
mov ecx, esi
test byte [eax + 4], 0x20
jne 0x576c35
inc ebp
add edx, 0x18
mov ecx, esi
cmp ebp, esi
jl 0x576c15
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x10c]
mov eax, dword [esp + 0x14]
cmp eax, ecx
jne 0x576c8c
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
push eax
mov dword [esp + 0x50], eax
xor eax, eax
push eax
push 0x47
push esi
call fcn.0057b76b
add esp, 0x10
jmp 0x576c8c
cmp ecx, 1
jne 0x576c8c
mov eax, dword [edi + 0x20]
xor ecx, ecx
cmp dword [eax + 8], ecx
jl 0x576c8c
mov eax, dword [eax]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x44], eax
neg eax
sbb eax, eax
and eax, 0x500
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x2c]
inc eax
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x24]
add eax, dword [edi + 0x18]
add dword [ebx + 0x2c], eax
push edi
push ebx
call fcn.00553f14
xor eax, eax
push eax
movzx eax, byte [esp + 0x2f]
or ax, word [esp + 0x38]
movzx eax, ax
push eax
push ebp
push dword [esp + 0x58]
push dword [esp + 0x84]
push dword [esp + 0x74]
push dword [esp + 0x50]
push ebx
call fcn.005869fa
add esp, 0x28
mov dword [esp + 0x34], eax
test eax, eax
je 0x5753ac
movzx eax, byte [eax + 0x2f]
push eax
push edi
push dword [esp + 0x54]
mov dword [esp + 0x90], eax
push ebx
call fcn.0058d259
mov ecx, dword [esp + 0x94]
add esp, 0x10
test ecx, ecx
je 0x576d19
mov eax, dword [edi + 0x20]
test eax, eax
je 0x576d19
push dword [eax + 0xc]
push dword [eax + 8]
push ecx
push ebx
call fcn.00541b3f
add esp, 0x10
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x576d2f
push eax
push 1
push 0x47
push esi
call fcn.0057b76b
add esp, 0x10
cmp byte [esp + 0x23], 0
mov ecx, dword [esp + 0x34]
je 0x576d83
test byte [ecx + 0x30], 4
je 0x576d83
cmp byte [ecx + 0x2d], 0
je 0x576d83
movzx eax, byte [ecx + 0x2c]
sub eax, 1
mov dword [esp + 0x2c], eax
js 0x576d74
imul edx, eax, 0x60
add edx, ecx
mov eax, dword [edx + 0x348]
test byte [eax + 0x2c], 4
jne 0x576dcf
mov eax, dword [esp + 0x2c]
sub edx, 0x60
dec eax
mov dword [esp + 0x2c], eax
test eax, eax
jns 0x576d58
push dword [ecx + 0x20]
push esi
call fcn.00582757
pop ecx
pop ecx
mov ecx, dword [esp + 0x34]
push ecx
call fcn.005890e9
push edi
push ebx
call fcn.00541546
add esp, 0xc
push 0x10
push dword [esp + 0x4c]
xor eax, eax
push dword [esp + 0x70]
mov dword [esp + 0x94], eax
push ebx
call fcn.00564a78
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x120]
push eax
push eax
push edi
xor eax, eax
push eax
push eax
push 0xffffffffffffffff
push ebp
push ebx
call fcn.005567da
add esp, 0x30
jmp 0x576962
push dword [edx + 0x308]
jmp 0x576d77
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret