Function at 0x47c460
Capabilities:
Create process on windows
Delete file
Delete registry key
Delete registry value
Log keystrokes via polling
Move file
Persist via lnk shortcut
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4e6a49
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x104
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [esp + 0x124]
xor esi, esi
add eax, 0xffff7e1d
mov dword [esp + 0x11c], esi
cmp eax, 8
ja case.0x47c49f.33252
jmp dword [eax*4 + 0x47ce64]
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov eax, dword [esp + 0x128]
jge 0x47c529
cmp eax, 0x8064
je 0x47c50f
cmp eax, 0x804f
je 0x47c50f
push ecx
lea edx, [esp + 0x130]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.004c54fc
lea eax, [esp + 0x38]
push eax
call fcn.00415930
add esp, 8
push eax
lea ecx, [esp + 0x130]
mov byte [esp + 0x120], 1
call fcn.004c58c0
lea ecx, [esp + 0x34]
mov byte [esp + 0x11c], 0
call fcn.004c5787
mov ecx, dword [esp + 0x12c]
push esi
push esi
push ecx
push 2
push 1
mov ecx, ebp
call fcn.00450380
jmp case.0x47c49f.33252
cmp eax, 0x8064
je 0x47c544
cmp eax, 0x804f
je 0x47c544
push eax
mov ecx, ebp
call fcn.00440530
jmp case.0x47c49f.33252
mov edx, dword [esp + 0x12c]
mov ecx, ebp
push edx
call fcn.00450db0
jmp case.0x47c49f.33252
mov edi, dword [esp + 0x12c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
inc ecx
push ecx
lea ecx, [esp + 0x130]
call fcn.004c5c2e
mov edi, dword [esp + 0x12c]
or ecx, 0xffffffff
xor eax, eax
push esi
repne scasb al, byte es:[edi]
not ecx
push ecx
lea ecx, [esp + 0x134]
call fcn.004c5ccd
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x50]
push esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 0x1c]
lea ecx, [esp + 0x130]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 3
call fcn.004c5bb7
lea ecx, [esp + 0x4c]
mov dword [esp + 0x54], eax
push ecx
mov word [esp + 0x60], 4
mov dword [esp + 0x66], esi
mov dword [esp + 0x6a], esi
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
jmp 0x47ce28
mov edx, dword [0x52251c]
mov dword [esp + 0x14], edx
mov edi, dword [esp + 0x128]
mov byte [esp + 0x11c], 2
cmp edi, 0x8064
je 0x47c66e
cmp edi, 0x804f
je 0x47c66e
push 0x5c
lea ecx, [esp + 0x130]
call fcn.004bd781
push 0x2e
lea ecx, [esp + 0x130]
mov ebx, eax
call fcn.004bd781
sub eax, ebx
lea ecx, [esp + 0x12c]
dec eax
push eax
push 0x5c
call fcn.004bd781
inc eax
lea ecx, [esp + 0x130]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.004bd5f7
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x120], 4
call fcn.004c58c0
mov byte [esp + 0x11c], 2
lea ecx, [esp + 0x40]
jmp 0x47c6ad
push 0x5c
lea ecx, [esp + 0x130]
call fcn.004bd781
inc eax
lea ecx, [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x134]
call fcn.004bd5d4
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x120], 3
call fcn.004c58c0
mov byte [esp + 0x11c], 2
lea ecx, [esp + 0x2c]
call fcn.004c5787
push esi
lea ecx, [esp + 0x70]
call fcn.00437570
mov edx, dword [0x52251c]
mov dword [esp + 0x10], edx
mov eax, dword [0x52700c]
mov byte [esp + 0x11c], 6
cmp eax, esi
push 0xef6f
je 0x47c6eb
lea eax, [esp + 0x14]
push eax
call fcn.00417b10
add esp, 8
jmp 0x47c6f4
lea ecx, [esp + 0x14]
call fcn.004c681c
push 0x51c3b4
lea ecx, [esp + 0x14]
call fcn.004c5b63
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x110]
call fcn.004c58c0
lea edx, [esp + 0x14]
lea ecx, [esp + 0x110]
push edx
call fcn.004c58c0
lea ecx, [esp + 0x6c]
call fcn.004c14be
cmp eax, 1
jne 0x47c975
mov eax, dword [esp + 0x110]
cmp dword [eax - 8], esi
je 0x47c975
mov esi, dword [esp + 0x14]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x47c772
test cl, cl
je 0x47c76e
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x47c772
add eax, 2
add esi, 2
test cl, cl
jne 0x47c74a
xor eax, eax
jmp 0x47c777
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x47c975
push str._:_____t_r_n
lea ecx, [esp + 0x114]
call fcn.004c5c89
test eax, eax
jl 0x47c858
push 0x5f
push 0x5c
lea ecx, [esp + 0x118]
call fcn.004bd3e3
push 0x5f
push 0x2f
lea ecx, [esp + 0x118]
call fcn.004bd3e3
push 0x5f
push 0x3a
lea ecx, [esp + 0x118]
call fcn.004bd3e3
push 0x5f
push 0x2a
lea ecx, [esp + 0x118]
call fcn.004bd3e3
push 0x5f
push 0x3f
lea ecx, [esp + 0x118]
call fcn.004bd3e3
push 0x5f
push 0x22
lea ecx, [esp + 0x118]
call fcn.004bd3e3
push 0x5f
push 0x3c
lea ecx, [esp + 0x118]
call fcn.004bd3e3
push 0x5f
push 0x3e
lea ecx, [esp + 0x118]
call fcn.004bd3e3
push 0x5f
push 0x7c
lea ecx, [esp + 0x118]
call fcn.004bd3e3
push 0x5f
push 9
lea ecx, [esp + 0x118]
call fcn.004bd3e3
push 0x5f
push 0xd
lea ecx, [esp + 0x118]
call fcn.004bd3e3
push 0x5f
push 0xa
lea ecx, [esp + 0x118]
call fcn.004bd3e3
push 0x5c
lea ecx, [esp + 0x130]
call fcn.004bd781
inc eax
lea ecx, [esp + 0x12c]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004bd709
mov bl, 7
cmp edi, 0x8064
mov byte [esp + 0x11c], bl
je 0x47c929
cmp edi, 0x804f
je 0x47c929
push 0x2e
lea ecx, [esp + 0x130]
call fcn.004bd781
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x134]
call fcn.004bd5d4
lea edx, [esp + 0x110]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
mov byte [esp + 0x128], 8
call fcn.004c59b6
lea edx, [esp + 0x1c]
mov byte [esp + 0x11c], 9
push edx
push eax
lea eax, [esp + 0x50]
push eax
call fcn.004c59b6
mov eax, dword [eax]
mov ecx, dword [esp + 0x12c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [esp + 0x48]
call fcn.004c5787
lea ecx, [esp + 0x24]
mov byte [esp + 0x11c], 8
call fcn.004c5787
mov byte [esp + 0x11c], bl
lea ecx, [esp + 0x1c]
jmp 0x47c955
lea edx, [esp + 0x110]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x48]
push eax
push ecx
call fcn.004c59b6
mov eax, dword [eax]
mov edx, dword [esp + 0x12c]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [esp + 0x44]
call fcn.004c5787
lea ecx, [esp + 0x18]
mov dword [ebp + 0x58c], 1
mov byte [esp + 0x11c], 6
call fcn.004c5787
lea ecx, [esp + 0x10]
mov byte [esp + 0x11c], 5
call fcn.004c5787
lea ecx, [esp + 0x110]
mov byte [esp + 0x11c], 0xc
call fcn.004c5787
lea ecx, [esp + 0x10c]
mov byte [esp + 0x11c], 0xb
call fcn.004c5787
lea ecx, [esp + 0xd0]
mov byte [esp + 0x11c], 0xa
call fcn.004d064c
lea ecx, [esp + 0x6c]
mov byte [esp + 0x11c], 2
call fcn.004c10bb
lea ecx, [esp + 0x14]
mov byte [esp + 0x11c], 0
call fcn.004c5787
jmp case.0x47c49f.33252
mov eax, dword [esp + 0x128]
cmp eax, 0x8064
je 0x47ca45
cmp eax, 0x804f
je 0x47ca45
push ecx
lea eax, [esp + 0x130]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.004c54fc
lea ecx, [esp + 0x40]
push ecx
call fcn.00415930
add esp, 8
push eax
lea ecx, [esp + 0x130]
mov byte [esp + 0x120], 0xd
call fcn.004c58c0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x11c], 0
call fcn.004c5787
mov edx, dword [esp + 0x12c]
push esi
push esi
push esi
push edx
push str.find
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp case.0x47c49f.33252
mov eax, dword [esp + 0x128]
cmp eax, 0x8064
je 0x47cabd
cmp eax, 0x804f
je 0x47cabd
push ecx
lea eax, [esp + 0x130]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.004c54fc
lea ecx, [esp + 0x2c]
push ecx
call fcn.00415930
add esp, 8
push eax
lea ecx, [esp + 0x130]
mov byte [esp + 0x120], 0xe
call fcn.004c58c0
lea ecx, [esp + 0x28]
mov byte [esp + 0x11c], 0
call fcn.004c5787
mov edx, dword [0x52251c]
mov dword [esp + 0x10], edx
lea eax, [esp + 0x10]
mov bl, 0xf
push eax
mov ecx, ebp
mov byte [esp + 0x120], bl
call fcn.00451230
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x30]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x12c]
push eax
push edx
call fcn.004bd5d4
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x120], 0x10
call fcn.004c58c0
lea ecx, [esp + 0x30]
mov byte [esp + 0x11c], bl
call fcn.004c5787
lea eax, [esp + 0x10]
lea ecx, [esp + 0x38]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerMenuOrderFavorites_
push ecx
call fcn.004c5a90
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x120], 0x11
call fcn.004c58c0
lea ecx, [esp + 0x38]
mov byte [esp + 0x11c], bl
call fcn.004c5787
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp eax, esi
jne 0x47cbc5
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push esi
push edx
push esi
push str.Order
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [esp + 0x1c], esi
jbe 0x47cbc5
mov ecx, dword [esp + 0x18]
push str.Order
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp + 0x10]
push edx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 0x58c], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x11c], 0
call fcn.004c5787
jmp case.0x47c49f.33252
lea ecx, [esp + 0x12c]
push 1
push ecx
mov ecx, ebp
call fcn.0043c7d0
push ecx
lea edx, [esp + 0x130]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.004c54fc
call fcn.004177c0
add esp, 4
jmp case.0x47c49f.33252
lea eax, [esp + 0x12c]
lea ecx, [esp + 0x10]
push eax
call fcn.004c54fc
lea ecx, [esp + 0x12c]
push 1
push ecx
mov ecx, ebp
mov byte [esp + 0x124], 0x12
call fcn.0043c7d0
push esi
lea ecx, [esp + 0x70]
call fcn.00437570
mov edx, dword [0x52251c]
mov dword [esp + 0x14], edx
mov eax, dword [0x52700c]
mov byte [esp + 0x11c], 0x14
cmp eax, esi
push 0xef70
je 0x47cc70
lea eax, [esp + 0x18]
push eax
call fcn.00417b10
add esp, 8
jmp 0x47cc79
lea ecx, [esp + 0x18]
call fcn.004c681c
push 0x51c3b4
lea ecx, [esp + 0x18]
call fcn.004c5b63
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x110]
call fcn.004c58c0
lea edx, [esp + 0x12c]
lea ecx, [esp + 0x110]
push edx
call fcn.004c58c0
lea ecx, [esp + 0x6c]
call fcn.004c14be
cmp eax, 1
jne 0x47cd82
mov esi, dword [esp + 0x110]
mov eax, dword [esp + 0x12c]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x47ccf4
test cl, cl
je 0x47ccf0
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x47ccf4
add eax, 2
add esi, 2
test cl, cl
jne 0x47cccc
xor eax, eax
jmp 0x47ccf9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x47cd82
lea eax, [esp + 0x20]
push 4
push eax
lea ecx, [esp + 0x18]
call fcn.004bd68d
mov ecx, dword [eax]
push str..lnk
push ecx
call fcn.004ad810
add esp, 8
lea ecx, [esp + 0x20]
test eax, eax
sete bl
call fcn.004c5787
test bl, bl
je 0x47cd5b
mov edx, dword [esp + 0x110]
mov esi, dword [esp + 0x10]
push 1
lea ecx, [esp + 0x114]
mov eax, dword [edx - 8]
push eax
call fcn.004c5bb7
push eax
push esi
mov ecx, ebp
call fcn.0044fdc0
jmp 0x47cd78
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x110]
push eax
push ecx
push 0x51ca78
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [ebp + 0x58c], 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x11c], 0x13
call fcn.004c5787
lea ecx, [esp + 0x110]
mov byte [esp + 0x11c], 0x17
call fcn.004c5787
lea ecx, [esp + 0x10c]
mov byte [esp + 0x11c], 0x16
call fcn.004c5787
lea ecx, [esp + 0xd0]
mov byte [esp + 0x11c], 0x15
call fcn.004d064c
lea ecx, [esp + 0x6c]
mov byte [esp + 0x11c], 0x12
call fcn.004c10bb
lea ecx, [esp + 0x10]
mov byte [esp + 0x11c], 0
call fcn.004c5787
jmp case.0x47c49f.33252
push esi
mov ecx, ebp
call fcn.004d0b16
cmp eax, esi
je case.0x47c49f.33252
mov eax, dword [eax + 0xf8]
cmp eax, esi
je case.0x47c49f.33252
mov edx, dword [esp + 0x12c]
mov eax, dword [eax + 0x200]
push edx
push eax
push 0x51ca78
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [ebp + 0x58c], 1
lea ecx, [esp + 0x12c]
mov dword [esp + 0x11c], 0xffffffff
call fcn.004c5787
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x110
ret 0xc