Function at 0x14000dff0
Capabilities:
Accept command line arguments
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x208]
sub rsp, 0x2e0
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140017008]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov r14, rax
movups xmm0, xmmword [str.1_TO]
movups xmmword [0x14001bee0], xmm0
lea rbx, [0x140017d10]
cmp rbx, 0xffffffffffffffff
je 0x14000e076
mov qword [0x140017da8], rbx
cmp qword [0x140017d10], 0
je 0x14000e076
mov cl, 1
call qword [rbx + 0x40]
lea rbx, [rbx + 0x48]
cmp qword [rbx], 0
jne 0x14000e067
mov rbx, qword [0x14001bf90]
mov rcx, qword [0x14001bf98]
cmp rbx, rcx
jae 0x14000e0ad
nop dword [rax]
mov rax, qword [rbx]
test rax, rax
je 0x14000e0a4
mov cl, 1
call qword [rax + 0x38]
mov rcx, qword [0x14001bf98]
add rbx, 8
cmp rbx, rcx
jb 0x14000e090
mov r13d, 1
mov dword [0x140018040], r13d
mov r9d, 0x100
lea r8, [0x140017e14]
lea edx, [r13 + 0x63]
mov rcx, rdi
call qword [sym.imp.USER32.dll_LoadStringW]
xor esi, esi
mov qword [0x140018018], rsi
mov dword [0x140018020], 0x10
mov dword [0x140018024], r13d
mov qword [0x140018028], r13
mov qword [0x140018030], rsi
mov dword [0x140018038], esi
mov dword [0x140018040], r13d
mov eax, dword [0x140013914]
mov dword [rbp - 0x50], eax
movzx eax, word [0x140013918]
mov word [rbp - 0x4c], ax
mov r12d, r13d
mov r15d, esi
lea rdx, str.Trillium_SAP_Client
lea rcx, [0x140017dc8]
call qword [sym.imp.mfc120u.dll_Ordinal_1499]
lea rdx, [rbp - 0x50]
mov rcx, r14
call fcn.14000d260
mov rbx, rax
test rax, rax
je 0x14000e501
nop
mov rdi, rbx
movzx eax, word [rbx]
cmp ax, 0x20
je 0x14000e174
nop dword [rax]
test ax, ax
je 0x14000e174
add rdi, 2
movzx eax, word [rdi]
cmp ax, 0x20
jne 0x14000e160
jmp 0x14000e17a
cmp word [rdi], 0x20
jne 0x14000e17e
add rdi, 2
mov qword [rsp + 0x30], rsi
mov r8d, 2
lea rdx, [0x140013934]
mov rcx, rbx
call qword [sym.imp.MSVCR120.dll_wcsncmp]
test eax, eax
jne 0x14000e1a8
mov r12d, esi
mov r15d, r13d
jmp 0x14000e4d7
mov r8, r13
lea rdx, str.dflnrtTw
mov rcx, rbx
call qword [sym.imp.MSVCR120.dll_wcsncmp]
test eax, eax
jne 0x14000e1f9
lea rcx, [rbx + 2]
lea rdx, [rsp + 0x30]
call fcn.14000d2d0
mov rdx, rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc120u.dll_Ordinal_306]
nop
mov rdx, qword [rsp + 0x60]
lea rcx, [0x140017dc8]
call qword [sym.imp.mfc120u.dll_Ordinal_1499]
nop
lea rcx, [rsp + 0x60]
jmp 0x14000e4c7
mov r8, r13
lea rdx, [0x1400118f4]
mov rcx, rbx
call qword [sym.imp.MSVCR120.dll_wcsncmp]
test eax, eax
jne 0x14000e24a
lea rcx, [rbx + 2]
lea rdx, [rsp + 0x30]
call fcn.14000d2d0
mov rdx, rax
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc120u.dll_Ordinal_306]
nop
mov rdx, qword [rsp + 0x58]
lea rcx, [0x140017dd0]
call qword [sym.imp.mfc120u.dll_Ordinal_1499]
nop
lea rcx, [rsp + 0x58]
jmp 0x14000e4c7
mov r8, r13
lea rdx, [0x140013940]
mov rcx, rbx
call qword [sym.imp.MSVCR120.dll_wcsncmp]
test eax, eax
jne 0x14000e29b
lea rcx, [rbx + 2]
lea rdx, [rsp + 0x30]
call fcn.14000d2d0
mov rdx, rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc120u.dll_Ordinal_306]
nop
mov rdx, qword [rsp + 0x70]
lea rcx, [0x140017db8]
call qword [sym.imp.mfc120u.dll_Ordinal_1499]
nop
lea rcx, [rsp + 0x70]
jmp 0x14000e4c7
mov r8, r13
lea rdx, [0x140013944]
mov rcx, rbx
call qword [sym.imp.MSVCR120.dll_wcsncmp]
test eax, eax
jne 0x14000e2ec
lea rcx, [rbx + 2]
lea rdx, [rsp + 0x30]
call fcn.14000d2d0
mov rdx, rax
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc120u.dll_Ordinal_306]
nop
mov rdx, qword [rsp + 0x68]
lea rcx, [0x140017dc0]
call qword [sym.imp.mfc120u.dll_Ordinal_1499]
nop
lea rcx, [rsp + 0x68]
jmp 0x14000e4c7
mov r8, r13
lea rdx, [0x140013948]
mov rcx, rbx
call qword [sym.imp.MSVCR120.dll_wcsncmp]
test eax, eax
jne 0x14000e37a
lea rcx, [rbx + 2]
lea rdx, [rsp + 0x30]
call fcn.14000d2d0
mov rbx, rax
mov rdx, rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc120u.dll_Ordinal_306]
mov rcx, qword [rsp + 0x38]
lea r8, [0x140017e14]
mov rax, r8
sub rax, rcx
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rcx]
mov byte [rcx + rax], dl
lea rcx, [rcx + 1]
test dl, dl
jne 0x14000e340
mov rcx, r8
sub rcx, rbx
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rbx]
mov word [rbx + rcx], ax
lea rbx, [rbx + 2]
test ax, ax
jne 0x14000e360
lea rcx, [rsp + 0x38]
jmp 0x14000e4c7
mov r8, r13
lea rdx, [0x14001394c]
mov rcx, rbx
call qword [sym.imp.MSVCR120.dll_wcsncmp]
test eax, eax
jne 0x14000e3db
lea rcx, [rbx + 2]
lea rdx, [rsp + 0x30]
call fcn.14000d2d0
mov rdx, rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc120u.dll_Ordinal_306]
nop
mov rdx, qword [rsp + 0x40]
lea rcx, [0x140017dd8]
call qword [sym.imp.mfc120u.dll_Ordinal_1499]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCR120.dll_atol]
mov dword [0x140017de0], eax
lea rcx, [rsp + 0x40]
jmp 0x14000e4c7
mov r8, r13
lea rdx, [0x140013950]
mov rcx, rbx
call qword [sym.imp.MSVCR120.dll_wcsncmp]
test eax, eax
jne 0x14000e40d
mov dl, 0x31
lea rcx, [0x140017de8]
call qword [sym.imp.mfc120u.dll_Ordinal_1497]
mov dword [0x140017df0], r13d
jmp 0x14000e4d7
mov r8, r13
lea rdx, [0x140013954]
mov rcx, rbx
call qword [sym.imp.MSVCR120.dll_wcsncmp]
test eax, eax
jne 0x14000e46b
lea rcx, [rbx + 2]
lea rdx, [rsp + 0x30]
call fcn.14000d2d0
mov rdx, rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc120u.dll_Ordinal_306]
nop
mov rdx, qword [rsp + 0x48]
lea rcx, [0x140017df8]
call qword [sym.imp.mfc120u.dll_Ordinal_1499]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.MSVCR120.dll_atol]
mov dword [0x140017e00], eax
lea rcx, [rsp + 0x48]
jmp 0x14000e4c7
mov r8, r13
lea rdx, [0x140013958]
mov rcx, rbx
call qword [sym.imp.MSVCR120.dll_wcsncmp]
test eax, eax
jne 0x14000e4d7
lea rcx, [rbx + 2]
lea rdx, [rsp + 0x30]
call fcn.14000d2d0
mov rdx, rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc120u.dll_Ordinal_306]
nop
mov rdx, qword [rsp + 0x50]
lea rcx, [0x140017e08]
call qword [sym.imp.mfc120u.dll_Ordinal_1499]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.MSVCR120.dll_atol]
mov dword [0x140017e10], eax
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc120u.dll_Ordinal_1031]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
jne 0x14000e4da
mov rcx, rdi
lea rdx, [rbp - 0x50]
call fcn.14000d260
mov rbx, rax
test rax, rax
jne 0x14000e150
test r12d, r12d
je 0x14000e65c
test r15d, r15d
jne 0x14000e65c
mov rbx, rsi
mov qword [rbp - 0x70], rbx
mov dword [rbp - 0x68], esi
mov qword [rbp - 0x60], rsi
mov qword [rsp + 0x38], rsi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.AppID
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x14000e670
mov rbx, qword [rsp + 0x38]
mov qword [rbp - 0x70], rbx
mov dword [rbp - 0x68], esi
mov qword [rsp + 0x78], rsi
mov dword [rbp - 0x80], esi
mov qword [rbp - 0x78], rsi
mov qword [rsp + 0x38], rsi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.240B46B4_FA28_4087_BBC0_EF8FA874EBA9
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x14000e670
mov rdi, qword [rsp + 0x38]
mov qword [rsp + 0x78], rdi
mov dword [rbp - 0x80], esi
mov dword [rsp + 0x40], 0x104
mov dword [rsp + 0x30], esi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rdx, str.LocalService
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
test eax, eax
jne 0x14000e633
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14000e62f
mov edx, dword [rsp + 0x30]
test edx, edx
je 0x14000e62a
cmp edx, 2
jbe 0x14000e61b
cmp edx, 7
jne 0x14000e62a
test al, 1
jne 0x14000e62a
mov edx, eax
shr edx, 1
cmp edx, 1
jb 0x14000e62a
mov r8d, eax
shr r8, 1
cmp word [rbp + r8*2 - 0x42], cx
jne 0x14000e62a
cmp edx, 1
jbe 0x14000e633
cmp word [rbp + r8*2 - 0x44], cx
jmp 0x14000e628
test al, 1
jne 0x14000e62a
shr rax, 1
cmp word [rbp + rax*2 - 0x42], 0
je 0x14000e633
mov ecx, 0xd
mov word [rbp - 0x40], si
test ecx, ecx
cmove esi, r13d
mov dword [0x140018040], esi
test rdi, rdi
je 0x14000e64e
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test rbx, rbx
je 0x14000e65c
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [0x140017d60]
call fcn.14000dae0
mov eax, dword [0x14001802c]
jmp 0x14000e680
test rbx, rbx
je 0x14000e67e
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.14000fad0
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret