Function at 0x47cf30
Capabilities:
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557348
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x5d6024]
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 edi, ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 4], 1
or esi, 0xffffffff
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x47d193
push 0
push str..bat
mov edx, 0x59000c
lea ecx, [ebp - 0x28]
call fcn.00409a30
add esp, 8
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x47cf9f
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00415360
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00407f50
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x48], 0x583c78
mov dword [ebp - 0x44], ebx
mov byte [ebp - 4], 7
cmp ebx, 0xffffffff
jne 0x47d002
mov byte [ebp - 4], 4
push eax
mov dword [ebp - 0x48], 0x583c78
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x44], 0
jmp 0x47d175
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
call fcn.00409310
mov ecx, eax
test ecx, ecx
je 0x47d1fe
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x30]
push dword [ebp - 0x3c]
call fcn.0047e9a0
test al, al
jne 0x47d040
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x30]
call fcn.0047e7c0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
call fcn.0047d210
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 0x38]
push 0
push ecx
push dword [eax - 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [ebp - 4], 0xa
mov eax, esi
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47d089
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov eax, esi
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47d0a7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov dword [ebp - 0x48], 0x583c78
test ebx, ebx
je 0x47d0c4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x44], 0
lea edx, [edi + 4]
lea ecx, [ebp - 0x34]
call fcn.00492460
mov byte [ebp - 4], 0xe
cmp byte [edi + 8], 0
jne 0x47d0f2
push 0
push dword [ebp - 0x34]
push 0
push dword [ebp - 0x2c]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x47d157
mov eax, dword [ebp - 0x2c]
xorps xmm0, xmm0
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x8c]
push eax
movlpd qword [ebp - 0x6c], xmm0
movlpd qword [ebp - 0x64], xmm0
movlpd qword [ebp - 0x5c], xmm0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x8c], 0x3c
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x88], 0x500
mov dword [ebp - 0x80], str.runas
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x70], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov byte [ebp - 4], 4
mov eax, esi
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47d175
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47d193
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
lea eax, [edi + 4]
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 0
mov edx, dword [eax]
mov eax, esi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47d1ba
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x40], edi
mov dword [ebp - 4], 0xffffffff
mov edx, dword [edi]
sub edx, 0x10
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x47d1e2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.00521461
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00408fe0
int3