Function at 0x140020cd0
Capabilities:
Enumerate gui resources
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rbx, rcx
xor esi, esi
mov edi, esi
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
movdqa xmm1, xmmword [0x1402c55b0]
movdqu xmmword [rbp + 0x27], xmm1
mov word [rbp + 0x17], si
movups xmmword [rbp - 0x29], xmm0
movdqu xmmword [rbp - 0x19], xmm1
mov word [rbp - 0x29], si
mov qword [rbp + 0x6f], rsi
lea rdx, [rbp + 0x17]
lea ecx, [rsi + 7]
call fcn.1400a9720
lea rdx, [rbp - 0x29]
lea ecx, [rsi + 8]
call fcn.1400a9720
lea rdx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 8
cmovae rdx, qword [rbp + 0x17]
mov qword [rsp + 0x40], rsi
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140020ed8
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140020d89
mov rcx, qword [rbx]
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rdx, qword [rbp - 0x29]
mov eax, dword [rbx + 0x10]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
mov rcx, qword [rbp + 0x6f]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140020ed8
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
movdqa xmm1, xmmword [0x1402c55b0]
movdqu xmmword [rbp + 7], xmm1
mov word [rbp - 9], si
movups xmmword [rbp - 0x49], xmm0
movdqu xmmword [rbp - 0x39], xmm1
mov word [rbp - 0x49], si
lea rdx, [rbp - 9]
lea ecx, [rax + 0xc]
call fcn.1400a9720
lea rdx, [rbp - 0x49]
mov ecx, reloc.WS2_32.dll_listen
call fcn.1400a9720
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rcx, qword [rbp - 9]
lea rax, [rbp - 0x49]
cmp qword [rbp - 0x31], 8
cmovae rax, qword [rbp - 0x49]
mov qword [rbp + 0x47], reloc.WS2_32.dll_recv
mov qword [rbp + 0x37], rax
mov qword [rbp + 0x3f], rcx
lea rdx, [rbp + 0x37]
lea rcx, [0x140086bd0]
call qword [sym.imp.USER32.dll_EnumWindows]
nop
mov rdx, qword [rbp - 0x31]
cmp rdx, 8
jb 0x140020e82
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020e7d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140020f92
call fcn.140086a30
movdqa xmm0, xmmword [0x1402c55b0]
movdqu xmmword [rbp - 0x39], xmm0
mov word [rbp - 0x49], si
mov rdx, qword [rbp + 0xf]
cmp rdx, 8
jb 0x140020ed3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020ece
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140020f98
call fcn.140086a30
mov edi, 1
mov rcx, qword [rbp + 0x6f]
test rcx, rcx
je 0x140020ee8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 8
jb 0x140020f24
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020f1f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140020f9e
call fcn.140086a30
movdqa xmm0, xmmword [0x1402c55b0]
movdqu xmmword [rbp - 0x19], xmm0
mov word [rbp - 0x29], si
mov rdx, qword [rbp + 0x2f]
cmp rdx, 8
jb 0x140020f71
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020f6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140020f8c
call fcn.140086a30
mov eax, edi
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140037b28
nop
call fcn.140037b28
nop
call fcn.140037b28
nop
call fcn.140037b28
int3