Function at 0x401e6f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xda0
lea eax, [ebp - 0xda0]
push ebx
push esi
push edi
push 0x800
xor edi, edi
push edi
push eax
call fcn.00405d90
push dword [ebp + 8]
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0xda0]
push dword [ebp + 0xc]
push 0x4143f0
push eax
call ebx
push edi
lea eax, [ebp - 0x5a0]
push eax
lea eax, [ebp - 0xda0]
push eax
call fcn.00403343
lea eax, [ebp - 0xda0]
push 0x2e
push eax
call fcn.00405eea
add esp, 0x30
mov esi, eax
push str..inf
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401f99
cmp byte [0x41cb46], 0x36
jne 0x401ef6
push eax
call fcn.0040217d
pop ecx
mov edi, eax
push 0x104
lea eax, [ebp - 0x3a0]
push eax
lea eax, [ebp - 0xda0]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
lea eax, [ebp - 0x3a0]
push eax
lea eax, [ebp - 0xda0]
push str.rundll32.exe_setupapi_InstallHinfSection_DefaultInstall_132__s
push eax
call ebx
push 0x44
pop esi
push esi
xor ebx, ebx
lea eax, [ebp - 0x98]
push ebx
push eax
call fcn.00405d90
add esp, 0x18
mov dword [ebp - 0x98], esi
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x5a0]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0xda0]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x401f84
push 0xffffffffffffffff
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x54]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x50]
call esi
test edi, edi
je 0x402178
push 1
call fcn.0040217d
pop ecx
jmp 0x402178
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 4
jl 0x401fe0
movzx eax, word [esi + 2]
push 0x45
pop ecx
push 0x65
pop edx
cmp ax, dx
je 0x401fb9
cmp ax, cx
jne 0x401fe0
movzx eax, word [esi + 4]
cmp eax, 0x78
je 0x401fc7
cmp eax, 0x58
jne 0x401fe0
movzx eax, word [esi + 6]
cmp ax, dx
je 0x401fd5
cmp ax, cx
jne 0x401fe0
xor eax, eax
mov word [esi + 8], ax
add esi, 0xa
jmp 0x401fe2
xor esi, esi
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.00405d90
and dword [ebp - 0x3c], 0
lea eax, [ebp - 0xda0]
and dword [ebp - 0x38], 0
add esp, 0xc
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x5a0]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x41cb38]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], 0x40
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x402178
cmp dword [ebp - 0xc], 0
je 0x402178
push 0xffffffffffffffff
push dword [ebp - 0xc]
mov ebx, 0x103
xor esi, esi
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
call edi
lea eax, [ebp - 4]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x40216f
cmp dword [ebp + 0x10], esi
je 0x40216f
cmp dword [ebp - 4], ebx
jne 0x4020b7
push esi
push dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 8], 1
call esi
dec ebx
cmp eax, ebx
jne 0x4020b4
push 0x64
call edi
push 0
push dword [ebp - 0xc]
call esi
cmp eax, ebx
je 0x4020a0
mov esi, dword [ebp - 8]
jmp 0x4020b7
xor esi, esi
inc esi
mov ebx, 0x100
lea eax, [ebp - 0x298]
push ebx
push 0
push eax
call fcn.00405d90
push ebx
lea eax, [ebp - 0x198]
push 0
push eax
call fcn.00405d90
add esp, 0x18
add ebx, 0xffffffc8
mov eax, 0xbb8
test esi, esi
cmove ebx, eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x3e8
call edi
xor esi, esi
push 0xa
call edi
xor eax, eax
mov word [ebp - 0x298], ax
mov word [ebp - 0x198], ax
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x298]
push eax
call fcn.00401e17
pop ecx
pop ecx
test eax, eax
jne 0x402130
inc esi
cmp esi, ebx
jl 0x4020fc
jmp 0x402178
push 0x64
call edi
xor ecx, ecx
lea eax, [ebp - 0x198]
cmp word [ebp - 0x198], cx
cmove eax, ecx
cmp word [ebp - 0x298], cx
push eax
lea eax, [ebp - 0x298]
cmove eax, ecx
push eax
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
jne 0x402130
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x402130
jmp 0x402178
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret