Function at 0x43aa30
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5b0118
push eax
mov dword fs:[0], esp
sub esp, 0x10
lea eax, [esp]
push ebx
push ebp
push esi
push edi
push 0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x65355c
push closesocket
call ebx
test eax, eax
je 0x43aa8b
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x653554
push edx
call ebx
test eax, eax
je 0x43aac4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov edi, 0x65352c
or ecx, 0xffffffff
xor eax, eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
repne scasb al, byte es:[edi]
not ecx
push ecx
push 0x65352c
push 1
push eax
push eax
mov eax, dword [esp + 0x2c]
push eax
call esi
test eax, eax
je 0x43ab02
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov ecx, dword [esp + 0x18]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call ebp
mov edx, dword [esp + 0x10]
push edx
call ebp
lea eax, [esp + 0x10]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x6534fc
push closesocket
call ebx
test eax, eax
je 0x43ab4f
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov edi, 0x65355c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0x14]
push 0x65355c
push 1
push eax
push eax
push ecx
call esi
test eax, eax
je 0x43ab87
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov eax, dword [0x67a038]
test eax, eax
je 0x43abb5
mov edi, 0x65352c
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
push ecx
push 0x65352c
push 1
push eax
push 0x6534f4
push edx
call esi
jmp 0x43abc5
mov eax, dword [esp + 0x10]
push 0x6534f4
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x6534e4
push edx
call ebx
test eax, eax
je 0x43abfe
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov eax, dword [0x67a018]
test eax, eax
jne 0x43ac47
mov eax, 0x67a01c
mov edi, eax
push eax
call fcn.0057e90a
mov ecx, dword [esp + 0x1c]
add esp, 4
lea eax, [eax + eax + 2]
push eax
push edi
push 1
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x43ac4b
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov edi, eax
jmp 0x43ac0e
mov edx, dword [esp + 0x18]
push edx
call ebp
mov eax, dword [esp + 0x10]
push eax
call ebp
mov ecx, dword [0x6754d4]
mov dword [esp + 0x14], ecx
push 0x65352c
lea edx, [esp + 0x18]
push 0x6534d8
push edx
mov dword [esp + 0x34], 0
call fcn.00593b08
mov eax, dword [0x67a038]
add esp, 0xc
test eax, eax
mov dword [esp + 0x1c], 1
je 0x43adc0
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push ecx
push closesocket
call ebx
test eax, eax
jne 0x43ad19
mov edi, 0x6534d0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x10]
not ecx
push ecx
push 0x6534d0
push 1
push eax
push eax
push edx
call esi
mov edi, 0x6534bc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push 0x6534bc
push 1
push eax
mov eax, dword [esp + 0x20]
push 0x6534b4
push eax
call esi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push 4
push ecx
push 4
push 0
push 0x6534a8
push edx
call esi
mov eax, dword [esp + 0x10]
push eax
call ebp
push 0x65352c
lea ecx, [esp + 0x18]
push 0x65348c
push ecx
call fcn.00593b08
add esp, 0xc
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
mov dword [esp + 0x1c], 1
push 0
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push reloc.WSOCK32.dll_bind
call ebx
test eax, eax
jne 0x43ae3b
mov edi, 0x6534d0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0x14]
push 0x6534d0
push 1
push eax
push eax
push ecx
call esi
mov edi, 0x6534bc
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
push ecx
push 0x6534bc
push 1
push eax
push 0x6534b4
push edx
call esi
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push 4
push eax
push 4
push 0
push 0x6534a8
push ecx
call esi
mov edx, dword [esp + 0x10]
push edx
call ebp
jmp 0x43ae3b
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0x10]
push eax
push 1
push 0
push ecx
push closesocket
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x43adf8
mov edx, dword [esp + 0x10]
push edx
call ebp
mov eax, dword [esp + 0x14]
push eax
push closesocket
call edi
push 0x65352c
lea ecx, [esp + 0x18]
push 0x65348c
push ecx
call fcn.00593b08
mov eax, dword [esp + 0x20]
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push 1
push 0
push eax
push reloc.WSOCK32.dll_bind
call esi
test eax, eax
jne 0x43ae3b
mov ecx, dword [esp + 0x10]
push ecx
call ebp
mov edx, dword [esp + 0x14]
push edx
push reloc.WSOCK32.dll_bind
call edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.0059ad3d
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret