Function at 0x414e2c
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1048
call fcn.004163d0
mov eax, dword [0x43565c]
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 0x4150ae
push esi
call fcn.0041b003
pop ecx
cmp eax, 0x7f6
jae 0x4150ae
push ebp
push 0x3c
pop ebp
push ebp
lea eax, [esp + 0x1c]
push ebx
push eax
call fcn.00417460
mov dl, byte [esp + 0x1074]
add esp, 0xc
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], 0x1c0
test dl, dl
je 0x414ea8
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 0x414ec4
lea ebp, [esi + 2]
mov dword [esp + 0x28], ebp
jmp 0x414ecf
mov ebp, esi
mov dword [esp + 0x28], ebp
test ax, ax
je 0x414f2a
mov eax, dword [esp + 0x10]
movzx edi, ax
push 0x22
pop eax
cmp di, ax
jne 0x414efd
jmp 0x414ee8
push 0x22
pop eax
cmp di, ax
je 0x414ef6
inc ecx
movzx eax, word [esi + ecx*2]
mov edi, eax
test ax, ax
jne 0x414ee0
jmp 0x414efd
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 0x415083
cmp word [eax], 0x2f
je 0x415089
inc ecx
movzx eax, word [esi + ecx*2]
mov edi, eax
test ax, ax
jne 0x414ed6
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x414f37
cmp word [eax], bx
jne 0x414f4c
test dl, dl
jne 0x414f4c
cmp word [0x45ad9a], bx
je 0x414f4c
mov dword [esp + 0x2c], 0x45ad9a
mov eax, dword [esp + 0x1064]
push ebp
mov dword [esp + 0x38], eax
call fcn.004036e8
mov esi, eax
pop ebp
test esi, esi
je 0x414f7b
push str..inf
push esi
call fcn.00408261
test eax, eax
jne 0x414f7b
mov dword [esp + 0x20], str.Install
push dword [esp + 0x24]
call fcn.004028e5
test al, al
je 0x414fa3
push 0x800
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x2c]
call fcn.00403403
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 0x4150ae
cmp byte [0x458d90], bl
jne 0x414fcf
cmp byte [esp + 0x1064], bl
jne 0x414fcf
cmp byte [0x46823c], bl
je 0x41503e
test edi, edi
je 0x414fe8
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x414fe8
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.00415310
cmp byte [0x46823c], 0
je 0x41503e
cmp byte [esp + 0x1064], 0
jne 0x41503e
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x50]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x41503e
mov eax, dword [esp + 0xc]
cmp eax, dword [0x468240]
jbe 0x415037
mov dword [0x468240], eax
mov byte [0x46823d], 1
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x41505b
push str..exe
push esi
call fcn.00408261
test eax, eax
je 0x415096
cmp byte [0x458d90], 0
mov al, byte [esp + 0x1064]
je 0x41509d
test al, al
jne 0x41509d
cmp byte [0x46823c], al
jne 0x41509d
mov dword [0x468244], 0x1b58
jmp 0x41509d
xor edi, edi
mov word [esi + ecx*2], di
mov edi, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
jmp 0x414f2e
mov al, byte [esp + 0x1064]
test bl, bl
je 0x4150ae
test al, al
je 0x4150ae
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.00416329
add esp, 0x1048
ret 0x10