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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
xor esi, esi
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
movdqa xmm1, xmmword [0x1402c55b0]
movdqu xmmword [rbp - 0x48], xmm1
mov word [rbp - 0x58], si
movups xmmword [rbp - 0x38], xmm0
movdqu xmmword [rbp - 0x28], xmm1
mov word [rbp - 0x38], si
mov qword [rbp + 0x60], rsi
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
lea r12d, [rsi + 1]
movdqu xmmword [rsp + 0x70], xmm0
mov r14d, esi
mov qword [rbp - 0x80], rsi
mov qword [rbp + 0x68], rsi
cmp qword [rcx + 0x18], 8
jb 0x140058dc8
mov rcx, qword [rcx]
lea r8, [rbp + 0x68]
lea rdx, [0x1402be028]
call fcn.1400c5780
mov rdi, qword [rsp + 0x78]
test rax, rax
je 0x140058eb8
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x140058e00
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140052330
nop
cmp rdi, r14
je 0x140058e44
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rdi + 0x10], xmm1
mov edx, 7
mov word [rsp + 0x50], si
add rdi, 0x20
mov qword [rsp + 0x78], rdi
jmp 0x140058e64
lea r8, [rsp + 0x50]
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.1400f0260
mov r14, qword [rbp - 0x80]
mov rdi, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140058ea1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058e9c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005916d
call fcn.140086a30
lea r8, [rbp + 0x68]
lea rdx, [0x1402be028]
xor ecx, ecx
call fcn.1400c5780
jmp 0x140058ddd
lea rdx, [rbp - 0x58]
mov ecx, 9
call fcn.1400a9720
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rdx, qword [rbp - 0x58]
mov qword [rsp + 0x40], rsi
lea rax, [rbp + 0x60]
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]
mov r15, qword [rsp + 0x70]
test eax, eax
jne 0x1400590ab
cmp r15, rdi
je 0x140058f88
mov rbx, r15
nop dword [rax + rax]
cmp qword [rbx + 0x10], 0
je 0x140058f7f
mov r9d, 0xa
lea r8d, [r9 + 0x16]
lea rdx, [rbp - 0x10]
mov ecx, r12d
call fcn.14003414c
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140058f4a
mov rcx, qword [rbx]
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
lea rdx, [rbp - 0x10]
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400590ab
inc r12d
add rbx, 0x20
cmp rbx, rdi
jne 0x140058f20
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
movdqa xmm1, xmmword [0x1402c55b0]
movdqu xmmword [rbp - 0x68], xmm1
mov word [rbp - 0x78], si
movups xmmword [rsp + 0x50], xmm0
movdqu xmmword [rsp + 0x60], xmm1
mov word [rsp + 0x50], si
lea rdx, [rbp - 0x78]
mov ecx, listen
call fcn.1400a9720
lea rdx, [rsp + 0x50]
mov ecx, recvfrom
call fcn.1400a9720
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rcx, qword [rbp - 0x78]
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rax, qword [rsp + 0x50]
mov qword [rbp - 0x80], reloc.WS2_32.dll_recv
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x70]
lea rcx, [0x140086bd0]
call qword [sym.imp.USER32.dll_EnumWindows]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140059053
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005904e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140059173
call fcn.140086a30
movdqa xmm0, xmmword [0x1402c55b0]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], si
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x1400590a6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400590a1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140059179
call fcn.140086a30
mov esi, 1
mov rcx, qword [rbp + 0x60]
test rcx, rcx
je 0x1400590bb
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test r15, r15
je 0x14005910d
mov rbx, r15
cmp r15, rdi
je 0x1400590d9
mov rcx, rbx
call fcn.140076ef0
add rbx, 0x20
cmp rbx, rdi
jne 0x1400590c8
sub r14, r15
and r14, 0xffffffffffffffe0
mov rax, r15
cmp r14, 0x1000
jb 0x140059101
add r14, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005917f
mov rdx, r14
mov rcx, r15
call fcn.140086a30
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x140059149
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059144
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140059167
call fcn.140086a30
mov eax, esi
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140037b28
nop
call fcn.140037b28
nop
call fcn.140037b28
nop
call fcn.140037b28
nop
call fcn.140037b28
int3