Function at 0x41e700
Capabilities:
Create process on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x462bae
mov eax, dword fs:[0]
push eax
mov eax, 0x2728
call fcn.0044f450
mov eax, dword [0x47f038]
xor eax, esp
mov dword [esp + 0x2724], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47f038]
xor eax, esp
push eax
lea eax, [esp + 0x273c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x274c]
mov ebx, ecx
push edi
push str.RemoveCmd____s__n
mov dword [esp + 0x20], ebx
call fcn.004412c0
push 0x1c2d0
call fcn.0044e29f
add esp, 0xc
mov dword [esp + 0x14], eax
xor ebp, ebp
mov dword [esp + 0x2744], ebp
cmp eax, ebp
je 0x41e780
mov ecx, eax
call fcn.004409e0
mov esi, eax
jmp 0x41e782
xor esi, esi
push 0x1058
lea eax, [esp + 0x74]
push ebp
push eax
mov dword [esp + 0x2750], 0xffffffff
call fcn.0044e1b0
add esp, 0xc
push 0x46ce98
push edi
mov ecx, esi
call fcn.00440c30
cmp byte [esi + 0x1c2cc], 0
mov edi, eax
je 0x41e7cc
cmp dword [esi + 0x1c2c8], ebp
jg 0x41e7c4
xor eax, eax
jmp 0x41e7da
lea eax, [esi + 0x32c8]
jmp 0x41e7da
xor eax, eax
cmp dword [esi + 0x1c2c8], ebp
setle al
dec eax
and eax, esi
push str.UNINST_STRING_ARP
push eax
call fcn.0044e882
add esp, 8
test eax, eax
jne 0x41eb37
cmp byte [esi + 0x1c2cc], al
je 0x41e809
cmp dword [esi + 0x1c2c8], 1
jle 0x41e81c
lea eax, [esi + 0x3ac8]
jmp 0x41e81c
cmp dword [esi + 0x1c2c8], 1
jg 0x41e816
xor eax, eax
jmp 0x41e81c
lea eax, [esi + 0x104]
lea ecx, [esp + 0x70]
push ecx
push eax
mov ecx, ebx
call fcn.0041c630
cmp byte [esp + 0x10b0], 0
je 0x41eafe
cmp edi, 2
jle 0x41e873
push 2
mov ecx, esi
call fcn.00401ae0
test eax, eax
je 0x41e873
push 2
mov ecx, esi
call fcn.00401ae0
push eax
lea edx, [esp + 0x27c]
push edx
lea eax, [esp + 0x2128]
push str._s__s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp 0x41e898
xor eax, eax
jmp 0x41e880
movzx ecx, word [esp + eax + 0x278]
mov word [esp + eax + 0x2120], cx
add eax, 2
cmp cx, bp
jne 0x41e880
cmp edi, 3
jle 0x41e8f3
push 3
mov ecx, esi
call fcn.00401ae0
test eax, eax
je 0x41e8f3
lea ecx, [esp + 0x2120]
push ecx
push str.before_replace___s__n
call fcn.004412c0
add esp, 8
push 0x46574c
push 3
mov ecx, esi
call fcn.00401ae0
mov ecx, dword [ebx + 0xc]
push eax
lea edx, [esp + 0x2128]
push edx
call fcn.004459c0
lea eax, [esp + 0x2120]
push eax
push str.after_replace___s__n
call fcn.004412c0
add esp, 8
lea ecx, [esp + 0x2120]
push ecx
push str.wszFullCommand____s__n
call fcn.004412c0
add esp, 8
cmp byte [esi + 0x1c2cc], 0
je 0x41e926
cmp dword [esi + 0x1c2c8], 1
jg 0x41e91e
xor eax, eax
jmp 0x41e939
lea eax, [esi + 0x3ac8]
jmp 0x41e939
cmp dword [esi + 0x1c2c8], 1
jg 0x41e933
xor eax, eax
jmp 0x41e939
lea eax, [esi + 0x104]
push eax
push str.args__GetArgString_1_____s__n
call fcn.004412c0
add esp, 8
cmp byte [esp + 0x2750], 0
jne 0x41eb37
lea edx, [esp + 0x2120]
push edx
push 0xffffffffffffffff
push 9
mov ecx, ebx
call fcn.00416eb0
xor eax, eax
push 0x44
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x30]
push ebp
push eax
call fcn.0044e1b0
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x30]
push eax
push ebp
push ebp
push ebp
push ebp
mov ecx, 1
push ebp
mov word [esp + 0x78], cx
mov dword [esp + 0x74], ecx
push ebp
lea ecx, [esp + 0x2140]
push ecx
push ebp
mov dword [esp + 0x54], 0x44
mov dword [esp + 0x3c], ebp
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41ead7
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebp, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ebx, 0x103
lea esp, [esp]
push 0x1f4
call edi
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push edx
push eax
call ebp
cmp dword [esp + 0x14], ebx
je 0x41e9e0
push 0x1058
lea ecx, [esp + 0x10cc]
push 0
push ecx
call fcn.0044e1b0
add esp, 0xc
lea edx, [esp + 0x10c8]
push edx
push 1
mov ecx, esi
call fcn.00401ae0
mov edi, dword [esp + 0x1c]
push eax
mov ecx, edi
call fcn.0041c630
cmp dword [esp + 0x14], 0x11010001
jne 0x41ea49
push 1
push 0
push 0
push 0x8901
mov ecx, edi
call fcn.00416f90
mov ecx, dword [edi + 0xc]
push str.KmInst32.exe
lea eax, [esp + 0x2124]
push eax
call fcn.004453e0
test eax, eax
jne 0x41ea7b
push str.KmInst64.exe
lea ecx, [esp + 0x2124]
push ecx
mov ecx, dword [edi + 0xc]
call fcn.004453e0
test eax, eax
je 0x41ea8d
push 1
push 0
push 0
push 0x8901
mov ecx, edi
call fcn.00416f90
cmp byte [esp + 0x2108], 0
mov ecx, edi
je 0x41eab8
lea edx, [esp + 0x2120]
push edx
push 1
push 9
mov dword [edi + 0x28b8], 1
call fcn.00416eb0
mov ebx, edi
jmp 0x41eb37
lea eax, [esp + 0x2120]
push eax
push 0
push 9
mov dword [edi + 0x28b8], 0
call fcn.00416eb0
mov ebx, edi
jmp 0x41eb37
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
push eax
push str.CreateProcess_failure____ld_n
call fcn.004412c0
add esp, 8
call edi
lea ecx, [esp + 0x2120]
push ecx
mov dword [esp + 0x18], eax
push eax
jmp 0x41eb2e
cmp byte [esi + 0x1c2cc], 0
je 0x41eb18
cmp dword [esi + 0x1c2c8], 1
jle 0x41eb21
lea eax, [esi + 0x3ac8]
jmp 0x41eb2b
cmp dword [esi + 0x1c2c8], 1
jg 0x41eb25
xor eax, eax
jmp 0x41eb2b
lea eax, [esi + 0x104]
push eax
push 1
push 9
mov ecx, ebx
call fcn.00416eb0
mov ecx, esi
call fcn.00440490
push esi
call fcn.0044e22a
mov eax, 1
add esp, 4
mov dword [ebx + 0x28bc], eax
mov ecx, dword [esp + 0x273c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2724]
xor ecx, esp
call fcn.0044e1a0
add esp, 0x2734
ret 8