Function at 0x1400105ac
Capabilities:
Delete registry key
Initialize winsock library

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x540
xor r12d, r12d
lea rcx, str.comctl32.dll
mov rbp, r8
mov dword [rsp + 0x70], 8
mov dword [rsp + 0x74], 0xff
mov ebx, r12d
mov esi, r12d
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp rax, r12
mov rdi, rax
je 0x14001062a
lea rdx, str.InitCommonControlsEx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp rax, r12
je 0x14001061c
lea rcx, [rsp + 0x70]
lea esi, [r12 + 1]
call rax
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, r12d
jne 0x140010635
call qword [sym.imp.COMCTL32.dll_InitCommonControls]
mov ebx, 1
xor ecx, ecx
cmp ebx, r12d
jne 0x14001065e
lea r9d, [rcx + 0x30]
lea r8, str.Error
lea rdx, str.Error:_Cannot_load_the_common_control_classes.
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 1
jmp 0x140010a70
call qword [sym.imp.ole32.dll_CoInitialize]
cmp qword [0x140018e90], r12
jne 0x14001069d
lea rcx, str.shell32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp rax, r12
mov qword [0x140018e90], rax
je 0x14001069d
lea rdx, str.SHGetSpecialFolderPathA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140018e88], rax
mov ecx, 0x8001
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
lea rdx, [rsp + 0x3a0]
mov cx, 0x101
call sub.WS2_32.dll_WSAStartup
lea rcx, [rsp + 0xb0]
mov dword [rsp + 0x40], 0x400
mov dword [rsp + 0x44], 0x100
mov dword [rsp + 0x20], r12d
mov dword [rsp + 0x24], r12d
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x48], r12d
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x5c], 0x20
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x60], r12d
mov dword [rsp + 0x58], r12d
mov dword [rsp + 0x68], r12d
call fcn.14000fc94
lea r11, [rsp + 0x20]
lea rcx, [rsp + 0x20]
mov rdx, rbp
mov qword [rsp + 0x398], r11
call fcn.140009038
mov rcx, qword [rsp + 0x398]
or ebx, 0xffffffff
lea rdx, str._savelangfile
mov r8d, ebx
call fcn.14000921c
cmp eax, r12d
jl 0x1400107fc
lea rax, [0x140018210]
mov qword [0x140018c58], rax
call fcn.14000a194
mov rcx, qword [rsp + 0x380]
lea r11, [0x140015698]
mov qword [rsp + 0xb0], r11
call fcn.140012b02
mov rcx, qword [rsp + 0x38]
lea r11, [0x140014840]
mov qword [rsp + 0xb0], r11
call sub.msvcrt.dll_free
mov rcx, qword [rsp + 0x30]
call sub.msvcrt.dll_free
mov rax, qword [rsp + 0x50]
mov rcx, r12
cmp rax, r12
mov dword [rsp + 0x20], r12d
mov dword [rsp + 0x24], r12d
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x48], r12d
mov dword [rsp + 0x28], r12d
je 0x1400107d7
mov rcx, rax
call sub.msvcrt.dll_free
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x60], r12d
mov dword [rsp + 0x58], r12d
call sub.msvcrt.dll_free
mov rcx, qword [rsp + 0x30]
call sub.msvcrt.dll_free
xor eax, eax
jmp 0x140010a70
call fcn.14000a084
mov rcx, qword [rsp + 0x398]
lea rdx, str._deleteregkey
mov r8d, ebx
call fcn.14000921c
cmp eax, r12d
jl 0x140010836
lea rdx, str.SoftwareNirSoftProduKey
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x1400109dc
mov rax, qword [rsp + 0x398]
cmp dword [rax + 0x48], 1
jl 0x1400108d6
lea rcx, [rsp + 0xb0]
call fcn.14001038c
cmp eax, r12d
je 0x1400108d6
mov rcx, qword [rsp + 0x380]
mov ebx, dword [rsp + 0x394]
lea r11, [0x140015698]
mov qword [rsp + 0xb0], r11
call fcn.140012b02
mov rcx, qword [rsp + 0x38]
lea r11, [0x140014840]
mov qword [rsp + 0xb0], r11
call sub.msvcrt.dll_free
mov rcx, qword [rsp + 0x30]
call sub.msvcrt.dll_free
mov rcx, qword [rsp + 0x50]
mov dword [rsp + 0x20], r12d
cmp rcx, r12
mov dword [rsp + 0x24], r12d
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x48], r12d
mov dword [rsp + 0x28], r12d
je 0x140010a4b
call sub.msvcrt.dll_free
jmp 0x140010a4b
lea rcx, [rsp + 0xb0]
call fcn.14000fbb8
mov rcx, qword [rsp + 0x1c0]
mov edx, 3
cmp dword [rsp + 0x234], edx
je 0x1400108fe
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsp + 0x1c0]
call qword [sym.imp.USER32.dll_UpdateWindow]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, 0x67
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov rcx, qword [rsp + 0x1c0]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x419
mov qword [rsp + 0x1f0], rax
call qword [sym.imp.USER32.dll_PostMessageA]
jmp 0x1400109b5
mov rdx, qword [rsp + 0x1f0]
mov rcx, qword [rsp + 0x1c0]
lea r8, [rsp + 0x78]
call qword [sym.imp.USER32.dll_TranslateAcceleratorA]
cmp eax, r12d
jne 0x1400109b5
mov rcx, qword [0x140018ae8]
cmp rcx, r12
je 0x140010987
lea rdx, [rsp + 0x78]
call qword [sym.imp.USER32.dll_IsDialogMessageA]
cmp eax, r12d
jne 0x1400109b5
mov rcx, qword [rsp + 0x1c0]
lea rdx, [rsp + 0x78]
call qword [sym.imp.USER32.dll_IsDialogMessageA]
cmp eax, r12d
jne 0x1400109b5
lea rcx, [rsp + 0x78]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x78]
call qword [sym.imp.USER32.dll_DispatchMessageA]
lea rcx, [rsp + 0x78]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageA]
cmp eax, r12d
jne 0x14001094b
call sub.WS2_32.dll_WSACleanup
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, qword [rsp + 0x380]
lea r11, [0x140015698]
mov qword [rsp + 0xb0], r11
call fcn.140012b02
mov rcx, qword [rsp + 0x38]
lea r11, [0x140014840]
mov qword [rsp + 0xb0], r11
call sub.msvcrt.dll_free
mov rcx, qword [rsp + 0x30]
call sub.msvcrt.dll_free
mov rcx, qword [rsp + 0x50]
mov dword [rsp + 0x28], r12d
cmp rcx, r12
mov dword [rsp + 0x48], r12d
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x24], r12d
mov dword [rsp + 0x20], r12d
je 0x140010a48
call sub.msvcrt.dll_free
mov ebx, r12d
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x60], r12d
mov dword [rsp + 0x58], r12d
call sub.msvcrt.dll_free
mov rcx, qword [rsp + 0x30]
call sub.msvcrt.dll_free
mov eax, ebx
lea r11, [rsp + 0x540]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret