Function at 0x40b17b
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1048
call fcn.00401200
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp word [esi], bx
je 0x40b3ce
push esi
call fcn.004098ab
cmp eax, 0x3f6
jae 0x40b3ce
push edi
push 0x3c
pop edi
push edi
push ebx
lea eax, [ebp - 0x48]
push eax
call fcn.00409525
movzx ecx, word [esi]
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], 0x1c0
cmp cx, 0x22
jne 0x40b1d2
lea eax, [esi + 2]
mov dword [ebp - 0x38], eax
jmp 0x40b1d5
mov dword [ebp - 0x38], esi
xor eax, eax
cmp cx, bx
je 0x40b22b
mov ecx, esi
cmp word [ecx], 0x22
jne 0x40b1fd
jmp 0x40b1ed
cmp word [esi + eax*2], 0x22
je 0x40b1f6
inc eax
cmp word [esi + eax*2], bx
jne 0x40b1e6
jmp 0x40b1fd
push 0x20
pop ecx
mov word [esi + eax*2], cx
cmp word [esi + eax*2], 0x20
je 0x40b217
cmp word [esi + eax*2 + 2], 0x2f
je 0x40b217
inc eax
lea ecx, [esi + eax*2]
cmp word [ecx], bx
jne 0x40b1de
jmp 0x40b22b
lea eax, [esi + eax*2]
cmp word [eax], 0x20
jne 0x40b225
xor ecx, ecx
mov word [eax], cx
add eax, 2
mov dword [ebp - 0x34], eax
cmp byte [ebp + 8], bl
jne 0x40b240
cmp word [0x423212], bx
je 0x40b240
mov dword [ebp - 0x34], 0x423212
push dword [ebp - 0x38]
mov dword [ebp - 0x2c], 1
call fcn.00406c3d
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x40b26c
push str..inf
push eax
call fcn.0040db59
test eax, eax
jne 0x40b26c
mov dword [ebp - 0x3c], str.Install
push dword [ebp - 0x38]
call fcn.004058a3
mov bl, al
test bl, bl
je 0x40b292
lea eax, [ebp - 0x1048]
push eax
push dword [ebp - 0x38]
call fcn.00406764
lea eax, [ebp - 0x1048]
mov dword [ebp - 0x38], eax
cmp byte [ebp + 8], 0
mov edi, str..exe
je 0x40b2d1
test bl, bl
jne 0x40b2d1
push dword [ebp - 0x38]
lea eax, [ebp - 0x848]
push eax
call fcn.004098d5
push edi
lea eax, [ebp - 0x848]
push eax
call fcn.00409947
lea eax, [ebp - 0x848]
push eax
call fcn.004058a3
test al, al
je 0x40b3cd
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x40b3cd
cmp byte [0x422a08], 0
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
mov byte [ebp - 1], 0
mov esi, 0x3e8
jne 0x40b30a
cmp byte [ebp + 8], 0
jne 0x40b30a
cmp byte [0x423b29], 0
je 0x40b36e
mov eax, dword [0x422a00]
test eax, eax
je 0x40b32c
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40b32c
push 0
push dword [0x422a00]
call ebx
mov byte [ebp - 1], 1
push 0x7d0
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x10]
call fcn.0040aac2
cmp byte [0x423b29], 0
je 0x40b36e
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_GetExitCodeProcess]
test eax, eax
je 0x40b36e
mov eax, dword [ebp - 0xc]
add eax, esi
cmp eax, dword [0x423b2c]
jbe 0x40b36e
mov dword [0x423b2c], eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp - 8], 0
je 0x40b38a
push edi
push dword [ebp - 8]
call fcn.0040db59
test eax, eax
je 0x40b3b7
cmp byte [0x422a08], 0
je 0x40b3a0
cmp byte [ebp + 8], 0
jne 0x40b3a0
push 0x1b58
jmp 0x40b3b1
xor eax, eax
cmp byte [ebp + 8], al
sete al
dec eax
and eax, 0xfffffce0
add eax, esi
push eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
cmp byte [ebp - 1], 0
je 0x40b3cd
cmp byte [ebp + 8], 0
je 0x40b3cd
push 1
push dword [0x422a00]
call ebx
pop edi
pop esi
pop ebx
leave
ret 4