Function at 0x1401aee20
Capabilities:
Create thread
Get hostname
Resume thread

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x7a0
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x14028b7c8]
xor rax, rsp
mov qword [rsp + 0x790], rax
mov rsi, rcx
call fcn.1401503c0
lea rcx, [0x1402a0b60]
call fcn.1401ace00
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rbx, rax
mov edx, 0x5a
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edx, eax
mov ecx, 8
lea r8d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov edi, eax
neg edi
mov edx, 0x5a
mov rcx, rbx
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edx, eax
mov ecx, 9
lea r8d, [rcx + 0x3f]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, 0x5a
mov rcx, rbx
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edx, eax
mov ecx, 0xa
lea r8d, [rcx + 0x3e]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, 0x5a
mov rcx, rbx
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edx, eax
mov ecx, VariantTimeToDosDateTime
lea r8d, [rcx + 0x3d]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [0x1402a1974]
test ecx, ecx
cmove ecx, edi
lea rax, [0x1402a1770]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x60], 0x20
xor ebp, ebp
mov dword [rsp + 0x58], ebp
mov dword [rsp + 0x50], ebp
mov dword [rsp + 0x48], ebp
mov dword [rsp + 0x40], ebp
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], 0x190
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.GDI32.dll_CreateFontW]
mov rdx, rax
lea rcx, [rsi + 0x9f0]
call fcn.140141ec4
mov ecx, dword [0x1402a1970]
test ecx, ecx
cmove ecx, edi
lea rax, [0x1402a1570]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x60], 0x20
mov dword [rsp + 0x58], ebp
mov dword [rsp + 0x50], ebp
mov dword [rsp + 0x48], ebp
mov dword [rsp + 0x40], ebp
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], 0x190
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.GDI32.dll_CreateFontW]
mov rdx, rax
lea rcx, [rsi + 0xa00]
call fcn.140141ec4
mov rdi, qword [rsi + 0x90]
mov dword [rsi + 0x974], ebp
lea r8, [0x140223d50]
mov edx, 0x200
lea rcx, [rsi + 0x568]
call fcn.1400444d0
lea rdx, str._txt
mov rcx, rdi
call fcn.140157bac
test rax, rax
je 0x1401af047
mov dword [rsi + 0x970], 1
mov r9d, 0x200
lea r8, [rsi + 0x568]
lea rdx, [0x140223d70]
mov rcx, rax
call fcn.140157ea8
lea r8, [0x140223d80]
mov edx, 0x200
lea rcx, [rsi + 0x568]
call fcn.1401570e4
mov dword [rsi + 0x974], 1
jmp 0x1401af328
lea rdx, str._html
mov rcx, rdi
call fcn.140157bac
test rax, rax
je 0x1401af0a8
mov dword [rsi + 0x970], 1
mov r9d, 0x200
lea r8, [rsi + 0x568]
lea rdx, str._html_s
mov rcx, rax
call fcn.140157ea8
lea r8, str..htm
mov edx, 0x200
lea rcx, [rsi + 0x568]
call fcn.1401570e4
mov dword [rsi + 0x974], 2
jmp 0x1401af328
lea rdx, str._console
mov rcx, rdi
call fcn.140157bac
test rax, rax
je 0x1401af0d5
mov dword [rsi + 0x970], 1
mov dword [rsi + 0x974], 3
jmp 0x1401af328
lea rdx, str._bench
mov rcx, rdi
call fcn.140157bac
test rax, rax
je 0x1401af102
mov dword [rsi + 0x970], 1
mov dword [rsi + 0x974], 6
jmp 0x1401af328
lea rdx, str._jsontxt
mov rcx, rdi
call fcn.140157bac
test rax, rax
je 0x1401af236
mov dword [rsi + 0x970], 1
mov r9d, 0x200
lea r8, [rsi + 0x568]
lea rdx, str._jsontxt_s
mov rcx, rax
call fcn.140157ea8
test eax, eax
jns 0x1401af15e
mov dword [rsp + 0x70], 0x200
lea rdx, [rsp + 0x70]
lea rcx, [rsi + 0x568]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx r11d, word [rsp + 0x7c]
movzx eax, word [rsp + 0x7a]
movzx ecx, word [rsp + 0x78]
movzx edx, word [rsp + 0x76]
movzx r8d, word [rsp + 0x72]
movzx r9d, word [rsp + 0x70]
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r8d
lea r8, [0x140223e20]
mov edx, 0x200
lea rcx, [rsp + 0x390]
call fcn.1400444d0
lea r8, [rsp + 0x390]
mov edx, 0x200
lea rcx, [rsi + 0x568]
call fcn.1401570e4
mov ecx, 0x400
call fcn.14013f170
mov qword [rsi + 0x968], rax
lea r8, [rsi + 0x568]
mov edx, 0x200
mov rcx, rax
call fcn.140157c14
lea r8, [0x140223e58]
mov edx, 0x200
lea rcx, [rsi + 0x568]
call fcn.1401570e4
lea r8, [0x140223e68]
mov edx, 0x200
mov rcx, qword [rsi + 0x968]
call fcn.1401570e4
mov dword [rsi + 0x974], 8
jmp 0x1401af328
lea rdx, str._json
mov rcx, rdi
call fcn.140157bac
test rax, rax
je 0x1401af328
mov dword [rsi + 0x970], 1
mov r9d, 0x200
lea r8, [rsi + 0x568]
lea rdx, [0x140223e88]
mov rcx, rax
call fcn.140157ea8
test eax, eax
jns 0x1401af292
mov dword [rsp + 0x70], 0x200
lea rdx, [rsp + 0x70]
lea rcx, [rsi + 0x568]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx r11d, word [rsp + 0x7c]
movzx eax, word [rsp + 0x7a]
movzx ecx, word [rsp + 0x78]
movzx edx, word [rsp + 0x76]
movzx r8d, word [rsp + 0x72]
movzx r9d, word [rsp + 0x70]
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r8d
lea r8, str.__04d_02d_02d__02d_02d_02d
mov edx, 0x200
lea rcx, [rsp + 0x390]
call fcn.1400444d0
lea r8, [rsp + 0x390]
mov edx, 0x200
lea rcx, [rsi + 0x568]
call fcn.1401570e4
lea r8, str..json
mov edx, 0x200
lea rcx, [rsi + 0x568]
call fcn.1401570e4
mov dword [rsi + 0x974], 7
lea rdx, [0x140223ee8]
mov rcx, rdi
call fcn.140157bac
test rax, rax
je 0x1401af358
lea r8, [rsi + 0x978]
mov r9d, 4
lea rdx, str._core_d
mov rcx, rax
call fcn.140157ea8
lea rdx, str._coremask
mov rcx, rdi
call fcn.140157bac
test rax, rax
je 0x1401af39c
lea r8, [rsi + 0x97c]
mov r9d, 4
lea rdx, str._coremask_X
mov rcx, rax
call fcn.140157ea8
mov dword [rsi + 0x970], 1
mov dword [rsi + 0x974], 4
lea rdx, str._removeservice
mov rcx, rdi
call fcn.140157bac
test rax, rax
je 0x1401af3c4
mov dword [rsi + 0x970], 1
mov dword [rsi + 0x974], 5
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPriorityClass]
mov dword [rsi + 0xe78], eax
cmp dword [rsi + 0x970], ebp
jne 0x1401af529
cmp dword [rsi + 0xe64], ebp
je 0x1401af437
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
xor r9d, r9d
lea r8, [0x1401ab7d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi + 0x158], rax
test rax, rax
je 0x1401af42a
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, qword [rsi + 0x158]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor ecx, ecx
call fcn.140179620
mov rcx, rsi
call fcn.1401ab800
mov rcx, qword [0x1402a0b30]
mov rax, qword [rcx]
call qword [rax + 0xc0]
mov rcx, qword [0x1402a0b30]
test rcx, rcx
je 0x1401af46d
mov rax, qword [rcx]
mov edx, 1
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [0x1402a0b30], rbp
mov rcx, rsi
call fcn.1401ab750
xor edx, edx
lea rcx, [rsp + 0x90]
call fcn.1401ab4a0
nop
lea rax, [rsp + 0x90]
mov qword [rsi + 0x40], rax
lea rcx, [rsp + 0x90]
call fcn.140142d1c
nop
lea rax, [rsp + 0x2a8]
mov qword [rsp + 0x70], rax
lea rax, vtable.CMenuButton.0
mov qword [rsp + 0x2a8], rax
lea rax, vtable.CMenu.0
mov qword [rsp + 0x350], rax
lea rcx, [rsp + 0x350]
call fcn.140151620
nop
lea rcx, [rsp + 0x2a8]
call fcn.14014ec44
nop
lea rax, vtable.CFont.0
mov qword [rsp + 0x298], rax
lea rcx, [rsp + 0x298]
call fcn.140001610
nop
lea rcx, [rsp + 0x178]
call fcn.140192b30
nop
lea rcx, [rsp + 0x90]
call fcn.1401422fc
xor eax, eax
jmp 0x1401af536
mov rcx, rsi
call fcn.1401ab800
mov eax, 1
mov rcx, qword [rsp + 0x790]
xor rcx, rsp
call fcn.140156fd0
lea r11, [rsp + 0x7a0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret