Function at 0x41fafc
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1048
call fcn.00421590
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 0x41fd7e
push esi
call fcn.00426433
pop ecx
cmp eax, 0x7f6
jae 0x41fd7e
push ebp
push 0x3c
pop ebp
push ebp
lea eax, [esp + 0x1c]
push ebx
push eax
call fcn.00422640
mov dl, byte [esp + 0x1074]
add esp, 0xc
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], 0x1c0
test dl, dl
je 0x41fb78
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 0x41fb94
lea ebp, [esi + 2]
mov dword [esp + 0x28], ebp
jmp 0x41fb9f
mov ebp, esi
mov dword [esp + 0x28], ebp
test ax, ax
je 0x41fbfa
mov eax, dword [esp + 0x10]
movzx edi, ax
push 0x22
pop eax
cmp di, ax
jne 0x41fbcd
jmp 0x41fbb8
push 0x22
pop eax
cmp di, ax
je 0x41fbc6
inc ecx
movzx eax, word [esi + ecx*2]
mov edi, eax
test ax, ax
jne 0x41fbb0
jmp 0x41fbcd
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 0x41fd53
cmp word [eax], 0x2f
je 0x41fd59
inc ecx
movzx eax, word [esi + ecx*2]
mov edi, eax
test ax, ax
jne 0x41fba6
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x41fc07
cmp word [eax], bx
jne 0x41fc1c
test dl, dl
jne 0x41fc1c
cmp word [0x45689a], bx
je 0x41fc1c
mov dword [esp + 0x2c], 0x45689a
mov eax, dword [esp + 0x1064]
push ebp
mov dword [esp + 0x38], eax
call fcn.0040d848
mov esi, eax
pop ebp
test esi, esi
je 0x41fc4b
push 0x438640
push esi
call fcn.00414168
test eax, eax
jne 0x41fc4b
mov dword [esp + 0x20], 0x43864c
push dword [esp + 0x24]
call fcn.0040bccb
test al, al
je 0x41fc73
push 0x800
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x2c]
call fcn.0040d563
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 0x41fd7e
cmp byte [0x454890], bl
jne 0x41fc9f
cmp byte [esp + 0x1064], bl
jne 0x41fc9f
cmp byte [0x463cd8], bl
je 0x41fd0e
test edi, edi
je 0x41fcb8
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41fcb8
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.0042004d
cmp byte [0x463cd8], 0
je 0x41fd0e
cmp byte [esp + 0x1064], 0
jne 0x41fd0e
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x50]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x41fd0e
mov eax, dword [esp + 0xc]
cmp eax, dword [0x463cdc]
jbe 0x41fd07
mov dword [0x463cdc], eax
mov byte [0x463cd9], 1
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x41fd2b
push str..exe
push esi
call fcn.00414168
test eax, eax
je 0x41fd66
cmp byte [0x454890], 0
mov al, byte [esp + 0x1064]
je 0x41fd6d
test al, al
jne 0x41fd6d
cmp byte [0x463cd8], al
jne 0x41fd6d
mov dword [0x463ce0], 0x1b58
jmp 0x41fd6d
xor edi, edi
mov word [esi + ecx*2], di
mov edi, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
jmp 0x41fbfe
mov al, byte [esp + 0x1064]
test bl, bl
je 0x41fd7e
test al, al
je 0x41fd7e
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.004210f9
add esp, 0x1048
ret 0x10