Function at 0x140020d90
Capabilities:
Contain obfuscated stackstrings
Set registry value

Disassembly:
push rdi
sub rsp, 0xb80
mov qword [rsp + 0xe0], 0xfffffffffffffffe
mov rax, qword [0x1403c86e8]
xor rax, rsp
mov qword [rsp + 0xb70], rax
mov eax, 1
imul rax, rax, 3
mov byte [rsp + rax + 0x218], 0x63
mov eax, 1
imul rax, rax, 0xc
mov byte [rsp + rax + 0x218], reloc.OLEAUT32.dll_VarBstrFromDisp
mov eax, 1
imul rax, rax, 6
mov byte [rsp + rax + 0x218], 0x62
mov eax, 1
imul rax, rax, 0xe
mov byte [rsp + rax + 0x218], 0x61
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x218], 0x63
mov eax, 1
imul rax, rax, 9
mov byte [rsp + rax + 0x218], 0x77
mov eax, 1
imul rax, rax, 7
mov byte [rsp + rax + 0x218], reloc.OLEAUT32.dll_VarBstrFromDisp
mov eax, 1
imul rax, rax, 0x12
mov byte [rsp + rax + 0x218], reloc.WLDAP32.dll_Ordinal_46
mov eax, 1
imul rax, rax, 8
mov byte [rsp + rax + 0x218], reloc.WS2_32.dll_WSAGetLastError
mov eax, 1
imul rax, rax, 0x11
mov byte [rsp + rax + 0x218], reloc.OLEAUT32.dll_VarBstrFromDisp
mov eax, 1
imul rax, rax, 0xf
mov byte [rsp + rax + 0x218], 0x66
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x218], 0x65
mov eax, 1
imul rax, rax, 0x13
mov byte [rsp + rax + 0x218], 0x63
mov eax, 1
imul rax, rax, 0xb
mov byte [rsp + rax + 0x218], 0x65
mov eax, 1
imul rax, rax, 0x16
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0x17
jae 0x140020ec3
jmp 0x140020ec8
call fcn.14028613c
mov rax, qword [rsp + 0x88]
mov byte [rsp + rax + 0x218], 0
mov eax, 1
imul rax, rax, 4
mov byte [rsp + rax + 0x218], WSASetLastError
mov eax, 1
imul rax, rax, 0x15
mov byte [rsp + rax + 0x218], WSACleanup
mov eax, 1
imul rax, rax, 5
mov byte [rsp + rax + 0x218], reloc.WLDAP32.dll_Ordinal_46
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x218], WSAGetLastError
mov eax, 1
imul rax, rax, 0xa
mov byte [rsp + rax + 0x218], reloc.WS2_32.dll_WSAStartup
mov eax, 1
imul rax, rax, 0x10
mov byte [rsp + rax + 0x218], 0x65
mov eax, 1
imul rax, rax, 0x14
mov byte [rsp + rax + 0x218], reloc.WS2_32.dll_WSAGetLastError
mov eax, 1
imul rax, rax, 0xd
mov byte [rsp + rax + 0x218], reloc.WS2_32.dll_WSAStartup
mov eax, 1
imul rax, rax, 4
mov byte [rsp + rax + 0x200], reloc.WS2_32.dll_WSASetLastError
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x200], Ordinal_50
mov eax, 1
imul rax, rax, 3
mov byte [rsp + rax + 0x200], reloc.WLDAP32.dll_Ordinal_46
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x200], WSASetLastError
mov eax, 1
imul rax, rax, 6
mov byte [rsp + rax + 0x200], reloc.WS2_32.dll_WSASetLastError
mov eax, 1
imul rax, rax, 7
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 8
jae 0x140020fd3
jmp 0x140020fd8
call fcn.14028613c
mov rax, qword [rsp + 0x90]
mov byte [rsp + rax + 0x200], 0
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x200], reloc.WS2_32.dll_WSAStartup
mov eax, 1
imul rax, rax, 5
mov byte [rsp + rax + 0x200], WSAGetLastError
mov byte [rsp + 0x230], 0
lea rax, [rsp + 0x231]
mov rdi, rax
xor eax, eax
mov ecx, 0x103
rep stosb byte [rdi], al
mov edx, 0x104
lea rcx, [rsp + 0x230]
call fcn.1400208cc
lea rcx, [rsp + 0x110]
call fcn.140050b10
nop
mov byte [rsp + 0x1c0], 1
lea r8, [rsp + 0x200]
lea rdx, [rsp + 0x218]
lea rcx, [rsp + 0x110]
call fcn.1400540b0
movzx eax, al
cmp eax, 1
jne 0x140021423
mov eax, 1
imul rax, rax, 5
mov byte [rsp + rax + 0x208], WSACleanup
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x208], reloc.OLEAUT32.dll_VarBstrFromDisp
mov eax, 1
imul rax, rax, 3
mov byte [rsp + rax + 0x208], WSASetLastError
mov eax, 1
imul rax, rax, 4
mov byte [rsp + rax + 0x208], WSASetLastError
mov eax, 1
imul rax, rax, 9
mov byte [rsp + rax + 0x208], WSASetLastError
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x208], 0x57
mov eax, 1
imul rax, rax, 0xa
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0xb
jae 0x1400210fb
jmp 0x140021100
call fcn.14028613c
mov rax, qword [rsp + 0x80]
mov byte [rsp + rax + 0x208], 0
mov eax, 1
imul rax, rax, 7
mov byte [rsp + rax + 0x208], 0x55
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x208], reloc.WS2_32.dll_WSAGetLastError
mov eax, 1
imul rax, rax, 6
mov byte [rsp + rax + 0x208], 0x67
mov eax, 1
imul rax, rax, 8
mov byte [rsp + rax + 0x208], reloc.OLEAUT32.dll_VarBstrFromDisp
mov byte [rsp + 0x340], 0
lea rax, [rsp + 0x341]
mov rdi, rax
xor eax, eax
mov ecx, 0x824
rep stosb byte [rdi], al
lea rax, [rsp + 0x180]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x18], 0x10
jb 0x1400211b5
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
jmp 0x1400211bf
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xa8], rax
mov r8, qword [rsp + 0xa8]
mov edx, 0x825
lea rcx, [rsp + 0x340]
call fcn.1402a4e48
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x18], 0x10
jb 0x14002122b
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
jmp 0x140021235
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xb8], rax
mov r8, qword [rsp + 0xb8]
mov edx, 0x825
lea rcx, [rsp + 0x340]
call fcn.1402a4e48
lea rcx, [rsp + 0x340]
call fcn.1402958f0
test rax, rax
jbe 0x14002138c
mov r8d, 0x825
xor edx, edx
lea rcx, [rsp + 0x340]
call fcn.14028bc50
lea r8, [0x140364270]
mov edx, 0x825
lea rcx, [rsp + 0x340]
call fcn.1402a4e48
lea rax, [rsp + 0x180]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x18], 0x10
jb 0x1400212e5
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
jmp 0x1400212ef
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xc8], rax
mov r8, qword [rsp + 0xc8]
mov edx, 0x825
lea rcx, [rsp + 0x340]
call fcn.1402a4e48
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x18], 0x10
jb 0x14002135b
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
jmp 0x140021365
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xd8], rax
mov r8, qword [rsp + 0xd8]
mov edx, 0x825
lea rcx, [rsp + 0x340]
call fcn.1402a4e48
lea rdx, [rsp + 0x340]
lea rcx, [rsp + 0x30]
call fcn.140045774
nop
lea r8, str.amp_
lea rdx, [0x1403640f4]
lea rcx, [rsp + 0x30]
call fcn.14002772c
mov dword [rsp + 0x3c], 1
mov rax, qword [rsp + 0x30]
mov eax, dword [rax - 0x10]
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x30]
call fcn.140027cd0
mov ecx, dword [rsp + 0x38]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x3c]
lea r8, [rsp + 0x208]
lea rdx, [0x1403dd0e8]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
nop
mov rax, qword [rsp + 0x30]
sub rax, 0x18
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x98]
call fcn.140045ed4
nop
lea rcx, [rsp + 0x110]
call fcn.140050c70
mov rcx, qword [rsp + 0xb70]
xor rcx, rsp
call fcn.140286010
add rsp, 0xb80
pop rdi
ret