Function at 0x4064b8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xea0
push ebx
push esi
push edi
xor edi, edi
push 0x800
lea eax, [ebp - 0xea0]
push edi
push eax
mov dword [ebp - 4], edi
call fcn.00409cd0
push dword [ebp + 8]
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
push dword [ebp + 0xc]
lea eax, [ebp - 0xea0]
push 0x416438
push eax
call ebx
push edi
lea eax, [ebp - 0x498]
push eax
lea eax, [ebp - 0xea0]
push eax
call fcn.00402397
lea eax, [ebp - 0xea0]
push 0x2e
push eax
call fcn.00409daa
add esp, 0x30
mov esi, eax
push str..inf
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4065e5
cmp byte [0x41e02e], 0x36
jne 0x406543
push edi
call fcn.00406414
pop ecx
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x6a0]
push eax
lea eax, [ebp - 0xea0]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
lea eax, [ebp - 0x6a0]
push eax
lea eax, [ebp - 0xea0]
push str.rundll32.exe_setupapi_InstallHinfSection_DefaultInstall_132__s
push eax
call ebx
push 0x44
pop esi
push esi
lea eax, [ebp - 0x98]
push edi
push eax
call fcn.00409cd0
add esp, 0x18
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x498]
push eax
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0xea0]
push eax
push edi
mov dword [ebp - 0x98], esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4065cf
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
cmp dword [ebp - 4], edi
je 0x4067d1
push 1
call fcn.00406414
pop ecx
jmp 0x4067d1
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 4
jl 0x406626
movzx eax, word [esi + 2]
cmp eax, 0x65
je 0x4065ff
cmp eax, 0x45
jne 0x406626
movzx eax, word [esi + 4]
cmp eax, 0x78
je 0x40660d
cmp eax, 0x58
jne 0x406626
movzx eax, word [esi + 6]
cmp eax, 0x65
je 0x40661b
cmp eax, 0x45
jne 0x406626
xor eax, eax
mov word [esi + 8], ax
add esi, 0xa
jmp 0x406628
xor esi, esi
push 0x3c
pop ebx
push ebx
lea eax, [ebp - 0x44]
push edi
push eax
call fcn.00409cd0
lea eax, [ebp - 0xea0]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x498]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x41e420]
mov dword [ebp - 0x24], eax
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], 0x40
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4067d1
cmp dword [ebp - 0xc], edi
je 0x4067d1
push 0xffffffffffffffff
push dword [ebp - 0xc]
mov ebx, 0x103
mov dword [ebp - 8], ebx
mov dword [ebp - 4], edi
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
call esi
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4067c8
cmp dword [ebp + 0x10], edi
je 0x4067c8
cmp dword [ebp - 8], ebx
jne 0x4066f6
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
push dword [ebp - 0xc]
mov dword [ebp - 4], 1
call ebx
cmp eax, 0x102
jne 0x4066f6
push 0x64
call esi
push edi
push dword [ebp - 0xc]
call ebx
cmp eax, 0x102
je 0x4066e5
mov ebx, 0xfc
push ebx
lea eax, [ebp - 0x294]
push edi
push eax
mov dword [ebp - 0x298], edi
call fcn.00409cd0
push ebx
lea eax, [ebp - 0x194]
push edi
push eax
mov dword [ebp - 0x198], edi
call fcn.00409cd0
add esp, 0x18
mov ebx, 0xbb8
cmp dword [ebp - 4], edi
je 0x406735
mov ebx, 0xc8
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x3e8
call esi
mov dword [ebp - 4], edi
cmp ebx, edi
jle 0x4067d1
push 0xa
call esi
xor eax, eax
mov word [ebp - 0x298], ax
mov word [ebp - 0x198], ax
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x298]
call fcn.004063bd
pop ecx
cmp eax, edi
jne 0x406794
inc dword [ebp - 4]
cmp dword [ebp - 4], ebx
jl 0x406750
jmp 0x4067d1
cmp eax, edi
jne 0x406794
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4067d1
push 0x64
call esi
movzx eax, word [ebp - 0x198]
neg eax
sbb eax, eax
lea ecx, [ebp - 0x198]
and eax, ecx
push eax
movzx eax, word [ebp - 0x298]
neg eax
sbb eax, eax
lea ecx, [ebp - 0x298]
and eax, ecx
push eax
call dword [sym.imp.USER32.dll_FindWindowW]
jmp 0x406785
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret