Function at 0x4498f0
Capabilities:
Create pipe
Read file on windows
Read pipe
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0xc
push ebx
push esi
mov esi, ecx
movlpd qword [ebp - 0x84], xmm0
push edi
mov ecx, str._s_____d._______s
movlpd qword [ebp - 0x7c], xmm0
mov edi, edx
movlpd qword [ebp - 0x74], xmm0
movlpd qword [ebp - 0x6c], xmm0
movlpd qword [ebp - 0x64], xmm0
movlpd qword [ebp - 0x5c], xmm0
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x4c], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x18], 0xffffffff
call fcn.0042b500
cmp dword [ebp + 8], 0
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x88], 0x44
je 0x4499ca
push 0x1000
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x4499b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
call fcn.0044b6b0
push eax
push str.Could_not_set_commandline_pipe:__s
call fcn.0044b0b0
add esp, 8
jmp 0x449da8
xor eax, eax
mov dword [ebp - 0x5c], 0x3101
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x30]
mov edx, esi
push eax
lea eax, [ebp - 0x88]
push eax
push edi
sub esp, 0x14
call fcn.00447250
add esp, 0x20
test eax, eax
jne 0x449a09
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
call fcn.0044b6b0
push eax
push esi
push str.Unable_to_launch_command__s:__s
call fcn.0044b0b0
add esp, 0xc
jmp 0x449da8
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
test edi, edi
jne 0x449a27
test esi, esi
jne 0x449a2b
push 0xffffffffffffffff
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x449d84
test esi, esi
je 0x449a42
push 0
push 0
push 0
push 0
push 0
xor edx, edx
or ecx, 0xffffffff
call fcn.0045e120
add esp, 0x14
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop dword [eax + eax]
mov eax, dword [0x55a318]
test eax, eax
jns 0x449a63
cmp ax, 0x4c7
je 0x449ced
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1000
push 0
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x449cae
mov eax, dword [ebp - 8]
test eax, eax
je 0x449cae
inc eax
push eax
call fcn.004d122c
mov ebx, eax
add esp, 4
mov dword [0x59d74c], ebx
test ebx, ebx
je 0x449c9f
push 0
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 8]
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x449ce5
cmp dword [ebp - 0x34], 0
je 0x449ce5
mov ebx, dword [0x59d74c]
mov eax, dword [ebp - 8]
mov byte [ebx + eax], 0
test esi, esi
je 0x449cd3
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], 0
test eax, eax
je 0x449cd3
cmp byte [eax], 2
jne 0x449b13
lea ecx, [ebp - 0xc]
mov edx, ebx
push ecx
lea ecx, [eax + 8]
call fcn.0042bd80
add esp, 4
neg eax
sbb esi, esi
neg esi
dec esi
jmp 0x449b43
or esi, 0xffffffff
lea ecx, [ebp - 0xc]
mov edx, ebx
push ecx
mov ecx, eax
inc esi
call fcn.0042bd80
mov cl, byte [ebx]
add esp, 4
test eax, eax
jne 0x449b3b
inc ebx
test cl, cl
je 0x449ccd
mov eax, dword [ebp - 0x14]
jmp 0x449b16
test cl, cl
je 0x449ccd
cmp esi, 0xffffffff
je 0x449ccd
mov dword [ebp - 0x20], 0
xor esi, esi
mov ecx, dword [ebp - 8]
mov edx, dword [0x59d74c]
cmp esi, ecx
jae 0x449b72
mov al, byte [esi + edx]
cmp al, 0x30
jl 0x449b6d
cmp al, 0x39
jle 0x449b72
inc esi
cmp esi, ecx
jb 0x449b62
lea eax, [ebp - 0x20]
push eax
lea eax, [esi + edx]
push 0x538ccc
push eax
call fcn.00403450
movss xmm1, dword [ebp - 0x20]
xorps xmm0, xmm0
mulss xmm1, dword [0x549ad4]
add esp, 0xc
movlpd qword [ebp - 0x10], xmm0
movss xmm0, dword [0x549af0]
comiss xmm1, xmm0
jb 0x449bc3
subss xmm1, xmm0
comiss xmm0, xmm1
jbe 0x449bc3
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
add edi, 0
adc ebx, 0x80000000
jmp 0x449bc9
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
movaps xmm0, xmm1
call fcn.004a95c0
push 0
add eax, edi
mov ecx, 4
push 0
adc edx, ebx
push 0x2710
push edx
mov edx, dword [ebp + 0xc]
push eax
call fcn.0045e120
mov ecx, dword [ebp - 8]
add esp, 0x14
mov ebx, dword [0x59d74c]
nop dword [eax]
inc esi
cmp esi, ecx
jae 0x449c10
mov al, byte [esi + ebx]
cmp al, 0xa
je 0x449c10
cmp al, 0xd
jne 0x449c00
inc esi
cmp esi, ecx
jae 0x449c9c
mov al, byte [esi + ebx]
lea edi, [esi + ebx]
cmp al, 0xa
je 0x449c10
cmp al, 0xd
je 0x449c10
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], 0
cmp byte [eax], 2
jne 0x449c50
lea ecx, [ebp - 0xc]
mov edx, edi
push ecx
lea ecx, [eax + 8]
call fcn.0042bd80
add esp, 4
neg eax
sbb ebx, ebx
neg ebx
dec ebx
jmp 0x449c78
or ebx, 0xffffffff
lea ecx, [ebp - 0xc]
mov edx, edi
push ecx
mov ecx, eax
inc ebx
call fcn.0042bd80
mov cl, byte [edi]
add esp, 4
test eax, eax
jne 0x449c74
inc edi
test cl, cl
je 0x449c81
mov eax, dword [ebp - 0x14]
jmp 0x449c53
test cl, cl
je 0x449c81
cmp ebx, 0xffffffff
jne 0x449b55
mov eax, dword [0x59d74c]
add eax, esi
push eax
push 0x525f4c
call fcn.0044b0b0
mov ebx, dword [0x59d74c]
add esp, 8
mov edi, dword [ebp + 8]
push ebx
call fcn.004d1211
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add esp, 4
push 0
push dword [ebp - 0x30]
call ebx
test eax, eax
je 0x449d7e
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [ebp + 0xc]
jmp 0x449a50
mov ebx, dword [0x59d74c]
test edi, edi
je 0x449c9f
push ebx
push 0x525f4c
call fcn.0044b0b0
add esp, 8
mov ebx, dword [0x59d74c]
jmp 0x449c9f
push 0x4c7
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x449d24
call fcn.0044b6b0
push eax
push str.Could_not_terminate_command:__s
call fcn.0044b0b0
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 8
mov dword [ebp - 4], 0x4c7
jmp 0x449da8
push 0x1388
push dword [ebp - 0x30]
call ebx
test eax, eax
je 0x449d62
cmp eax, 0x102
je 0x449d5b
call fcn.0044b6b0
push eax
push str.Error_while_waiting_for_command_to_be_terminated:__s
call fcn.0044b0b0
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 8
mov dword [ebp - 4], 0x4c7
jmp 0x449da8
push str.Command_did_not_terminate_within_timeout_duration
jmp 0x449d67
push str.Command_was_terminated_by_user
call fcn.0044b0b0
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 4
mov dword [ebp - 4], 0x4c7
jmp 0x449da8
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x449d9e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push dword [ebp - 0x30]
call ebx
push dword [ebp - 0x2c]
call ebx
mov eax, dword [ebp - 0x18]
cmp eax, 0xffffffff
je 0x449dbe
test eax, eax
je 0x449dbe
push eax
call ebx
mov dword [ebp - 0x18], 0xffffffff
mov eax, dword [ebp - 0x1c]
cmp eax, 0xffffffff
je 0x449dcd
test eax, eax
je 0x449dcd
push eax
call ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret