Function at 0x140004980
Capabilities:
Create directory
Create process on windows
Delete file
Get common file path
Get token membership
Query or enumerate registry value
Set registry value

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x538]
sub rsp, 0x620
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rax, qword [0x14000f010]
xor rax, rsp
mov qword [rbp + 0x510], rax
lea r8, str.RunningTaskSemaphoreAisExist
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreA]
xor ecx, ecx
test rax, rax
je 0x1400049f7
xor r9d, r9d
lea r8, [0x14000ab60]
lea rdx, [0x14000ab68]
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x140005a10
lea r9, str.RunningTaskSemaphoreAisExist
mov edx, 1
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov qword [0x14000f9d0], rax
test rax, rax
je 0x1400059e5
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1400059e5
xor r12d, r12d
mov dword [rbp - 0x20], r12d
mov qword [rbp + 0x10], r12
mov dword [rbp - 0x1c], r12d
mov word [rbp - 0x18], 0x500
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], r12d
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
mov r9d, 0x220
lea r8d, [r12 + 0x20]
mov dl, 2
lea rcx, [rbp - 0x1c]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x140004aaa
lea r8, [rbp - 0x20]
mov rdx, qword [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov ecx, dword [rbp - 0x20]
test eax, eax
cmove ecx, r12d
mov dword [rbp - 0x20], ecx
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [rbp - 0x20], r12d
jne 0x140004b36
mov rcx, qword [0x14000f9d0]
test rcx, rcx
je 0x140004ac6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, 0x104
lea rdx, [rbp + 0x110]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [rsp + 0x70], 0x70
xor edx, edx
lea r8d, [rdx + 0x6c]
lea rcx, [rsp + 0x74]
call sub.VCRUNTIME140.dll_memset
lea rax, str.runas
mov qword [rbp - 0x80], rax
lea rax, [rbp + 0x110]
mov qword [rbp - 0x78], rax
mov qword [rsp + 0x78], r12
mov dword [rbp - 0x60], 5
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x140004b2a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rax, 0xffffffffffffffff
jmp 0x140005a12
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWARE_tax_procedures
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rdi, 0xffffffffffffffff
test eax, eax
jne 0x140004c85
mov dword [rbp - 0x20], 0x400
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x110]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.InstallState
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140004c7a
mov qword [rbp + 0x40], r12
mov qword [rbp + 0x48], 0xf
mov byte [rbp + 0x30], r12b
lea rax, [rbp + 0x110]
mov r8, rdi
inc r8
cmp byte [rax + r8], r12b
jne 0x140004bc2
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x30]
call fcn.140006a20
lea rax, [rbp + 0x30]
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
cmovae rax, rcx
cmp qword [rbp + 0x40], 1
jne 0x140004c13
movzx eax, byte [rax]
cmp al, byte [0x14000abe0]
jne 0x140004c06
mov eax, r12d
jmp 0x140004c0b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140004c13
mov bl, 1
jmp 0x140004c15
xor bl, bl
cmp rdx, 0x10
jb 0x140004c4b
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004c46
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004c46
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008880
test bl, bl
je 0x140004c7a
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r9d, r9d
lea r8, str.Error
lea rdx, [0x14000abf0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, edi
jmp 0x140005a12
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.140001360
test eax, eax
je 0x140004c73
call fcn.140001500
test eax, eax
je 0x140004c73
lea r15, [0x14000f9e0]
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jne 0x140005a10
lea r8, str._tax_proceduresconfig
mov edx, 0x104
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
mov r9d, 0x104
mov r8, r15
mov edx, r9d
lea rcx, [rbp + 0x110]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
lea rbx, [rbp + 0x110]
movzx eax, byte [rbp + 0x110]
test al, al
je 0x140004d3c
nop dword [rax]
cmp al, 0x5c
je 0x140004d08
cmp al, 0x2f
jne 0x140004d32
mov byte [rbx], r12b
xor edx, edx
lea rcx, [rbp + 0x110]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x140004d2f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140005a10
mov byte [rbx], 0x5c
inc rbx
movzx eax, byte [rbx]
test al, al
jne 0x140004d00
xor edx, edx
lea rcx, [rbp + 0x110]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x140004d60
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140005a10
xor eax, eax
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rax
mov qword [rbp + 0x70], rax
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], al
lea r8d, [rax + 0xc]
lea rdx, str.msvcp140.dll
lea rcx, [rsp + 0x70]
call fcn.140006a20
nop
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
mov r8d, 0x10
lea rdx, str.vcruntime140.dll
lea rcx, [rbp - 0x70]
call fcn.140006a20
nop
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], 0xf
mov byte [rbp - 0x50], 0
mov r8d, 0x12
lea rdx, str.vcruntime140_1.dll
lea rcx, [rbp - 0x50]
call fcn.140006a20
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], r12
lea r8, [rbp - 0x30]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x60]
call fcn.1400077c0
nop
lea r9, [fcn.140005ae0]
mov edx, 0x20
lea r8d, [rdx - 0x1d]
lea rcx, [rsp + 0x70]
call fcn.140008888
mov rbx, r12
nop
mov rcx, qword [rbp + 0x60]
add rcx, rbx
cmp qword [rcx + 0x18], 0x10
jb 0x140004e31
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
jne 0x140004e9d
mov rdx, qword [rbp + 0x60]
add rdx, rbx
cmp qword [rdx + 0x18], 0x10
jb 0x140004e4d
mov rdx, qword [rdx]
mov qword [rbp + 0x10], rdx
mov rax, qword [0x14000faf0]
cmp qword [0x14000faf8], rax
je 0x140004e8f
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8, rdi
inc r8
cmp byte [rdx + r8], 0
jne 0x140004e73
mov rcx, rax
call fcn.140006a20
add qword [0x14000faf0], 0x20
jmp 0x140004ea6
lea r8, [rbp + 0x10]
mov rdx, rax
call fcn.140007470
jmp 0x140004ea6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
add rbx, 0x20
cmp rbx, 0x60
jl 0x140004e20
movsd xmm0, qword [str.2181680__2_]
movsd qword [rbp + 0xf8], xmm0
mov eax, dword [0x14000ac60]
mov dword [rbp + 0x100], eax
movzx eax, word [0x14000ac64]
mov word [rbp + 0x104], ax
movzx eax, byte [0x14000ac66]
mov byte [rbp + 0x106], al
mov ecx, r12d
lea rdx, [rbp + 0xf8]
cmp ecx, 6
jge 0x140004efe
sub byte [rdx], cl
jmp 0x140004f03
lea eax, [rcx - 3]
add byte [rdx], al
inc ecx
inc rdx
cmp ecx, 0xe
jl 0x140004ef5
mov qword [rbp + 0xe8], r12
mov qword [rbp + 0xf0], 0xf
mov byte [rbp + 0xd8], 0
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [r15 + r8], 0
jne 0x140004f30
mov rdx, r15
lea rcx, [rbp + 0xd8]
call fcn.140006a20
nop
mov r8d, 1
lea rdx, [0x14000a9f8]
lea rcx, [rbp + 0xd8]
call fcn.140006b80
mov r8d, 0xc
lea rdx, str.config64.dll
lea rcx, [rbp + 0xd8]
call fcn.140006b80
lea rdx, [rbp + 0xd8]
cmp qword [rbp + 0xf0], 0x10
cmovae rdx, qword [rbp + 0xd8]
lea r8, str.config64.dll
lea rcx, [rbp + 0xf8]
call fcn.140004320
test al, al
je 0x14000590b
lea rdx, str.Download_config64.dll_completed._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400070e0
mov qword [rbp + 0xc8], r12
mov qword [rbp + 0xd0], 0xf
mov byte [rbp + 0xb8], 0
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [r15 + r8], 0
jne 0x140004fe0
mov rdx, r15
lea rcx, [rbp + 0xb8]
call fcn.140006a20
nop
mov r8d, 1
lea rdx, [0x14000a9f8]
lea rcx, [rbp + 0xb8]
call fcn.140006b80
mov r8d, 0xc
lea rdx, str.config32.dll
lea rcx, [rbp + 0xb8]
call fcn.140006b80
lea rdx, [rbp + 0xb8]
cmp qword [rbp + 0xd0], 0x10
cmovae rdx, qword [rbp + 0xb8]
lea r8, str.config32.dll
lea rcx, [rbp + 0xf8]
call fcn.140004320
test al, al
je 0x14000587f
lea rdx, str.Download_config32.dll_completed._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400070e0
mov qword [rbp + 0xa8], r12
mov qword [rbp + 0xb0], 0xf
mov byte [rbp + 0x98], 0
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [r15 + r8], 0
jne 0x140005090
mov rdx, r15
lea rcx, [rbp + 0x98]
call fcn.140006a20
nop
mov r8d, 1
lea rdx, [0x14000a9f8]
lea rcx, [rbp + 0x98]
call fcn.140006b80
mov r8d, 0xb
lea rdx, str.taskXgp.dll
lea rcx, [rbp + 0x98]
call fcn.140006b80
lea rdx, [rbp + 0x98]
cmp qword [rbp + 0xb0], 0x10
cmovae rdx, qword [rbp + 0x98]
lea r8, str.taskXgp.dll
lea rcx, [rbp + 0xf8]
call fcn.140004320
test al, al
je 0x1400057f3
lea rdx, str.Download_taskXgp.dll_completed._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400070e0
mov rax, qword [0x14000faf0]
sub rax, qword [0x14000fae8]
sar rax, 5
test rax, rax
je 0x14000528c
mov r14d, r12d
mov rsi, r12
nop dword [rax]
nop word [rax + rax]
mov qword [rbp], r12
mov qword [rbp + 8], 0xf
mov byte [rbp - 0x10], 0
mov r8, rdi
inc r8
cmp byte [r15 + r8], 0
jne 0x140005163
mov rdx, r15
lea rcx, [rbp - 0x10]
call fcn.140006a20
nop
mov r8d, 1
lea rdx, [0x14000a9f8]
lea rcx, [rbp - 0x10]
call fcn.140006b80
mov r8, qword [0x14000fae8]
add r8, rsi
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x1400051a7
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
lea rcx, [rbp - 0x10]
call fcn.140006b80
mov r8, qword [0x14000fae8]
add r8, rsi
cmp qword [r8 + 0x18], 0x10
jb 0x1400051c8
mov r8, qword [r8]
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 0x10
cmovae rdx, qword [rbp - 0x10]
lea rcx, [rbp + 0xf8]
call fcn.140004320
test al, al
je 0x1400052b3
mov rbx, qword [0x14000fae8]
add rbx, rsi
lea rdx, str.Download
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400070e0
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140005215
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.140008030
mov rcx, rax
lea rdx, str._completed._n
call fcn.1400070e0
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x140005267
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005262
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400052ac
call fcn.140008880
inc r14d
add rsi, 0x20
mov rcx, qword [0x14000faf0]
sub rcx, qword [0x14000fae8]
sar rcx, 5
movsxd rax, r14d
cmp rax, rcx
jb 0x140005150
call fcn.140002660
test al, al
jne 0x140005327
lea rdx, str.GetSystem_is_Fails_..._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
jmp 0x140005801
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rdx, str.Download_taskXgp.dll_failed._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400070e0
xor r9d, r9d
lea r8, str.Error
lea rdx, [0x14000abf0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x140005820
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000531d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000531d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008880
jmp 0x140005820
mov ecx, 8
call fcn.140008844
lea rcx, [0x140004910]
mov qword [rax], rcx
mov qword [rbp + 0x10], rax
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x50]
call fcn.140008210
nop
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x140005361
mov edx, 8
call fcn.140008880
nop
mov eax, dword [rbp + 0x58]
test eax, eax
jne 0x140005381
lea ecx, [rax + 1]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov eax, dword [rbp + 0x58]
test eax, eax
jne 0x140005381
lea ecx, [rax + 1]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp + 0x58], eax
jne 0x140005397
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
movaps xmm0, xmmword [rbp + 0x50]
movdqa xmmword [rbp + 0x10], xmm0
xor edx, edx
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x1400053bb
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov qword [rbp + 0x50], r12
mov dword [rbp + 0x58], r12d
cmp byte [0x14000f9d8], 0
je 0x1400057cc
mov dword [rbp - 0x20], 1
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SOFTWARE_tax_procedures
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1400054a2
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.InstallState
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14000545f
lea rdx, str.Successfully_wrote_InstallState1_to_registry.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400070e0
jmp 0x140005485
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.Failed_to_set_registry_value._Error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400070e0
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rdx, [0x1400072b0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400054d8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.Failed_to_create_or_open_registry_key._Error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400070e0
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x1400072b0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov qword [rbp + 0x40], r12
mov qword [rbp + 0x48], 0xf
mov byte [rbp + 0x30], 0
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp byte [r15 + r8], 0
jne 0x1400054f0
mov rdx, r15
lea rcx, [rbp + 0x30]
call fcn.140006a20
nop
mov r8d, 1
lea rdx, [0x14000a9f8]
lea rcx, [rbp + 0x30]
call fcn.140006b80
mov r8d, 0xc
lea rdx, str.config64.dll
lea rcx, [rbp + 0x30]
call fcn.140006b80
lea rcx, [rbp + 0x30]
cmp qword [rbp + 0x48], 0x10
cmovae rcx, qword [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov qword [rbp], r12
mov qword [rbp + 8], 0xf
mov byte [rbp - 0x10], 0
mov r8, rdi
nop word [rax + rax]
inc r8
cmp byte [r15 + r8], 0
jne 0x140005560
mov rdx, r15
lea rcx, [rbp - 0x10]
call fcn.140006a20
nop
mov r8d, 1
lea rdx, [0x14000a9f8]
lea rcx, [rbp - 0x10]
call fcn.140006b80
mov r8d, 0xc
lea rdx, str.config32.dll
lea rcx, [rbp - 0x10]
call fcn.140006b80
lea rcx, [rbp - 0x10]
cmp qword [rbp + 8], 0x10
cmovae rcx, qword [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov qword [rbp + 0x88], r12
mov qword [rbp + 0x90], 0xf
mov byte [rbp + 0x78], 0
mov r8, rdi
inc r8
cmp byte [r15 + r8], 0
jne 0x1400055d0
mov rdx, r15
lea rcx, [rbp + 0x78]
call fcn.140006a20
nop
mov r8d, 1
lea rdx, [0x14000a9f8]
lea rcx, [rbp + 0x78]
call fcn.140006b80
mov r8d, 0xb
lea rdx, str.taskXgp.dll
lea rcx, [rbp + 0x78]
call fcn.140006b80
lea rcx, [rbp + 0x78]
cmp qword [rbp + 0x90], 0x10
cmovae rcx, qword [rbp + 0x78]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], 0xf
mov byte [rbp + 0x10], 0
nop word [rax + rax]
inc rdi
cmp byte [r15 + rdi], 0
jne 0x140005640
mov r8, rdi
mov rdx, r15
lea rcx, [rbp + 0x10]
call fcn.140006a20
nop
mov r8d, 1
lea rdx, [0x14000a9f8]
lea rcx, [rbp + 0x10]
call fcn.140006b80
mov r8d, 0xb
lea rdx, str.ConfSdk.dll
lea rcx, [rbp + 0x10]
call fcn.140006b80
lea rcx, [rbp + 0x10]
cmp qword [rbp + 0x28], 0x10
cmovae rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x1400056d9
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400056d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400056d4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008880
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], 0xf
mov byte [rbp + 0x10], 0
mov rdx, qword [rbp + 0x90]
cmp rdx, 0x10
jb 0x14000572a
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005725
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005725
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008880
mov qword [rbp + 0x88], r12
mov qword [rbp + 0x90], 0xf
mov byte [rbp + 0x78], 0
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x14000577e
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005779
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005779
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008880
mov qword [rbp], r12
mov qword [rbp + 8], 0xf
mov byte [rbp - 0x10], 0
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x1400057cc
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400057c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400057c7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008880
xor r9d, r9d
lea r8, str.Error
lea rdx, [0x14000abf0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
cmp dword [rbp + 0x58], 0
je 0x140005820
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
lea rdx, str.Download_taskXgp.dll_failed._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400070e0
xor r9d, r9d
lea r8, str.Error
lea rdx, [0x14000abf0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
mov rdx, qword [rbp + 0xb0]
cmp rdx, 0x10
jb 0x140005864
inc rdx
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000585f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000585f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008880
mov qword [rbp + 0xa8], r12
mov qword [rbp + 0xb0], 0xf
mov byte [rbp + 0x98], 0
jmp 0x1400058ac
lea rdx, str.Download_config32.dll_failed._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400070e0
xor r9d, r9d
lea r8, str.Error
lea rdx, [0x14000abf0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
mov rdx, qword [rbp + 0xd0]
cmp rdx, 0x10
jb 0x1400058f0
inc rdx
mov rcx, qword [rbp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400058eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400058eb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008880
mov qword [rbp + 0xc8], r12
mov qword [rbp + 0xd0], 0xf
mov byte [rbp + 0xb8], 0
jmp 0x140005938
lea rdx, str.Download_config64.dll_failed._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400070e0
xor r9d, r9d
lea r8, str.Error
lea rdx, [0x14000abf0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
mov rdx, qword [rbp + 0xf0]
cmp rdx, 0x10
jb 0x14000597c
inc rdx
mov rcx, qword [rbp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005977
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005977
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008880
mov qword [rbp + 0xe8], r12
mov qword [rbp + 0xf0], 0xf
mov byte [rbp + 0xd8], 0
mov rcx, qword [rbp + 0x60]
test rcx, rcx
je 0x140005a10
mov rdx, qword [rbp + 0x68]
call fcn.140007de0
mov rdx, qword [rbp + 0x70]
mov rcx, qword [rbp + 0x60]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400059de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400059de
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008880
jmp 0x140005a10
xor r9d, r9d
lea r8, str.Warn
lea rdx, [0x14000ab90]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [0x14000f9d0]
test rcx, rcx
je 0x140005a10
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rbp + 0x510]
xor rcx, rsp
call fcn.140008820
lea r11, [rsp + 0x620]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret