Function at 0x41b740
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1040
call fcn.0041cc40
push ebx
push esi
mov esi, dword [esp + 0x1050]
xor ebx, ebx
cmp word [esi], bx
je 0x41b9a4
push esi
call fcn.00421ea5
pop ecx
cmp eax, 0x7f6
jae 0x41b9a4
push edi
push 0x3c
pop edi
push edi
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.0041dc30
mov dl, byte [esp + 0x1064]
add esp, 0xc
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], 0x1c0
test dl, dl
je 0x41b7a2
mov dword [esp + 0x14], 0x5c0
movzx ecx, word [esi]
lea edi, [esi + 2]
push ebp
push 0x22
pop ebp
cmp cx, bp
je 0x41b7b3
mov edi, esi
mov dword [esp + 0x24], edi
mov eax, ebx
test cx, cx
je 0x41b7f4
mov ecx, esi
mov dword [esp + 0x10], 0x20
cmp word [ecx], bp
je 0x41b958
mov ecx, dword [esp + 0x10]
cmp word [esi + eax*2], cx
je 0x41b971
cmp word [esi + eax*2 + 2], 0x2f
je 0x41b971
inc eax
lea ecx, [esi + eax*2]
cmp word [ecx], bx
jne 0x41b7c8
mov eax, dword [esp + 0x28]
test eax, eax
je 0x41b801
cmp word [eax], bx
jne 0x41b816
test dl, dl
jne 0x41b816
cmp word [0x44312a], bx
je 0x41b816
mov dword [esp + 0x28], 0x44312a
push edi
mov dword [esp + 0x34], 1
call fcn.0040aef2
mov esi, eax
test esi, esi
je 0x41b841
push str..inf
push esi
call fcn.004108c5
test eax, eax
jne 0x41b841
mov dword [esp + 0x20], str.Install
push dword [esp + 0x24]
call fcn.00409c83
test al, al
je 0x41b869
push 0x800
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x2c]
call fcn.0040ac7b
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 0x41b9a2
mov edi, dword [esp + 0x1054]
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [0x442120], bl
jne 0x41b8a2
cmp byte [esp + 0x105c], bl
jne 0x41b8a2
cmp byte [0x45690e], bl
je 0x41b90d
test edi, edi
je 0x41b8b7
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41b8b7
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.0041bbfa
cmp byte [0x45690e], 0
je 0x41b90d
cmp byte [esp + 0x105c], 0
jne 0x41b90d
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x50]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x41b90d
mov eax, dword [esp + 0x10]
cmp eax, dword [0x456910]
jbe 0x41b906
mov dword [0x456910], eax
mov byte [0x45690f], 1
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x41b92a
push str..exe
push esi
call fcn.004108c5
test eax, eax
je 0x41b98e
cmp byte [0x442120], 0
mov al, byte [esp + 0x105c]
je 0x41b995
test al, al
jne 0x41b995
cmp byte [0x45690e], al
jne 0x41b995
mov dword [0x456914], 0x1b58
jmp 0x41b995
cmp word [esi + eax*2], bp
je 0x41b964
inc eax
cmp word [esi + eax*2], bx
jne 0x41b952
jmp 0x41b7d1
mov ecx, dword [esp + 0x10]
mov word [esi + eax*2], cx
jmp 0x41b7d5
mov ebp, dword [esp + 0x10]
cmp word [esi + eax*2], bp
jne 0x41b981
xor ecx, ecx
mov word [esi + eax*2], cx
inc eax
lea eax, [esi + eax*2]
mov dword [esp + 0x28], eax
jmp 0x41b7f8
mov al, byte [esp + 0x105c]
test bl, bl
je 0x41b9a2
test al, al
je 0x41b9a2
push 1
push edi
call ebp
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1040
ret 0xc