Function at 0x100059e0
Capabilities:
Create pipe
Create process on windows
Create reverse shell

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff8
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0xa8
mov edi, dword [ecx]
mov esi, dword [ecx + 4]
mov ebx, dword [ecx + 8]
test byte [0x1000c02c], 8
jne 0x10005ce0
test ebx, ebx
je 0x1000601a
test esi, esi
je 0x10006010
lea eax, [ebp - 0x80]
mov dword [esp], edi
mov dword [esp + 8], eax
mov dword [esp + 4], esi
call sym._WshShell3_ExpandEnvironmentStrings_12
sub esp, 0xc
mov edi, eax
test eax, eax
js 0x10005cca
mov eax, dword [ebp - 0x80]
pxor xmm0, xmm0
mov dword [ebp - 0x18], 0
mov dword [ebx], 0
mov dword [ebp - 0x8c], eax
movups xmmword [ebp - 0x58], xmm0
movups xmmword [ebp - 0x48], xmm0
movups xmmword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [esp + 4], 0x30
mov dword [esp], 1
call dword [sym.imp.ucrtbase.dll_calloc]
mov esi, eax
test eax, eax
je 0x10006024
mov dword [eax + 0xc], sym._WshExec_QueryInterface_12
lea eax, [eax + 0xc]
mov dword [eax + 4], 1
mov dword [ebp - 0x88], eax
mov dword [esp + 4], eax
mov dword [esp + 8], esi
mov dword [esp], 0x10010714
call sym._init_classinfo
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 0xc
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x6c], 0
mov dword [esp + 8], eax
lea eax, [ebp - 0x68]
mov dword [esp + 4], eax
lea eax, [ebp - 0x6c]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_CreatePipe]
mov dword [esp + 0xc], 0
mov dword [ebp - 0x84], eax
call eax
sub esp, 0x10
test eax, eax
je 0x10005c80
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 0xc
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x7c], 0
mov dword [esp + 8], eax
lea eax, [ebp - 0x78]
mov dword [esp + 4], eax
lea eax, [ebp - 0x7c]
mov dword [esp + 0xc], 0
mov dword [esp], eax
mov eax, dword [ebp - 0x84]
call eax
sub esp, 0x10
test eax, eax
je 0x10005dc0
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 0xc
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x74], 0
mov dword [esp + 8], eax
lea eax, [ebp - 0x70]
mov dword [esp + 4], eax
lea eax, [ebp - 0x74]
mov dword [esp + 0xc], 0
mov dword [esp], eax
mov eax, dword [ebp - 0x84]
call eax
sub esp, 0x10
test eax, eax
je 0x10005d20
mov dword [esp + 8], 0
mov edi, dword [sym.imp.kernel32.dll_SetHandleInformation]
mov dword [esp + 4], 1
mov eax, dword [ebp - 0x68]
mov dword [esp], eax
call edi
sub esp, 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov eax, dword [ebp - 0x7c]
mov dword [esp], eax
call edi
sub esp, 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov eax, dword [ebp - 0x74]
mov dword [esp], eax
call edi
lea eax, [esi + 0x24]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 2
mov eax, dword [ebp - 0x68]
mov dword [esp], eax
call sym._DoOpenPipeStream_12
sub esp, 0xc
mov edi, eax
test eax, eax
jns 0x10005e80
mov eax, dword [ebp - 0x70]
movd xmm0, dword [ebp - 0x6c]
mov dword [ebp - 0x58], 0x44
movd xmm1, dword [ebp - 0x78]
mov dword [ebp - 0x2c], 0x100
mov dword [ebp - 0x18], eax
punpckldq xmm0, xmm1
movq qword [ebp - 0x20], xmm0
mov ebx, dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x78]
sub esp, 4
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x6c]
sub esp, 4
mov dword [esp], eax
call ebx
sub esp, 4
jmp 0x10005ca9
mov eax, dword fs:[0x18]
mov edi, dword [eax + 0x34]
test edi, edi
jle 0x10005e40
movzx edx, di
or edx, 0x80070000
mov edi, edx
test byte [0x1000c02c], 4
jne 0x10005e50
mov eax, dword [esi + 0xc]
mov edx, dword [ebp - 0x88]
mov dword [esp], edx
call dword [eax + 8]
sub esp, 4
mov eax, dword [ebp - 0x80]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_SysFreeString]
sub esp, 4
lea esp, [ebp - 0x10]
mov eax, edi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__s__p__n
mov dword [esp + 8], str.WshShell3_Exec
mov dword [esp + 4], 0x1000c02c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x10005a0c
mov eax, dword fs:[0x18]
mov edi, dword [eax + 0x34]
test edi, edi
jle 0x10005fb0
movzx edx, di
or edx, 0x80070000
mov edi, edx
mov eax, dword [ebp - 0x6c]
mov ebx, dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x68]
sub esp, 4
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x68], 0
sub esp, 4
mov dword [ebp - 0x6c], 0
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x78]
sub esp, 4
mov dword [esp], eax
call ebx
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x7c], 0
sub esp, 4
test byte [0x1000c02c], 4
je 0x10005ca9
mov dword [esp + 0xc], str.Failed_to_create_stderr_pipe._n
mov dword [esp + 8], str.WshExec_create
mov dword [esp + 4], 0x1000c02c
mov dword [esp], 2
call sym._wine_dbg_log.constprop.2_1
jmp 0x10005ca9
mov eax, dword fs:[0x18]
mov edi, dword [eax + 0x34]
test edi, edi
jle 0x10005fc0
movzx edx, di
or edx, 0x80070000
mov edi, edx
mov eax, dword [ebp - 0x6c]
mov ebx, dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x68]
sub esp, 4
mov dword [esp], eax
call ebx
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x6c], 0
sub esp, 4
test byte [0x1000c02c], 4
je 0x10005ca9
mov dword [esp + 0xc], str.Failed_to_create_stdout_pipe._n
mov dword [esp + 8], str.WshExec_create
mov dword [esp + 4], 0x1000c02c
mov dword [esp], 2
call sym._wine_dbg_log.constprop.2_1
jmp 0x10005ca9
je 0x10005b07
jmp 0x10005c9c
mov dword [esp + 0xc], str.Failed_to_create_stdin_pipe._n
mov dword [esp + 8], str.WshExec_create
mov dword [esp + 4], 0x1000c02c
mov dword [esp], 2
call sym._wine_dbg_log.constprop.2_1
jmp 0x10005ca9
lea eax, [esi + 0x28]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x7c]
mov dword [esp], eax
call sym._DoOpenPipeStream_12
sub esp, 0xc
mov edi, eax
test eax, eax
js 0x10005c29
lea eax, [esi + 0x2c]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x74]
mov dword [esp], eax
call sym._DoOpenPipeStream_12
movd xmm0, dword [ebp - 0x6c]
movd xmm2, dword [ebp - 0x78]
mov dword [ebp - 0x58], 0x44
mov edi, eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x2c], 0x100
sub esp, 0xc
punpckldq xmm0, xmm2
mov dword [ebp - 0x18], eax
movq qword [ebp - 0x20], xmm0
test edi, edi
js 0x10005c50
lea eax, [esi + 0x14]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], eax
lea eax, [ebp - 0x58]
mov dword [esp + 0x20], eax
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 eax, dword [ebp - 0x8c]
mov dword [esp], 0
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_CreateProcessW]
sub esp, 0x28
test eax, eax
jne 0x10005f78
mov eax, dword fs:[0x18]
mov edi, dword [eax + 0x34]
mov eax, dword [ebp - 0x70]
test edi, edi
jle 0x10005fd0
movzx edx, di
or edx, 0x80070000
mov edi, edx
jmp 0x10005c50
mov eax, dword [ebp - 0x70]
mov esi, dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x78]
sub esp, 4
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x6c]
sub esp, 4
mov dword [esp], eax
call esi
sub esp, 4
mov eax, dword [ebp - 0x88]
xor edi, edi
mov dword [ebx], eax
jmp 0x10005cbb
je 0x10005bab
jmp 0x10005d3c
je 0x10005b59
jmp 0x10005ddc
mov edx, dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [esp], eax
mov dword [ebp - 0x84], edx
call edx
mov eax, dword [ebp - 0x78]
sub esp, 4
mov dword [esp], eax
mov edx, dword [ebp - 0x84]
call edx
mov eax, dword [ebp - 0x6c]
sub esp, 4
mov dword [esp], eax
mov edx, dword [ebp - 0x84]
call edx
sub esp, 4
test edi, edi
je 0x10005f9f
jmp 0x10005ca9
mov edi, 0x80020009
jmp 0x10005cca
mov edi, 0x80004003
jmp 0x10005cca
mov edi, 0x8007000e
jmp 0x10005cbb