Function at 0x18000ff50
Capabilities:
Create service
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x180089b10]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov r8d, 3
lea rdx, [0x18007b9fe]
lea rcx, [rbp + 0x1b8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
xor r14d, r14d
mov word [rbp + 0x1be], r14w
lea r8d, [r14 + 5]
lea rdx, [0x18007bab8]
lea rcx, [rbp + 0x1b8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
lea r8d, [r14 + 2]
lea rdx, [0x18007baf6]
lea rcx, [rbp + 0x1b8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
lea r8d, [r14 + 2]
lea rdx, [0x18007bb18]
lea rcx, [rbp + 0x1cc]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov word [rbp + 0x1d0], r14w
lea r8d, [r14 + 4]
lea rdx, [0x18007bb4e]
lea rcx, [rbp + 0x1b8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
lea r8d, [r14 + 3]
lea rdx, [0x18007bb64]
lea rcx, [rbp + 0x198]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov eax, dword [0x18007bb6c]
mov dword [rbp + 0x19c], eax
mov dword [rbp + 0x1a0], 0x45
lea rcx, [rbp + 0x198]
sub rcx, 2
nop word [rax + rax]
lea rcx, [rcx + 2]
cmp word [rcx], r14w
jne 0x180010050
mov eax, dword [0x1800793c8]
mov dword [rcx], eax
mov dword [rbp + 0x1a4], 0x65
mov dword [rbp + 0x1a6], 0x6e
mov r8d, 4
lea rdx, [0x18007bb78]
lea rcx, [rbp + 0x1a8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov r8d, 2
lea rdx, [0x18007bb80]
lea rcx, [rbp + 0x1ae]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov dword [rbp + 0x1b0], 0x70
mov dword [rbp + 0x1b2], PathMakeUniqueName
mov dword [rbp + 0x1b4], PathMakeUniqueName
mov r9d, 0xee
xor r8d, r8d
xor edx, edx
lea rcx, [0x180088600]
call fcn.180005da0
mov r15b, 1
movzx ebx, r15b
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], ILFindLastID
mov byte [rbp - 0x50], r14b
lea r8, [rbp - 0x50]
xor edx, edx
lea ecx, [rdx + 6]
call fcn.18000d530
test al, al
jne 0x180010259
mov dword [rbp + 0x160], 0x736148
mov eax, dword [str._slo]
mov dword [rbp + 0x163], eax
movsd xmm0, qword [str.w_VDUP32]
movsd qword [rbp + 0x167], xmm0
movzx eax, byte [0x18007bb98]
mov byte [rbp + 0x16f], al
mov r8d, 2
lea rdx, [0x18007bb9c]
lea rcx, [rbp + 0x160]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
mov eax, 0x20
mov word [rbp + 0x171], ax
movzx eax, word [0x18007bba4]
mov word [rbp + 0x172], ax
movzx eax, byte [0x18007bba6]
mov byte [rbp + 0x174], al
lea rcx, [rbp + 0x160]
dec rcx
nop word [rax + rax]
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x180010190
movzx eax, word [0x18007bba8]
mov word [rcx], ax
movzx eax, byte [0x18007bbaa]
mov byte [rcx + 2], al
mov eax, dword [str.er_VM]
mov dword [rbp + 0x176], eax
movzx eax, word [0x18007bbb0]
mov word [rbp + 0x17a], ax
mov byte [rbp + 0x17b], 0x4f
mov eax, 0x56
mov word [rbp + 0x17c], ax
mov byte [rsp + 0x71], 0
mov byte [rsp + 0x70], 0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], reloc.SHELL32.dll_ILFindLastID
mov r9d, 0xf01ff
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x71]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CreateServiceA]
test rax, rax
je 0x180010240
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor r9d, r9d
lea r8, [rbp + 0x160]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHPathPrepareForWriteA]
jmp 0x18001050e
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], ILFindLastID
mov byte [rbp - 0x70], 0
lea rdx, [rbp + 0x1b8]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rdi, rax
mov dword [rsp + 0x74], r14d
movsd xmm0, qword [0x1800886a8]
mulsd xmm0, qword [0x18007f310]
addsd xmm0, qword [0x18007f2f0]
cvttsd2si rcx, xmm0
mov dword [rsp + 0x78], ecx
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x8b
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp - 0x50]
lea rdx, [0x180088628]
xor ecx, ecx
call fcn.180051440
test rdi, rdi
cmove ebx, r14d
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x30]
mov edx, 3
lea ecx, [rdx - 1]
mov r8d, 0x190
call qword [sym.imp.ADVAPI32.dll_SaferGetPolicyInformation]
mov esi, eax
xor edx, edx
mov r8d, 0x120
lea rcx, [rbp - 0x70]
call fcn.180010dc0
test al, al
jne 0x18001046b
mov word [rbp + 0x160], r14w
mov r8d, 1
lea rdx, [0x18007bbc8]
lea rcx, [rbp + 0x160]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
mov eax, 0x6f
mov word [rbp + 0x162], ax
mov eax, dword [0x18007bbf2]
mov dword [rbp + 0x164], eax
movzx eax, word [0x18007bbf6]
mov word [rbp + 0x168], ax
mov word [rbp + 0x16a], r14w
mov r8d, 3
lea rdx, [0x18007bc50]
lea rcx, [rbp + 0x16a]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov word [rbp + 0x170], r14w
mov r8d, 3
lea rdx, [0x18007bd40]
lea rcx, [rbp + 0x170]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov word [rbp + 0x176], r14w
mov r8d, 3
lea rdx, [0x18007bde6]
lea rcx, [rbp + 0x160]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
mov r8d, 4
lea rdx, [0x18007be54]
lea rcx, [rbp + 0x17c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov eax, dword [0x18007beb0]
mov dword [rbp + 0x184], eax
movzx eax, word [0x18007beb4]
mov word [rbp + 0x188], ax
movabs rax, 0x6f006900640074
mov qword [rbp + 0x18a], rax
mov word [rbp + 0x192], r14w
mov bl, 1
xor r8d, r8d
xor edx, edx
lea rcx, [rdx - 1]
call qword [sym.imp.dbghelp.dll_SymInitialize]
movzx ebx, bl
test eax, eax
cmove ebx, r14d
lea r9, [rsp + 0x78]
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x160]
call qword [sym.imp.SHELL32.dll_SHGetDiskFreeSpaceExW]
test bl, bl
je 0x1800104c0
xor r8d, r8d
xor edx, edx
lea rcx, [rdx - 1]
call qword [sym.imp.dbghelp.dll_SymRegisterCallback64]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.dbghelp.dll_SymCleanup]
adc eax, 0x6123f
jmp 0x1800104c0
test bl, bl
je 0x180010478
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
movzx ebx, r15b
test esi, esi
cmove ebx, r14d
xor edx, edx
lea rcx, [rbp + 0x198]
call qword [sym.imp.ADVAPI32.dll_SaferiIsExecutableFileType]
test bl, bl
je 0x1800104b1
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x30]
mov r8d, dword [rsp + 0x74]
mov edx, 3
lea ecx, [rdx - 1]
call qword [sym.imp.ADVAPI32.dll_SaferSetPolicyInformation]
xor r8d, r8d
lea edx, [r8 + 0x62]
xor ecx, ecx
call fcn.18004c260
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x1800104fe
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800104f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800104f9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18006f72c
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], ILFindLastID
mov byte [rbp - 0x70], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x18001054c
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180010547
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180010547
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18006f72c
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.18006fee0
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret