Function at 0x41cf5f
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1040
call fcn.0041e4a0
push ebx
push esi
mov esi, dword [esp + 0x1050]
xor ebx, ebx
cmp word [esi], bx
je 0x41d1c8
push esi
call fcn.004236f3
pop ecx
cmp eax, 0x7f6
jae 0x41d1c8
push edi
push 0x3c
pop edi
push edi
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.0041f4b0
mov cl, byte [esp + 0x1068]
add esp, 0xc
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], 0x1c0
test cl, cl
je 0x41cfc1
mov dword [esp + 0x14], 0x5c0
movzx edx, word [esi]
lea edi, [esi + 2]
push ebp
push 0x22
pop ebp
cmp dx, bp
je 0x41cfd2
mov edi, esi
mov dword [esp + 0x24], edi
mov eax, ebx
test dx, dx
je 0x41d013
mov edx, esi
mov dword [esp + 0x10], 0x20
cmp word [edx], bp
je 0x41d179
mov edx, dword [esp + 0x10]
cmp word [esi + eax*2], dx
je 0x41d192
cmp word [esi + eax*2 + 2], 0x2f
je 0x41d192
inc eax
lea edx, [esi + eax*2]
cmp word [edx], bx
jne 0x41cfe7
mov eax, dword [esp + 0x28]
pop ebp
test eax, eax
je 0x41d021
cmp word [eax], bx
jne 0x41d036
test cl, cl
jne 0x41d036
cmp word [0x44b472], bx
je 0x41d036
mov dword [esp + 0x24], 0x44b472
mov eax, dword [esp + 0x1058]
push edi
mov dword [esp + 0x30], eax
call fcn.0040b5b3
mov edi, eax
test edi, edi
je 0x41d064
push str..inf
push edi
call fcn.004118dc
test eax, eax
jne 0x41d064
mov dword [esp + 0x1c], 0x4352dc
push dword [esp + 0x20]
call fcn.0040a2a3
test al, al
je 0x41d08c
push 0x800
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x28]
call fcn.0040b359
lea eax, [esp + 0x4c]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x41d1c7
mov esi, dword [esp + 0x1050]
cmp byte [0x449468], bl
jne 0x41d0bf
cmp byte [esp + 0x105c], bl
jne 0x41d0bf
cmp byte [0x45ec99], bl
je 0x41d12e
test esi, esi
je 0x41d0d8
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41d0d8
push ebx
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov bl, 1
push 0x7d0
push dword [esp + 0x4c]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [esp + 0x48]
call fcn.0041d423
cmp byte [0x45ec99], 0
je 0x41d12e
cmp byte [esp + 0x105c], 0
jne 0x41d12e
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x41d12e
mov eax, dword [esp + 0xc]
cmp eax, dword [0x45ec9c]
jbe 0x41d127
mov dword [0x45ec9c], eax
mov byte [0x45ec9a], 1
push dword [esp + 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x41d14b
push str..exe
push edi
call fcn.004118dc
test eax, eax
je 0x41d1af
cmp byte [0x449468], 0
mov al, byte [esp + 0x105c]
je 0x41d1b6
test al, al
jne 0x41d1b6
cmp byte [0x45ec99], al
jne 0x41d1b6
mov dword [0x45eca0], 0x1b58
jmp 0x41d1b6
cmp word [esi + eax*2], bp
je 0x41d185
inc eax
cmp word [esi + eax*2], bx
jne 0x41d173
jmp 0x41cff0
mov edx, dword [esp + 0x10]
mov word [esi + eax*2], dx
jmp 0x41cff4
mov ebp, dword [esp + 0x10]
cmp word [esi + eax*2], bp
jne 0x41d1a2
xor edx, edx
mov word [esi + eax*2], dx
inc eax
lea eax, [esi + eax*2]
mov dword [esp + 0x28], eax
jmp 0x41d017
mov al, byte [esp + 0x105c]
test bl, bl
je 0x41d1c7
test al, al
je 0x41d1c7
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
add esp, 0x1040
ret 0x10