Function at 0x4a6da0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x5322a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x412]
push ecx
mov dword [ebp - 0x41c], 0
mov word [ebp - 0x414], ax
call fcn.004e7d90
push 0
lea esi, [ebp - 0x414]
call fcn.004a5de0
mov edi, esi
add esp, 0x10
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4a6df0
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x20a]
mov ecx, 0xd
mov esi, str.wmcDataBurner.exe__1_path
push eax
rep movsd dword es:[edi], dword [esi]
mov word [ebp - 0x20c], dx
call fcn.004e7d90
add esp, 0xc
xor eax, eax
jmp 0x4a6e30
movzx ecx, word [eax + str._shell_]
mov word [ebp + eax - 0x20c], cx
add eax, 2
test cx, cx
jne 0x4a6e30
lea eax, [ebp - 0x20c]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4a6e50
mov ecx, dword [0x521c04]
mov edx, dword [0x521c08]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [eax], ecx
mov ecx, dword [0x521c0c]
mov dword [eax + 4], edx
mov edx, dword [0x521c10]
mov dword [eax + 8], ecx
mov cx, word [0x521c14]
mov dword [eax + 0xc], edx
mov word [eax + 0x10], cx
lea edx, [ebp - 0x41c]
push edx
lea eax, [ebp - 0x418]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea ecx, [ebp - 0x20c]
push ecx
push closesocket
call esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4a6f85
mov edx, dword [ebp - 0x418]
push edx
call edi
lea eax, [ebp - 0x20c]
add eax, 0xfffffffe
nop
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4a6ee0
mov ecx, dword [str.Command]
mov edx, dword [0x523ce4]
mov dword [eax], ecx
mov ecx, dword [0x523ce8]
mov dword [eax + 4], edx
mov edx, dword [0x523cec]
mov dword [eax + 8], ecx
mov cx, word [0x523cf0]
mov dword [eax + 0xc], edx
mov word [eax + 0x10], cx
lea edx, [ebp - 0x41c]
push edx
lea eax, [ebp - 0x418]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea ecx, [ebp - 0x20c]
push ecx
push closesocket
call esi
test eax, eax
jne 0x4a6f85
lea eax, [ebp - 0x414]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a6f50
mov ecx, dword [ebp - 0x418]
sub eax, edx
sar eax, 1
lea edx, [eax + eax]
push edx
lea eax, [ebp - 0x414]
push eax
push 1
push 0
push 0x51cd40
push ecx
call ebx
mov edx, dword [ebp - 0x418]
push edx
call edi
xor eax, eax
jmp 0x4a6f90
movzx ecx, word [eax + str.Folder_shell_]
mov word [ebp + eax - 0x20c], cx
add eax, 2
test cx, cx
jne 0x4a6f90
lea eax, [ebp - 0x20c]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4a6fb0
mov ecx, dword [0x521c04]
mov edx, dword [0x521c08]
mov dword [eax], ecx
mov ecx, dword [0x521c0c]
mov dword [eax + 4], edx
mov edx, dword [0x521c10]
mov dword [eax + 8], ecx
mov cx, word [0x521c14]
mov dword [eax + 0xc], edx
mov word [eax + 0x10], cx
lea edx, [ebp - 0x41c]
push edx
lea eax, [ebp - 0x418]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea ecx, [ebp - 0x20c]
push ecx
push closesocket
call esi
test eax, eax
jne 0x4a70d5
mov edx, dword [ebp - 0x418]
push edx
call edi
lea eax, [ebp - 0x20c]
add eax, 0xfffffffe
lea ecx, [ecx]
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4a7030
mov ecx, dword [str.Command]
mov edx, dword [0x523ce4]
mov dword [eax], ecx
mov ecx, dword [0x523ce8]
mov dword [eax + 4], edx
mov edx, dword [0x523cec]
mov dword [eax + 8], ecx
mov cx, word [0x523cf0]
mov dword [eax + 0xc], edx
mov word [eax + 0x10], cx
lea edx, [ebp - 0x41c]
push edx
lea eax, [ebp - 0x418]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea ecx, [ebp - 0x20c]
push ecx
push closesocket
call esi
test eax, eax
jne 0x4a70d5
lea eax, [ebp - 0x414]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a70a0
mov ecx, dword [ebp - 0x418]
sub eax, edx
sar eax, 1
lea edx, [eax + eax]
push edx
lea eax, [ebp - 0x414]
push eax
push 1
push 0
push 0x51cd40
push ecx
call ebx
mov edx, dword [ebp - 0x418]
push edx
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e3946
mov esp, ebp
pop ebp
ret