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

Disassembly:
push 0xffffffffffffffff
push 0x45f63e
mov eax, dword fs:[0]
push eax
mov eax, 0x2728
call fcn.0044bf30
mov eax, dword [0x47b038]
xor eax, esp
mov dword [esp + 0x2724], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47b038]
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.0043e2c0
push 0x1c2d0
call fcn.0044ad7f
add esp, 0xc
mov dword [esp + 0x14], eax
xor ebp, ebp
mov dword [esp + 0x2744], ebp
cmp eax, ebp
je 0x41d630
mov ecx, eax
call fcn.0043d9e0
mov esi, eax
jmp 0x41d632
xor esi, esi
push 0x1058
lea eax, [esp + 0x74]
push ebp
push eax
mov dword [esp + 0x2750], 0xffffffff
call fcn.0044ac90
add esp, 0xc
push 0x469868
push edi
mov ecx, esi
call fcn.0043dc30
cmp byte [esi + 0x1c2cc], 0
mov edi, eax
je 0x41d67c
cmp dword [esi + 0x1c2c8], ebp
jg 0x41d674
xor eax, eax
jmp 0x41d68a
lea eax, [esi + 0x32c8]
jmp 0x41d68a
xor eax, eax
cmp dword [esi + 0x1c2c8], ebp
setle al
dec eax
and eax, esi
push str.UNINST_STRING_ARP
push eax
call fcn.0044b362
add esp, 8
test eax, eax
jne 0x41d9e7
cmp byte [esi + 0x1c2cc], al
je 0x41d6b9
cmp dword [esi + 0x1c2c8], 1
jle 0x41d6cc
lea eax, [esi + 0x3ac8]
jmp 0x41d6cc
cmp dword [esi + 0x1c2c8], 1
jg 0x41d6c6
xor eax, eax
jmp 0x41d6cc
lea eax, [esi + 0x104]
lea ecx, [esp + 0x70]
push ecx
push eax
mov ecx, ebx
call fcn.0041b4e0
cmp byte [esp + 0x10b0], 0
je 0x41d9ae
cmp edi, 2
jle 0x41d723
push 2
mov ecx, esi
call fcn.00401860
test eax, eax
je 0x41d723
push 2
mov ecx, esi
call fcn.00401860
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 0x41d748
xor eax, eax
jmp 0x41d730
movzx ecx, word [esp + eax + 0x278]
mov word [esp + eax + 0x2120], cx
add eax, 2
cmp cx, bp
jne 0x41d730
cmp edi, 3
jle 0x41d7a3
push 3
mov ecx, esi
call fcn.00401860
test eax, eax
je 0x41d7a3
lea ecx, [esp + 0x2120]
push ecx
push str.before_replace___s__n
call fcn.0043e2c0
add esp, 8
push 0x4626e4
push 3
mov ecx, esi
call fcn.00401860
mov ecx, dword [ebx + 0xc]
push eax
lea edx, [esp + 0x2128]
push edx
call fcn.004426f0
lea eax, [esp + 0x2120]
push eax
push str.after_replace___s__n
call fcn.0043e2c0
add esp, 8
lea ecx, [esp + 0x2120]
push ecx
push str.wszFullCommand____s__n
call fcn.0043e2c0
add esp, 8
cmp byte [esi + 0x1c2cc], 0
je 0x41d7d6
cmp dword [esi + 0x1c2c8], 1
jg 0x41d7ce
xor eax, eax
jmp 0x41d7e9
lea eax, [esi + 0x3ac8]
jmp 0x41d7e9
cmp dword [esi + 0x1c2c8], 1
jg 0x41d7e3
xor eax, eax
jmp 0x41d7e9
lea eax, [esi + 0x104]
push eax
push str.args__GetArgString_1_____s__n
call fcn.0043e2c0
add esp, 8
cmp byte [esp + 0x2750], 0
jne 0x41d9e7
lea edx, [esp + 0x2120]
push edx
push 0xffffffffffffffff
push 9
mov ecx, ebx
call fcn.00415ea0
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.0044ac90
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 0x41d987
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 0x41d890
push 0x1058
lea ecx, [esp + 0x10cc]
push 0
push ecx
call fcn.0044ac90
add esp, 0xc
lea edx, [esp + 0x10c8]
push edx
push 1
mov ecx, esi
call fcn.00401860
mov edi, dword [esp + 0x1c]
push eax
mov ecx, edi
call fcn.0041b4e0
cmp dword [esp + 0x14], 0x11010001
jne 0x41d8f9
push 1
push 0
push 0
push 0x8901
mov ecx, edi
call fcn.00415f80
mov ecx, dword [edi + 0xc]
push str.KmInst32.exe
lea eax, [esp + 0x2124]
push eax
call fcn.00442110
test eax, eax
jne 0x41d92b
push str.KmInst64.exe
lea ecx, [esp + 0x2124]
push ecx
mov ecx, dword [edi + 0xc]
call fcn.00442110
test eax, eax
je 0x41d93d
push 1
push 0
push 0
push 0x8901
mov ecx, edi
call fcn.00415f80
cmp byte [esp + 0x2108], 0
mov ecx, edi
je 0x41d968
lea edx, [esp + 0x2120]
push edx
push 1
push 9
mov dword [edi + 0x28b8], 1
call fcn.00415ea0
mov ebx, edi
jmp 0x41d9e7
lea eax, [esp + 0x2120]
push eax
push 0
push 9
mov dword [edi + 0x28b8], 0
call fcn.00415ea0
mov ebx, edi
jmp 0x41d9e7
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
push eax
push str.CreateProcess_failure____ld_n
call fcn.0043e2c0
add esp, 8
call edi
lea ecx, [esp + 0x2120]
push ecx
mov dword [esp + 0x18], eax
push eax
jmp 0x41d9de
cmp byte [esi + 0x1c2cc], 0
je 0x41d9c8
cmp dword [esi + 0x1c2c8], 1
jle 0x41d9d1
lea eax, [esi + 0x3ac8]
jmp 0x41d9db
cmp dword [esi + 0x1c2c8], 1
jg 0x41d9d5
xor eax, eax
jmp 0x41d9db
lea eax, [esi + 0x104]
push eax
push 1
push 9
mov ecx, ebx
call fcn.00415ea0
mov ecx, esi
call fcn.0043d490
push esi
call fcn.0044ad0a
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.0044ac80
add esp, 0x2734
ret 8