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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x14001a010]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rdi, rcx
lea rcx, [0x140020513]
call fcn.14001233c
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rsi, rax
movups xmm0, xmmword [str.1_TO]
movups xmmword [0x14001ef10], xmm0
lea rbx, [0x14001eea0]
cmp rbx, 0xffffffffffffffff
je 0x14000f45f
mov qword [0x14001ad68], rbx
cmp qword [0x14001eea0], 0
je 0x14000f45f
nop dword [rax]
mov cl, 1
call qword [rbx + 0x40]
lea rbx, [rbx + 0x48]
cmp qword [rbx], 0
jne 0x14000f450
mov rbx, qword [0x14001ef30]
mov rcx, qword [0x14001ef38]
cmp rbx, rcx
jae 0x14000f48f
mov rax, qword [rbx]
test rax, rax
je 0x14000f486
mov cl, 1
call qword [rax + 0x38]
mov rcx, qword [0x14001ef38]
add rbx, 8
cmp rbx, rcx
jb 0x14000f472
mov dword [0x14001b000], 1
mov r9d, 0x100
lea r13, [0x14001add4]
mov r8, r13
mov edx, 0x64
mov rcx, rdi
call qword [sym.imp.USER32.dll_LoadStringW]
xor r12d, r12d
mov qword [0x14001afd8], r12
mov dword [0x14001afe0], 0x10
mov dword [0x14001afe4], 1
mov qword [0x14001afe8], 1
mov qword [0x14001aff0], r12
mov dword [0x14001aff8], r12d
mov dword [0x14001b000], 1
mov eax, dword [0x14001571c]
mov dword [rbp - 0x50], eax
movzx eax, word [0x140015720]
mov word [rbp - 0x4c], ax
lea r15d, [r12 + 1]
mov r14d, r12d
lea rdx, str.Trillium_SAP_Client
lea rcx, [0x14001ad88]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XPanel::XPanel]
lea rdx, [rbp - 0x50]
mov rcx, rsi
call fcn.14000e4f0
mov rbx, rax
test rax, rax
je 0x14000f910
mov rdx, rbx
movzx eax, word [rbx]
cmp ax, 0x20
je 0x14000f568
movzx ecx, ax
nop
movzx eax, cx
test cx, cx
je 0x14000f568
add rdx, 2
movzx eax, word [rdx]
movzx ecx, ax
cmp ax, 0x20
jne 0x14000f550
lea rdi, [rdx + 2]
cmp ax, 0x20
cmovne rdi, rdx
mov qword [rsp + 0x30], r12
mov r8d, 2
lea rdx, [0x14001573c]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x14000f59f
mov r15d, r12d
lea r14d, [rax + 1]
jmp 0x14000f8e6
mov r8d, 1
lea rdx, str.dflnrtTw
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x14000f5f3
lea rcx, [rbx + 2]
lea rdx, [rsp + 0x30]
call fcn.14000e570
mov rdx, rax
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_char_StrTraitMFC_DLL_char_ATL::ChTraitsCRT_char_]
nop
mov rdx, qword [rsp + 0x58]
lea rcx, [0x14001ad88]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XPanel::XPanel]
nop
lea rcx, [rsp + 0x58]
jmp 0x14000f8d6
mov r8d, 1
lea rdx, [0x140013a98]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x14000f647
lea rcx, [rbx + 2]
lea rdx, [rsp + 0x30]
call fcn.14000e570
mov rdx, rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_char_StrTraitMFC_DLL_char_ATL::ChTraitsCRT_char_]
nop
mov rdx, qword [rsp + 0x60]
lea rcx, [0x14001ad90]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XPanel::XPanel]
nop
lea rcx, [rsp + 0x60]
jmp 0x14000f8d6
mov r8d, 1
lea rdx, [0x140015748]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x14000f69b
lea rcx, [rbx + 2]
lea rdx, [rsp + 0x30]
call fcn.14000e570
mov rdx, rax
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_char_StrTraitMFC_DLL_char_ATL::ChTraitsCRT_char_]
nop
mov rdx, qword [rsp + 0x68]
lea rcx, [0x14001ad78]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XPanel::XPanel]
nop
lea rcx, [rsp + 0x68]
jmp 0x14000f8d6
mov r8d, 1
lea rdx, [0x14001574c]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x14000f6ef
lea rcx, [rbx + 2]
lea rdx, [rsp + 0x30]
call fcn.14000e570
mov rdx, rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_char_StrTraitMFC_DLL_char_ATL::ChTraitsCRT_char_]
nop
mov rdx, qword [rsp + 0x70]
lea rcx, [0x14001ad80]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XPanel::XPanel]
nop
lea rcx, [rsp + 0x70]
jmp 0x14000f8d6
mov r8d, 1
lea rdx, [0x140015750]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x14000f77a
lea rcx, [rbx + 2]
lea rdx, [rsp + 0x30]
call fcn.14000e570
mov rbx, rax
mov rdx, rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_char_StrTraitMFC_DLL_char_ATL::ChTraitsCRT_char_]
mov rax, qword [rsp + 0x38]
mov rdx, r13
sub rdx, rax
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rax]
mov byte [rax + rdx], cl
lea rax, [rax + 1]
test cl, cl
jne 0x14000f740
mov rcx, r13
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 0x14000f760
lea rcx, [rsp + 0x38]
jmp 0x14000f8d6
mov r8d, 1
lea rdx, [0x140015754]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x14000f7de
lea rcx, [rbx + 2]
lea rdx, [rsp + 0x30]
call fcn.14000e570
mov rdx, rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_char_StrTraitMFC_DLL_char_ATL::ChTraitsCRT_char_]
nop
mov rdx, qword [rsp + 0x40]
lea rcx, [0x14001ad98]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XPanel::XPanel]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atol]
mov dword [0x14001ada0], eax
lea rcx, [rsp + 0x40]
jmp 0x14000f8d6
mov r8d, 1
lea rdx, [0x140015758]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x14000f816
mov dl, 0x31
lea rcx, [0x14001ada8]
call qword [0x140013640]
mov dword [0x14001adb0], 1
jmp 0x14000f8e6
mov r8d, 1
lea rdx, [0x14001575c]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x14000f877
lea rcx, [rbx + 2]
lea rdx, [rsp + 0x30]
call fcn.14000e570
mov rdx, rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_char_StrTraitMFC_DLL_char_ATL::ChTraitsCRT_char_]
nop
mov rdx, qword [rsp + 0x48]
lea rcx, [0x14001adb8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XPanel::XPanel]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atol]
mov dword [0x14001adc0], eax
lea rcx, [rsp + 0x48]
jmp 0x14000f8d6
mov r8d, 1
lea rdx, [0x140015760]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x14000f8e6
lea rcx, [rbx + 2]
lea rdx, [rsp + 0x30]
call fcn.14000e570
mov rdx, rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_char_StrTraitMFC_DLL_char_ATL::ChTraitsCRT_char_]
nop
mov rdx, qword [rsp + 0x50]
lea rcx, [0x14001adc8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XPanel::XPanel]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atol]
mov dword [0x14001add0], eax
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XImage::XImage]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
jne 0x14000f8e9
mov rcx, rdi
lea rdx, [rbp - 0x50]
call fcn.14000e4f0
mov rbx, rax
test rax, rax
jne 0x14000f540
test r15d, r15d
je 0x14000fa89
test r14d, r14d
jne 0x14000fa89
mov qword [rbp - 0x68], r12
mov dword [rbp - 0x60], r12d
mov qword [rbp - 0x58], r12
mov r9d, 0x20019
lea r8, str.AppID
mov rdx, 0xffffffff80000000
lea rcx, [rbp - 0x68]
call fcn.140009a90
mov edi, eax
mov rsi, qword [rbp - 0x68]
test eax, eax
jne 0x14000f9a5
mov rbx, r12
mov qword [rsp + 0x78], rbx
mov dword [rbp - 0x80], r12d
mov qword [rbp - 0x78], r12
mov qword [rsp + 0x38], r12
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, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x14000f992
mov edi, r12d
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x78], rbx
mov dword [rbp - 0x80], r12d
test edi, edi
je 0x14000f9ba
test rbx, rbx
je 0x14000f9a5
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test rsi, rsi
je 0x14000f9b3
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x14000fb34
mov dword [rsp + 0x40], 0x104
mov dword [rsp + 0x30], r12d
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, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000fa65
mov ecx, dword [rsp + 0x40]
test ecx, ecx
je 0x14000fac2
mov eax, dword [rsp + 0x30]
sub eax, 1
je 0x14000fa4d
sub eax, 1
je 0x14000fa4d
cmp eax, 5
jne 0x14000fa60
test cl, 1
jne 0x14000fa60
mov eax, ecx
shr eax, 1
cmp eax, 1
jb 0x14000fa60
mov edx, ecx
shr rdx, 1
cmp word [rbp + rdx*2 - 0x42], 0
jne 0x14000fa60
cmp eax, 1
jbe 0x14000fac7
cmp word [rbp + rdx*2 - 0x44], 0
jne 0x14000fa60
mov dword [0x14001b000], 1
jmp 0x14000fa6c
test cl, 1
jne 0x14000fa60
mov rax, rcx
shr rax, 1
cmp word [rbp + rax*2 - 0x42], 0
je 0x14000fac7
mov word [rbp - 0x40], r12w
mov dword [0x14001b000], r12d
test rbx, rbx
je 0x14000fa7b
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test rsi, rsi
je 0x14000fa89
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x78], r13
lea rax, [0x14000ee40]
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], r12
cmp dword [0x14001b000], 0
je 0x14000fadc
lea rcx, [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x14000fad3
mov dword [0x14001b000], r12d
jmp 0x14000fadc
mov word [rbp - 0x40], r12w
mov dword [0x14001b000], 1
jmp 0x14000fa6c
cmp dword [0x14001b000], 0
jne 0x14000fb2e
mov rdx, qword [0x14001ad80]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_char_StrTraitMFC_DLL_char_ATL::ChTraitsCRT_char_]
nop
lea rdx, [0x140013d60]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov qword [0x14001b008], rax
test rax, rax
je 0x14000fb16
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea rcx, [0x14001ad20]
call fcn.14000efc0
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XImage::XImage]
mov eax, dword [0x14001afec]
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400110e0
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