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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552033
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x5cf024]
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 0x47c533
push 0
push str..bat
mov edx, 0x588e10
lea ecx, [ebp - 0x28]
call fcn.00409a80
add esp, 8
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x47c33f
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00415390
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00407e00
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], 0x57cb58
mov dword [ebp - 0x44], ebx
mov byte [ebp - 4], 7
cmp ebx, 0xffffffff
jne 0x47c3a2
mov byte [ebp - 4], 4
push eax
mov dword [ebp - 0x48], 0x57cb58
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x44], 0
jmp 0x47c515
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
call fcn.004092a0
mov ecx, eax
test ecx, ecx
je 0x47c59e
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.0047dda0
test al, al
jne 0x47c3e0
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x30]
call fcn.0047dbc0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
call fcn.0047c5b0
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 0x47c429
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 0x47c447
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov dword [ebp - 0x48], 0x57cb58
test ebx, ebx
je 0x47c464
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x44], 0
lea edx, [edi + 4]
lea ecx, [ebp - 0x34]
call fcn.004913b0
mov byte [ebp - 4], 0xe
cmp byte [edi + 8], 0
jne 0x47c492
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 0x47c4f7
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 0x47c515
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 0x47c533
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 0x47c55a
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 0x47c582
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.0051dacc
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00408f80
int3