Function at 0x180055db0
Capabilities:
Download url
Query environment variable
Receive data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x1801da600]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rdi, rcx
mov qword [rsp + 0x50], rcx
xor r15d, r15d
mov qword [rcx + 0x40], r15
mov rax, qword [0x1801f22d0]
mov rcx, qword [rax + 0xc8]
mov rcx, qword [rcx]
mov qword [rdi + 0x48], rcx
test rcx, rcx
je 0x180055e14
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov qword [rdi + 0x50], r15
mov qword [rsp + 0x48], r15
mov rcx, qword [rdi + 0x48]
mov rax, qword [rcx]
lea r8, [rsp + 0x48]
lea rdx, [0x1801b70e8]
call qword [rax + 0x38]
test eax, eax
js 0x1800566af
mov rbx, qword [rsp + 0x48]
mov rcx, qword [rdi + 0x40]
test rcx, rcx
je 0x180055e4f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 0x40], rbx
mov rax, qword [rbx]
lea rdx, [rdi + 0x50]
mov rcx, rbx
call qword [rax + 0x140]
lea rcx, str.appdata
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rsi, rax
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x180055e80
call fcn.18014dcf8
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], rbx
lea r8, [rbp - 0x60]
mov edx, eax
lea rcx, [rbp - 0x80]
call fcn.180041420
nop
call fcn.18014dcf8
lea rcx, str.Galaxy
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], 6
lea r8, [rbp - 0x60]
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.180041420
nop
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.18004ed90
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x180055f23
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180055f1e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180055f1e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18014e8b0
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x60]
call fcn.18004e630
movsd xmm0, qword [rax]
movsd qword [rsp + 0x38], xmm0
mov ecx, dword [rax + 8]
mov dword [rsp + 0x60], ecx
lea rax, [0x1801dc060]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x180055fe8
cmp eax, 1
je 0x180055ff0
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x60]
call fcn.18004e630
movsd xmm0, qword [rax]
movsd qword [rsp + 0x38], xmm0
mov edx, dword [rax + 8]
mov ecx, dword [rsp + 0x38]
test edx, edx
je 0x180055f9d
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x1800566d2
cmp ecx, 3
je 0x180056012
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rcx, qword [rbp - 0x80]
call fcn.18014e404
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x1800566e3
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rcx, qword [rbp - 0x80]
call fcn.18014df58
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x18005669a
jmp 0x180056012
test ecx, ecx
jne 0x1800566f8
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rcx, qword [rbp - 0x80]
call fcn.18014df58
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x180056685
call fcn.18014dcf8
lea rcx, str.imgui.ini
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], 9
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rbp - 0x60]
call fcn.180041420
nop
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x80]
call fcn.18004ed90
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x18005608e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180056089
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180056089
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18014e8b0
xor ecx, ecx
call fcn.180095210
mov rsi, rax
mov edx, dword [0x1801f22a4]
mov rcx, qword gs:[0x58]
mov eax, 0x18
mov rcx, qword [rcx + rdx*8]
lea rbx, [0x1801f4010]
mov ecx, dword [rax + rcx]
cmp dword [0x1801f400c], ecx
jle 0x180056139
lea rcx, [0x1801f400c]
call fcn.18014ed38
cmp dword [0x1801f400c], 0xffffffff
jne 0x180056139
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rdx, qword [rbp - 0x80]
mov rax, qword [rbp - 0x70]
lea r9, [rdx + rax*2]
lea rax, [rbp - 0x80]
cmova rax, qword [rbp - 0x80]
cmp rax, r9
je 0x180056114
nop dword [rax + rax]
cmp word [rax], 0x2f
jne 0x18005610b
mov word [rax], 0x5c
add rax, 2
cmp rax, r9
jne 0x180056100
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.180056b20
lea rcx, [0x1801582e0]
call fcn.18014ec78
nop
lea rcx, [0x1801f400c]
call fcn.18014eccc
cmp qword [0x1801f4028], 0xf
cmova rbx, qword [0x1801f4010]
mov qword [rsi + 0x20], rbx
mov rdx, qword [rdi + 0x50]
mov rcx, qword [rdi + 0x40]
call fcn.180123280
mov rcx, qword [0x1801f22d0]
mov rcx, qword [rcx + 0x28]
call fcn.180125a00
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x1801bbf30]
movdqu xmmword [rsp + 0x70], xmm1
movsd xmm0, qword [str.TitleFont.ttf]
movsd qword [rsp + 0x60], xmm0
mov eax, dword [0x1801b6fc0]
mov dword [rsp + 0x68], eax
movzx eax, word [0x1801b6fc4]
mov word [rsp + 0x6c], ax
mov byte [rsp + 0x6e], 0
lea rcx, [rbp - 0x60]
call fcn.18003ecd0
nop
lea r9, [rsp + 0x60]
mov r8, rax
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp]
call fcn.180045ba0
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x180056208
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180056203
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180056203
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18014e8b0
movdqa xmm0, xmmword [0x1801bbe80]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x180056259
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180056254
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180056254
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18014e8b0
lea r8, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova r8, qword [rbp]
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea rdx, str.https:__cdn.discordapp.com_attachments_1149369146191118367_1155536584473583687_FontAwesome.ttf
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
lea rcx, [rbp + 0x20]
call fcn.18010c350
mov byte [rbp + 0x2c], 0
mov eax, dword [str.Rubik]
mov dword [rbp + 0x76], eax
movzx eax, word [0x1801b7034]
mov word [rbp + 0x7a], ax
lea rcx, [rsp + 0x60]
call fcn.18003ecd0
nop
mov r8d, 0xe
lea rdx, str.TitleFont.ttf
mov rcx, rax
call fcn.180017d10
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x18005632c
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180056327
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180056327
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18014e8b0
movdqa xmm0, xmmword [0x1801bbe80]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
lea rcx, [rbp - 0x60]
call fcn.18003ecd0
nop
mov r8d, 0x10
lea rdx, str.FontAwesome.ttf
mov rcx, rax
call fcn.180017d10
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x1800563c9
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800563c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800563c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18014e8b0
movdqa xmm0, xmmword [0x1801bbe80]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
call fcn.180095380
mov qword [rsp + 0x28], r15
lea rcx, [rbp + 0x20]
mov qword [rsp + 0x20], rcx
movss xmm3, dword [0x1801baa18]
mov r8d, 0x225bc
lea rdx, [0x180176290]
mov rcx, qword [rax + 0x48]
call fcn.18010ccf0
mov qword [rdi], rax
call fcn.180095380
mov qword [rsp + 0x20], r15
xor r9d, r9d
movss xmm2, dword [0x1801ba9d8]
lea rdx, str.C:WindowsFontsArial.ttf
mov rcx, qword [rax + 0x48]
call fcn.18010cb10
mov qword [rdi + 0x10], rax
call fcn.180095380
mov qword [rsp + 0x20], r15
xor r9d, r9d
movss xmm2, dword [0x1801ba9d8]
lea rdx, str.C:WindowsFontsArialBD.ttf
mov rcx, qword [rax + 0x48]
call fcn.18010cb10
mov qword [rdi + 0x18], rax
call fcn.180095380
mov qword [rsp + 0x20], r15
xor r9d, r9d
movss xmm2, dword [0x1801ba9e0]
lea rdx, str.C:WindowsFontsArialBD.ttf
mov rcx, qword [rax + 0x48]
call fcn.18010cb10
mov qword [rdi + 0x38], rax
call fcn.180095380
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rdx, qword [rbp - 0x20]
mov qword [rsp + 0x20], r15
xor r9d, r9d
movss xmm2, dword [0x1801baa48]
mov rcx, qword [rax + 0x48]
call fcn.18010cb10
mov qword [rdi + 0x20], rax
call fcn.180095380
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rdx, qword [rbp - 0x40]
mov qword [rsp + 0x20], r15
xor r9d, r9d
movss xmm2, dword [0x1801baa48]
mov rcx, qword [rax + 0x48]
call fcn.18010cb10
mov qword [rdi + 0x30], rax
call fcn.180095380
mov qword [rsp + 0x20], r15
xor r9d, r9d
movss xmm2, dword [0x1801baa18]
lea rdx, str.C:WindowsFonts_bahnschrift.ttf
mov rcx, qword [rax + 0x48]
call fcn.18010cb10
mov qword [rdi + 0x28], rax
lea rcx, [0x1801f3070]
call fcn.18003ee50
mov qword [0x1801f3090], rdi
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x180056563
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005655e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005655e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18014e8b0
movdqa xmm0, xmmword [0x1801bbe80]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x1800565b2
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800565ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800565ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18014e8b0
movdqa xmm0, xmmword [0x1801bbe80]
movdqu xmmword [rbp - 0x10], xmm0
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x180056601
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800565fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800565fc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18014e8b0
movdqa xmm0, xmmword [0x1801bbe80]
movdqu xmmword [rbp + 0x10], xmm0
mov byte [rbp], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x180056656
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180056650
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180056650
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18014e8b0
nop
mov rax, rdi
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.18014e890
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
shr rdx, 0x20
lea r8, [rbp - 0x80]
lea rcx, str.create_directory
call fcn.180046b50
int3
shr rdx, 0x20
lea r8, [rbp - 0x80]
lea rcx, str.create_directory
call fcn.180046b50
nop
lea rdx, str.Failed_to_get_D3D_device.
lea rcx, [rsp + 0x60]
call fcn.18002e5a0
lea rdx, [0x1801d5fc0]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea r8, [rbp - 0x80]
lea rcx, str.status
call fcn.180046b50
int3
shr rdx, 0x20
lea r8, [rbp - 0x80]
lea rcx, str.remove
call fcn.180046b50
int3
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x60]
call fcn.18004e560
int3