Function at 0x48d310
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x7bc]
sub esp, 0x83c
mov eax, dword [0x4cd724]
xor eax, ebp
mov dword [ebp + 0x7b8], eax
mov eax, dword [ebp + 0x7c4]
mov edx, dword [ebp + 0x7d0]
mov ecx, dword [ebp + 0x7cc]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x7d4]
push ebx
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x7c8]
mov dword [ebp - 0x78], edx
mov edx, dword [ebp + 0x7d8]
push esi
push edi
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x68], 0
test eax, eax
je 0x48d570
test ecx, ecx
je 0x48d570
lea edx, [ebp + 0x638]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x48d380
lea eax, [ebp + 0x638]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x48d3a6
xor eax, eax
jmp 0x48d3c0
lea eax, [esi + esi]
call fcn.0046d420
mov eax, esp
push 3
push esi
lea ecx, [ebp + 0x638]
push ecx
push eax
call fcn.0041f5f0
xor ecx, ecx
jmp 0x48d3d0
movzx edx, word [ecx + str.SOFTWAREClassesCLSID_]
mov word [ebp + ecx + 0x438], dx
add ecx, 2
test dx, dx
jne 0x48d3d0
mov edx, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48d3f0
lea edi, [ebp + 0x438]
sub eax, edx
add edi, 0xfffffffe
lea ebx, [edi + 2]
lea esp, [esp]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x48d410
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [ebp - 0x80]
push edx
lea eax, [ebp - 0x64]
push eax
push 0x20006
push 0
and ecx, 3
push ebx
push closesocket
rep movsb byte es:[edi], byte [esi]
call fcn.00490810
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x48d575
mov ecx, dword [ebp - 0x64]
push ecx
push str.SetConfig
call fcn.0048e2a0
push 0x140
call fcn.00495200
mov esi, eax
lea eax, [esi + 8]
add esp, 0xc
cmp eax, 0x400
ja 0x48d494
call fcn.0046d420
mov edi, esp
test edi, edi
je 0x48d55f
mov dword [edi], 0xcccc
add edi, 8
jmp 0x48d4ac
push eax
call fcn.004683d7
add esp, 4
test eax, eax
je 0x48d4aa
mov dword [eax], 0xdddd
add eax, 8
mov edi, eax
test edi, edi
je 0x48d55f
push 0x140
push esi
push 0
push edi
call fcn.004677c0
mov esi, dword [ebp - 0x7c]
add esp, 0xc
push eax
push esi
call fcn.004955a0
add esp, 0xc
mov dword [ebp - 0x68], eax
test eax, eax
jbe 0x48d558
mov eax, edi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48d4e0
sub eax, edx
mov edx, dword [ebp - 0x64]
inc eax
push eax
push edi
push 1
push 0
push 0x4b29ec
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 0x60]
call fcn.0048aba0
mov eax, dword [ebp + 0x7dc]
mov ecx, dword [ebp - 0x78]
push eax
push 0
push 0
push eax
mov eax, dword [ebp - 0x70]
push eax
push ecx
lea edx, [ebp - 0x60]
push esi
push edx
call fcn.0048b3a0
add esp, 0x14
push eax
mov eax, dword [ebp - 0x6c]
push eax
call fcn.0048cb50
add esp, 0x14
mov esi, eax
cmp dword [edi - 8], 0xdddd
lea eax, [edi - 8]
jne 0x48d54c
push eax
call fcn.004684a1
add esp, 4
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x48d575
mov esi, 0xffffffee
jmp 0x48d537
mov ecx, dword [ebp - 0x64]
push ecx
mov esi, 0x3e9
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x48d575
mov esi, 0xfffffffa
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x48d57e
mov dword [eax], esi
mov eax, dword [ebp - 0x68]
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x7b8]
xor ecx, ebp
call fcn.004677af
add ebp, 0x7bc
mov esp, ebp
pop ebp
ret