Function at 0x41187e
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1040
call fcn.00412bc0
push ebx
push esi
mov esi, dword [esp + 0x1050]
xor ebx, ebx
cmp word [esi], bx
je 0x411ae2
push esi
call fcn.00417e43
pop ecx
cmp eax, 0x7f6
jae 0x411ae2
push edi
push 0x3c
pop edi
push edi
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.00413c20
mov dl, byte [esp + 0x1064]
add esp, 0xc
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], 0x1c0
test dl, dl
je 0x4118e0
mov dword [esp + 0x14], 0x5c0
movzx ecx, word [esi]
lea edi, [esi + 2]
push ebp
push 0x22
pop ebp
cmp cx, bp
je 0x4118f1
mov edi, esi
mov dword [esp + 0x24], edi
mov eax, ebx
test cx, cx
je 0x411932
mov ecx, esi
mov dword [esp + 0x10], 0x20
cmp word [ecx], bp
je 0x411a96
mov ecx, dword [esp + 0x10]
cmp word [esi + eax*2], cx
je 0x411aaf
cmp word [esi + eax*2 + 2], 0x2f
je 0x411aaf
inc eax
lea ecx, [esi + eax*2]
cmp word [ecx], bx
jne 0x411906
mov eax, dword [esp + 0x28]
test eax, eax
je 0x41193f
cmp word [eax], bx
jne 0x411954
test dl, dl
jne 0x411954
cmp word [0x44fbd2], bx
je 0x411954
mov dword [esp + 0x28], 0x44fbd2
push edi
mov dword [esp + 0x34], 1
call fcn.004031a2
mov esi, eax
test esi, esi
je 0x41197f
push str..inf
push esi
call fcn.004079cc
test eax, eax
jne 0x41197f
mov dword [esp + 0x20], 0x428d5c
push dword [esp + 0x24]
call fcn.00402455
test al, al
je 0x4119a7
push 0x800
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x2c]
call fcn.00402f26
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 0x411ae0
mov edi, dword [esp + 0x1054]
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [0x44dbc8], bl
jne 0x4119e0
cmp byte [esp + 0x105c], bl
jne 0x4119e0
cmp byte [0x463469], bl
je 0x411a4b
test edi, edi
je 0x4119f5
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4119f5
push ebx
push edi
call ebp
mov bl, 1
push 0x7d0
push dword [esp + 0x50]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [esp + 0x4c]
call fcn.00411d10
cmp byte [0x463469], 0
je 0x411a4b
cmp byte [esp + 0x105c], 0
jne 0x411a4b
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x50]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x411a4b
mov eax, dword [esp + 0x10]
cmp eax, dword [0x46346c]
jbe 0x411a44
mov dword [0x46346c], eax
mov byte [0x46346a], 1
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x411a68
push 0x4272dc
push esi
call fcn.004079cc
test eax, eax
je 0x411acc
cmp byte [0x44dbc8], 0
mov al, byte [esp + 0x105c]
je 0x411ad3
test al, al
jne 0x411ad3
cmp byte [0x463469], al
jne 0x411ad3
mov dword [0x463470], 0x1b58
jmp 0x411ad3
cmp word [esi + eax*2], bp
je 0x411aa2
inc eax
cmp word [esi + eax*2], bx
jne 0x411a90
jmp 0x41190f
mov ecx, dword [esp + 0x10]
mov word [esi + eax*2], cx
jmp 0x411913
mov ebp, dword [esp + 0x10]
cmp word [esi + eax*2], bp
jne 0x411abf
xor ecx, ecx
mov word [esi + eax*2], cx
inc eax
lea eax, [esi + eax*2]
mov dword [esp + 0x28], eax
jmp 0x411936
mov al, byte [esp + 0x105c]
test bl, bl
je 0x411ae0
test al, al
je 0x411ae0
push 1
push edi
call ebp
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1040
ret 0xc