Function at 0x5dc9a0
Capabilities:
Set registry value

Disassembly:
mov eax, 0x2848
call fcn.0078c8d0
mov al, byte [0x83dc04]
test al, al
jne 0x5dcc61
mov eax, dword [esp + 0x284c]
push ebx
push ebp
push esi
push edi
push eax
lea ecx, [esp + 0x40]
call fcn.005e71e0
lea ecx, [esp + 0x28]
call fcn.005deaf0
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x2c]
call fcn.005df150
mov edi, dword [esp + 0x2860]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x2c]
repne scasb al, byte es:[edi]
mov eax, dword [edx + 8]
not ecx
dec ecx
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x24], ecx
je 0x5dcc4b
mov ebx, dword [esp + 0x1c]
jmp 0x5dca15
mov eax, dword [esp + 0x14]
mov ebp, dword [eax + 0xc]
mov edi, dword [esp + 0x2864]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x58]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x2860]
push ecx
push ebp
call fcn.0078d850
add esp, 8
test eax, eax
je 0x5dca85
mov edx, dword [esp + 0x24]
or ecx, 0xffffffff
lea edi, [eax + edx]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x58]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov al, byte [0x83dc04]
mov byte [esp + 0x20], 0
test al, al
jne 0x5dcabc
lea eax, [esp + 0x38]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0
lea edx, [esp + 0x70]
push 0
push edx
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
jmp 0x5dcad8
lea eax, [esp + 0x18]
lea ecx, [esp + 0x58]
push eax
push 0x20019
push 0
push ecx
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x5dcae5
mov ebx, dword [esp + 0x18]
mov byte [esp + 0x20], 1
mov al, byte [esp + 0x20]
test al, al
je 0x5dcc2d
xor edi, edi
mov eax, edi
inc edi
push eax
push ebp
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], edi
call fcn.005e0040
mov esi, eax
test esi, esi
je 0x5dcc1e
push 4
push str.BIN_
push esi
call fcn.0078cfb0
add esp, 0xc
test eax, eax
jne 0x5dcb5f
lea edx, [esp + 0x858]
push 0x2000
push edx
push esi
push ebp
lea ecx, [esp + 0x38]
call fcn.005e0b40
mov cl, byte [0x83dc04]
test cl, cl
jne 0x5dcaf3
push eax
lea eax, [esp + 0x85c]
push eax
push 3
add esi, 4
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x5dcaf3
push 6
push str.DWORD_
push esi
call fcn.0078cfb0
add esp, 0xc
test eax, eax
jne 0x5dcbab
push eax
push esi
push ebp
lea ecx, [esp + 0x34]
call fcn.005e10b0
mov dword [esp + 0x10], eax
mov al, byte [0x83dc04]
test al, al
jne 0x5dcaf3
lea ecx, [esp + 0x10]
push 4
push ecx
push 4
add esi, 6
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x5dcaf3
push 7
push str.STRING_
push esi
call fcn.0078cfb0
add esp, 0xc
test eax, eax
jne 0x5dcaf3
lea edx, [esp + 0x458]
push 0x400
push edx
push 0x81c668
push esi
push ebp
lea ecx, [esp + 0x3c]
call fcn.005e1de0
mov al, byte [0x83dc04]
test al, al
jne 0x5dcaf3
lea edi, [esp + 0x458]
or ecx, 0xffffffff
xor eax, eax
add esi, 7
repne scasb al, byte es:[edi]
not ecx
lea eax, [esp + 0x458]
push ecx
push eax
push 1
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, dword [esp + 0x10]
jmp 0x5dcaf3
mov al, byte [esp + 0x20]
test al, al
je 0x5dcc2d
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 4]
test eax, eax
je 0x5dcc4b
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x5dcc4b
test eax, eax
mov dword [esp + 0x14], eax
jne 0x5dca11
lea ecx, [esp + 0x28]
call fcn.005deea0
lea ecx, [esp + 0x3c]
call fcn.005e7290
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2848
ret