Function at 0x5576b0
Capabilities:
Copy file
Create process on windows
Create process suspended
Delete file
Read file on windows
Write and execute a file
Write file on windows

Disassembly:
push ebp
xor eax, eax
mov ecx, 0x11
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x270]
push ebx
sub esp, 0x2dc
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x294]
mov dword [esp], eax
call fcn.0057d960
mov ecx, dword [0x8d0600]
test ecx, ecx
je 0x557dea
mov dword [ebp - 0x128], 0x11c
call fcn.0057d110
mov dword [eax], 0x5fc867
mov dword [eax + 4], 0x3eb
lea eax, [ebp - 0x128]
mov dword [esp], eax
call dword [0x8d0600]
sub esp, 4
test eax, eax
sete al
mov dword [esp + 4], str.RtlGetVersion_failed._n
movzx eax, al
mov dword [esp], eax
call fcn.005571b0
cmp dword [ebp - 0x124], 9
jbe 0x557db0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x80000000
mov eax, dword [ebp - 0x294]
mov eax, dword [eax]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_CreateFileA]
mov dword [ebp - 0x2b4], eax
call eax
sub esp, 0x1c
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x5fc867
mov dword [eax + 4], 0x3f3
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 4], str.CreateFile_failed__GetLastError____lu._n
mov dword [esp + 8], eax
xor eax, eax
cmp ebx, 0xffffffff
setne al
mov dword [esp], eax
call fcn.005571b0
mov eax, dword [sym.imp.kernel32.dll_SetFilePointer]
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x3c
mov dword [ebp - 0x2b8], eax
call eax
lea eax, [ebp - 0x290]
sub esp, 0x10
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x29c]
mov dword [esp], ebx
mov dword [esp + 0x10], 0
mov dword [esp + 8], 4
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_ReadFile]
mov eax, dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 0x14
mov dword [esp], ebx
mov dword [ebp - 0x2a8], eax
call eax
mov eax, dword [ebp - 0x29c]
mov dword [ebp - 0x270], 0x44
mov dword [ebp - 0x2a0], 0x5fd5e0
sub esp, 4
mov dword [ebp - 0x2a4], 0
lea ebx, [eax + 0x40]
add eax, 0x42
mov dword [ebp - 0x2c0], eax
mov dword [ebp - 0x2bc], ebx
lea ebx, [ebp - 0x22c]
lea esi, [esi]
nop
mov eax, dword [ebp - 0x2a4]
mov dword [esp + 4], str.tmp_u.exe
mov edi, dword fs:[0x18]
mov dword [esp + 8], eax
lea eax, [ebp - 0x289]
mov dword [esp], eax
call fcn.00556740
lea eax, [ebp - 0x289]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x294]
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CopyFileA]
sub esp, 0xc
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x5fc867
mov dword [eax + 4], 0x403
mov eax, dword [edi + 0x34]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp], esi
mov dword [esp + 4], str.Got_unexpected_ret__x__GetLastError____lu._n
call fcn.005571b0
lea eax, [ebp - 0x289]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40000000
mov dword [esp], eax
mov eax, dword [ebp - 0x2b4]
call eax
sub esp, 0x1c
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x5fc867
mov dword [eax + 4], 0x406
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.CreateFile_failed__GetLastError____lu._n
mov dword [esp + 8], eax
xor eax, eax
cmp esi, 0xffffffff
setne al
mov dword [esp], eax
call fcn.005571b0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov ecx, dword [ebp - 0x2bc]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov ecx, dword [ebp - 0x2b8]
call ecx
lea eax, [ebp - 0x290]
sub esp, 0x10
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 4
mov eax, dword [ebp - 0x2a0]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_WriteFile]
sub esp, 0x14
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov edx, dword [ebp - 0x2c0]
mov dword [esp], esi
mov dword [esp + 4], edx
mov ecx, dword [ebp - 0x2b8]
call ecx
lea ecx, [ebp - 0x290]
sub esp, 0x10
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 8], 4
mov eax, dword [ebp - 0x2a0]
mov dword [esp], esi
add eax, 4
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_WriteFile]
sub esp, 0x14
mov dword [esp], esi
mov ecx, dword [ebp - 0x2a8]
lea esi, [ebp - 0x289]
call ecx
sub esp, 4
mov dword [esp + 8], esi
mov dword [esp + 4], str._s.manifest
mov dword [esp], ebx
call fcn.00556740
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40000000
mov dword [esp], ebx
mov edx, dword [ebp - 0x2b4]
call edx
sub esp, 0x1c
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x5fc867
mov dword [eax + 4], 0x413
mov eax, dword [edi + 0x34]
mov edi, 1
mov dword [esp + 4], str.CreateFile_failed__GetLastError____lu._n
mov dword [esp + 8], eax
xor eax, eax
cmp esi, 0xffffffff
setne al
mov dword [esp], eax
call fcn.005571b0
lea edx, [ebp - 0x290]
mov dword [esp], esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x104
mov dword [esp + 4], str.__xml_version_1.0__encoding_UTF_8__standalone_yes____assembly_manifestVersion_1.0__xmlns_urn:schemas_microsoft_com:asm.v1__xmlns:asmv3_urn:schemas_microsoft_com:asm.v3___n_t_compatibility_xmlns_urn:schemas_microsoft_com:compatibility.v1___n_t_t_application__n
call dword [sym.imp.kernel32.dll_WriteFile]
mov eax, dword [ebp - 0x2a0]
xor ecx, ecx
sub esp, 0x14
mov edx, dword [eax + 8]
mov eax, edi
shl eax, cl
test eax, edx
jne 0x557d40
add ecx, 1
cmp ecx, 4
jne 0x557aed
lea eax, [ebp - 0x290]
mov dword [esp], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x2f
mov dword [esp + 4], str._t_t__application__n_t__compatibility__n__assembly__n
call dword [sym.imp.kernel32.dll_WriteFile]
sub esp, 0x14
mov dword [esp], esi
mov eax, dword [ebp - 0x2a8]
call eax
mov edi, dword [ebp - 0x2a4]
lea edx, [ebp - 0x289]
sub esp, 4
mov dword [esp + 0xc], edi
mov dword [esp + 8], edx
mov dword [esp + 4], str._s_version_pe_os_version__u
mov dword [esp], ebx
mov edi, dword fs:[0x18]
call fcn.00556740
lea edx, [ebp - 0x280]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], edx
lea edx, [ebp - 0x270]
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateProcessA]
sub esp, 0x28
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x5fc867
mov dword [eax + 4], 0x425
mov eax, dword [edi + 0x34]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp], esi
mov dword [esp + 4], str.Got_unexpected_ret__x__GetLastError____lu._n
call fcn.005571b0
mov eax, dword [ebp - 0x27c]
mov dword [esp], eax
mov eax, dword [ebp - 0x2a8]
call eax
sub esp, 4
mov dword [esp + 4], 0x2710
mov eax, dword [ebp - 0x280]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
sub esp, 8
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x5fc867
mov dword [eax + 4], 0x428
xor eax, eax
test esi, esi
sete al
mov dword [esp + 8], esi
mov dword [esp], eax
mov dword [esp + 4], str.Got_unexpected_result__lx._n
call fcn.005571b0
lea edx, [ebp - 0x298]
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x280]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetExitCodeProcess]
sub esp, 8
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x5fc867
mov dword [eax + 4], 0x42b
mov eax, dword [edi + 0x34]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 4], str.Got_unexpected_ret__x__GetLastError____lu._n
mov dword [esp], esi
call fcn.005571b0
call fcn.0057d110
mov edi, dword [ebp - 0x2a4]
mov dword [eax], 0x5fc867
mov dword [eax + 4], 0x42c
xor eax, eax
mov dword [esp + 8], edi
mov dword [esp + 4], str.Test__u_failed._n
mov edx, dword [ebp - 0x298]
test edx, edx
sete al
add edi, 1
mov dword [esp], eax
call fcn.005571b0
mov eax, dword [ebp - 0x280]
mov dword [esp], eax
mov eax, dword [ebp - 0x2a8]
call eax
lea eax, [ebp - 0x289]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
lea eax, [ebp - 0x289]
sub esp, 4
mov dword [esp + 8], eax
mov dword [esp + 4], str._s.manifest
mov dword [esp], ebx
call fcn.00556740
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_DeleteFileA]
add dword [ebp - 0x2a0], 0x14
mov dword [ebp - 0x2a4], edi
sub esp, 4
cmp edi, 9
jne 0x557870
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ecx*4 + 0x5fd4b0]
mov dword [ebp - 0x2ac], ecx
mov dword [ebp - 0x2b0], edx
mov dword [esp + 8], eax
mov dword [esp + 4], str._t_t_t_supportedOS_Id__s____n
mov dword [esp], ebx
call fcn.00556740
mov dword [esp], ebx
call dword [sym.imp.msvcrt.dll_strlen]
lea edx, [ebp - 0x290]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_WriteFile]
mov edx, dword [ebp - 0x2b0]
mov ecx, dword [ebp - 0x2ac]
sub esp, 0x14
jmp 0x557af9
call fcn.0057d110
mov dword [eax], 0x5fc867
mov dword [eax + 4], 0x3ee
mov eax, dword [ebp - 0x120]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x124]
mov dword [esp], str.Too_old_Windows_version__lu._lu__skipping_tests._n
mov dword [esp + 4], eax
call fcn.00556ce0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.0057d110
mov dword [eax], 0x5fc867
mov dword [eax + 4], 0x3e6
mov dword [esp], str.RtlGetVersion_is_not_supported__skipping_tests._n
call fcn.00557180
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret