Function at 0x140006f98
Capabilities:
Create thread
Download url
Receive data

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x14001a440]
xor rax, rsp
mov qword [rbp + 0x120], rax
xor edx, edx
mov rsi, rcx
lea rcx, [rbp]
mov r14d, r9d
lea r8d, [rdx + 0x48]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x14000460c]
mov qword [rbp + 0x18], rsi
mov qword [rbp + 8], rax
mov ecx, 0xf0e13
lea rax, [0x140011a38]
mov qword [rbp + 0x40], rax
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
lea rcx, [rbp]
mov qword [rbp + 0x30], rax
call qword [sym.imp.USER32.dll_RegisterClassA]
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconA]
mov rcx, qword [0x14001a9b0]
mov edi, 0x80
mov r9, rax
mov edx, edi
xor r8d, r8d
mov rbx, rax
call qword [sym.imp.USER32.dll_SendMessageA]
mov rcx, qword [0x14001a9b0]
lea r13d, [rdi - 0x7f]
mov r8d, r13d
mov r9, rbx
mov edx, edi
call qword [sym.imp.USER32.dll_SendMessageA]
xor r15d, r15d
mov dword [rbp - 0x80], r15d
call fcn.140001984
lea rdx, [rbp - 0x80]
mov qword [rbp - 0x78], rax
lea rcx, [rbp + 0x100]
call fcn.1400057e0
lea rdx, [rbp - 0x80]
cmp dword [rbp - 0x80], r15d
jne 0x14000763c
cmp qword [rbp + 0x118], 7
lea rax, [rbp + 0x100]
lea r8, [rsp + 0x70]
cmova rax, qword [rbp + 0x100]
lea rcx, [rbp + 0x90]
mov qword [rbp - 0x80], rax
mov rax, qword [rbp + 0x110]
mov qword [rbp - 0x78], rax
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
call fcn.140001718
mov rcx, qword [rbp + 0xa0]
movabs rdi, 0x7fffffffffffffff
mov rax, rdi
sub rax, rcx
cmp rax, 0xa
jb 0x140007636
mov dl, byte [rsp + 0x70]
lea rax, str._Resources
mov qword [rsp + 0x30], 0xa
lea r12d, [r13 + 0xe]
cmp qword [rbp + 0xa8], r12
lea r9, [rbp + 0x90]
mov qword [rsp + 0x28], rax
lea r8, [rbp + 0x90]
cmova r9, qword [rbp + 0x90]
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x70]
call fcn.140002b28
mov r8b, r15b
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x50]
call fcn.140001624
lea rcx, [rbp + 0x50]
call fcn.140005c40
lea rcx, [rbp + 0x50]
mov bl, al
call fcn.1400054a4
test bl, bl
jne 0x14000718a
mov r8b, r15b
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x50]
call fcn.140001624
cmp qword [rbp + 0x68], 7
lea rcx, [rbp + 0x50]
cmova rcx, qword [rbp + 0x50]
call fcn.14000ef48
shr rax, 0x20
test eax, eax
jne 0x140007649
lea rcx, [rbp + 0x50]
call fcn.1400054a4
mov rax, qword [rbp + 0x80]
sub rdi, rax
cmp rdi, 9
jb 0x140007636
cmp qword [rbp + 0x88], r12
lea rcx, str._logo.png
mov dl, byte [rsp + 0x70]
lea r9, [rbp + 0x70]
cmova r9, qword [rbp + 0x70]
lea r8, [rbp + 0x70]
mov qword [rsp + 0x30], 9
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0xe0]
mov qword [rsp + 0x20], rax
call fcn.140002b28
xorps xmm0, xmm0
lea rdx, str.https:__raw.githubusercontent.com_flarialmc_newcdn_main_assets_logo.png
xorps xmm1, xmm1
lea rcx, [rbp + 0xc0]
mov r8d, 0x47
movups xmmword [rbp + 0xc0], xmm0
movdqu xmmword [rbp + 0xd0], xmm1
call fcn.14000120c
cmp qword [rbp + 0xf8], r12
lea r8, [rbp + 0xe0]
lea rdx, [rbp + 0xc0]
mov qword [rsp + 0x20], r15
cmova r8, qword [rbp + 0xe0]
cmp qword [rbp + 0xd8], r12
cmova rdx, qword [rbp + 0xc0]
xor r9d, r9d
xor ecx, ecx
call sub.urlmon.dll_URLDownloadToFileA
mov eax, dword [0x140019004]
lea rdx, str.Flarial_Minimal
mov qword [rsp + 0x58], r15
xor r9d, r9d
mov qword [rsp + 0x50], rsi
mov r8, rdx
mov qword [rsp + 0x48], r15
xor ecx, ecx
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], eax
mov eax, dword [section..data]
mov dword [rsp + 0x30], eax
mov eax, 0x64
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [0x14001a9b0], rax
test rax, rax
je 0x1400074a9
lea rax, str.Space_Grotesk
xor edx, edx
mov qword [rsp + 0x68], rax
xor r9d, r9d
mov dword [rsp + 0x60], r15d
xor r8d, r8d
mov dword [rsp + 0x58], r15d
mov dword [rsp + 0x50], r15d
lea ecx, [rdx + 0x10]
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 0x190
call qword [sym.imp.GDI32.dll_CreateFontW]
mov rcx, qword [0x14001a9b0]
mov r9, r13
mov r8, rax
mov qword [0x14001a9b8], rax
mov edx, 0x30
call qword [sym.imp.USER32.dll_SendMessageA]
mov rcx, qword [0x14001a9b0]
mov edx, r14d
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, [0x14001a9c0]
xor ecx, ecx
call fcn.1400011b8
mov rcx, qword [0x14001a9b0]
lea rdx, [rbp + 0xb0]
call qword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [rbp + 0xb8]
lea r9, [0x14001a9c8]
mov ecx, dword [rbp + 0xbc]
lea r8, [rbp - 0x50]
sub edx, dword [rbp + 0xb0]
sub ecx, dword [rbp + 0xb4]
mov rax, qword [0x14001a9b0]
and dword [rbp + 0x5c], r15d
and dword [rbp + 0x60], r15d
mov qword [rbp - 0x80], rax
mov rax, r15
mov dword [rbp - 0x78], edx
lea rdx, [rbp + 0x50]
mov dword [rbp - 0x74], ecx
movups xmm0, xmmword [rbp - 0x80]
mov rcx, qword [0x14001a9c0]
mov dword [rbp + 0x50], r15d
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp + 0x54], rax
mov qword [rbp + 0x64], r15
mov dword [rbp - 0x70], r15d
movsd xmm1, qword [rbp - 0x70]
movsd qword [rbp - 0x40], xmm1
mov rax, qword [rcx]
mov qword [rbp - 0x80], r15
call qword [rax + 0x70]
mov rcx, r13
call fcn.14000f3c8
lea rcx, [rbp - 0x58]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea r8, [0x14000198c]
xor ecx, ecx
mov dword [rsp + 0x20], r15d
xor edx, edx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x60], rax
test rax, rax
je 0x140007627
cmp dword [rbp - 0x58], r15d
je 0x14000765c
movaps xmm0, xmmword [rbp - 0x60]
lea rcx, [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x14000765c
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x60], xmm0
jmp 0x14000742c
lea rcx, [rbp - 0x38]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x38]
call qword [sym.imp.USER32.dll_DispatchMessageA]
xor r9d, r9d
lea rcx, [rbp - 0x38]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x140007418
mov rcx, qword [0x14001a9b8]
test rcx, rcx
je 0x140007454
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x14001a9d0]
test rcx, rcx
je 0x140007466
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x14001a9d8]
test rcx, rcx
je 0x140007478
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x14001a9c8]
test rcx, rcx
je 0x14000748a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x14001a9c0]
test rcx, rcx
je 0x14000749c
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp dword [rbp - 0x58], r15d
je 0x1400074a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov rdx, qword [rbp + 0xd8]
mov ebx, 0x1000
cmp rdx, r12
jbe 0x1400074ea
mov rcx, qword [rbp + 0xc0]
inc rdx
mov rax, rcx
cmp rdx, rbx
jb 0x1400074e5
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400075ce
call fcn.14000f404
mov rdx, qword [rbp + 0xf8]
movdqa xmm0, xmmword [0x140011f10]
mov byte [rbp + 0xc0], r15b
movdqu xmmword [rbp + 0xd0], xmm0
cmp rdx, r12
jbe 0x140007545
mov rcx, qword [rbp + 0xe0]
inc rdx
mov rax, rcx
cmp rdx, rbx
jb 0x140007538
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400075ce
call fcn.14000f404
movdqa xmm0, xmmword [0x140011f10]
mov rdx, qword [rbp + 0x88]
mov byte [rbp + 0xe0], r15b
movdqu xmmword [rbp + 0xf0], xmm0
cmp rdx, r12
jbe 0x140007589
mov rcx, qword [rbp + 0x70]
inc rdx
mov rax, rcx
cmp rdx, rbx
jb 0x140007584
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400075ce
call fcn.14000f404
mov rdx, qword [rbp + 0xa8]
mov qword [rbp + 0x80], r15
mov qword [rbp + 0x88], r12
mov byte [rbp + 0x70], r15b
cmp rdx, r12
jbe 0x1400075da
mov rcx, qword [rbp + 0x90]
inc rdx
mov rax, rcx
cmp rdx, rbx
jb 0x1400075d5
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400075d5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000f404
lea rcx, [rbp + 0x100]
mov qword [rbp + 0xa0], r15
mov qword [rbp + 0xa8], r12
mov byte [rbp + 0x90], r15b
call fcn.1400054a4
xor eax, eax
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.14000f760
mov rbx, qword [rsp + 0x278]
add rsp, 0x230
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 6
mov dword [rbp - 0x58], r15d
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
call fcn.140005524
int3
lea rcx, str.current_path__
call fcn.140005328
int3
lea r8, [rbp + 0x50]
mov edx, eax
lea rcx, str.create_directory
call fcn.1400053c8
int3
mov ecx, r13d
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3