Function at 0x41faec
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1048
call fcn.00421580
mov eax, dword [0x44277c]
xor eax, esp
mov dword [esp + 0x1044], eax
push ebx
push esi
mov esi, dword [esp + 0x1058]
xor ebx, ebx
push edi
mov edi, dword [esp + 0x1058]
mov dword [esp + 0x10], edi
cmp word [esi], bx
je 0x41fd6e
push esi
call fcn.00426433
pop ecx
cmp eax, 0x7f6
jae 0x41fd6e
push ebp
push 0x3c
pop ebp
push ebp
lea eax, [esp + 0x1c]
push ebx
push eax
call fcn.00422630
mov dl, byte [esp + 0x1074]
add esp, 0xc
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], 0x1c0
test dl, dl
je 0x41fb68
mov dword [esp + 0x1c], 0x5c0
movzx eax, word [esi]
mov ecx, eax
mov dword [esp + 0x10], ecx
push 0x22
pop ecx
cmp ax, cx
mov ecx, ebx
jne 0x41fb84
lea ebp, [esi + 2]
mov dword [esp + 0x28], ebp
jmp 0x41fb8f
mov ebp, esi
mov dword [esp + 0x28], ebp
test ax, ax
je 0x41fbea
mov eax, dword [esp + 0x10]
movzx edi, ax
push 0x22
pop eax
cmp di, ax
jne 0x41fbbd
jmp 0x41fba8
push 0x22
pop eax
cmp di, ax
je 0x41fbb6
inc ecx
movzx eax, word [esi + ecx*2]
mov edi, eax
test ax, ax
jne 0x41fba0
jmp 0x41fbbd
push 0x20
pop eax
mov word [esi + ecx*2], ax
push 0x20
pop edi
lea eax, [esi + 2]
lea eax, [eax + ecx*2]
cmp word [esi + ecx*2], di
je 0x41fd43
cmp word [eax], 0x2f
je 0x41fd49
inc ecx
movzx eax, word [esi + ecx*2]
mov edi, eax
test ax, ax
jne 0x41fb96
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x41fbf7
cmp word [eax], bx
jne 0x41fc0c
test dl, dl
jne 0x41fc0c
cmp word [0x45689a], bx
je 0x41fc0c
mov dword [esp + 0x2c], 0x45689a
mov eax, dword [esp + 0x1064]
push ebp
mov dword [esp + 0x38], eax
call fcn.0040d838
mov esi, eax
pop ebp
test esi, esi
je 0x41fc3b
push str..inf
push esi
call fcn.00414158
test eax, eax
jne 0x41fc3b
mov dword [esp + 0x20], 0x43864c
push dword [esp + 0x24]
call fcn.0040be3b
test al, al
je 0x41fc63
push 0x800
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x2c]
call fcn.0040d553
lea eax, [esp + 0x50]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x41fd6e
cmp byte [0x454890], bl
jne 0x41fc8f
cmp byte [esp + 0x1064], bl
jne 0x41fc8f
cmp byte [0x463cd8], bl
je 0x41fcfe
test edi, edi
je 0x41fca8
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41fca8
push ebx
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov bl, 1
push 0x7d0
push dword [esp + 0x50]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [esp + 0x4c]
call fcn.0042003a
cmp byte [0x463cd8], 0
je 0x41fcfe
cmp byte [esp + 0x1064], 0
jne 0x41fcfe
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x50]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x41fcfe
mov eax, dword [esp + 0xc]
cmp eax, dword [0x463cdc]
jbe 0x41fcf7
mov dword [0x463cdc], eax
mov byte [0x463cd9], 1
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x41fd1b
push str..exe
push esi
call fcn.00414158
test eax, eax
je 0x41fd56
cmp byte [0x454890], 0
mov al, byte [esp + 0x1064]
je 0x41fd5d
test al, al
jne 0x41fd5d
cmp byte [0x463cd8], al
jne 0x41fd5d
mov dword [0x463ce0], 0x1b58
jmp 0x41fd5d
xor edi, edi
mov word [esi + ecx*2], di
mov edi, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
jmp 0x41fbee
mov al, byte [esp + 0x1064]
test bl, bl
je 0x41fd6e
test al, al
je 0x41fd6e
push 1
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x1050]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004210e9
add esp, 0x1048
ret 0x10