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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1044
call fcn.004012c0
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp word [esi], bx
je 0x40b4c3
push esi
call fcn.004099da
cmp eax, 0x3f6
jae 0x40b4c3
push edi
push 0x3c
pop edi
push edi
push ebx
lea eax, [ebp - 0x44]
push eax
call fcn.004096fc
movzx ecx, word [esi]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], 0x1c0
cmp cx, 0x22
jne 0x40b2d6
lea eax, [esi + 2]
mov dword [ebp - 0x34], eax
jmp 0x40b2d9
mov dword [ebp - 0x34], esi
xor eax, eax
cmp cx, bx
je 0x40b32f
mov ecx, esi
cmp word [ecx], 0x22
jne 0x40b301
jmp 0x40b2f1
cmp word [esi + eax*2], 0x22
je 0x40b2fa
inc eax
cmp word [esi + eax*2], bx
jne 0x40b2ea
jmp 0x40b301
push 0x20
pop ecx
mov word [esi + eax*2], cx
cmp word [esi + eax*2], 0x20
je 0x40b31b
cmp word [esi + eax*2 + 2], 0x2f
je 0x40b31b
inc eax
lea ecx, [esi + eax*2]
cmp word [ecx], bx
jne 0x40b2e2
jmp 0x40b32f
lea eax, [esi + eax*2]
cmp word [eax], 0x20
jne 0x40b329
xor ecx, ecx
mov word [eax], cx
add eax, 2
mov dword [ebp - 0x30], eax
cmp byte [ebp + 8], bl
jne 0x40b344
cmp word [0x42b692], bx
je 0x40b344
mov dword [ebp - 0x30], 0x42b692
push dword [ebp - 0x34]
mov dword [ebp - 0x28], 1
call fcn.004077bf
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x40b370
push str..inf
push eax
call fcn.0040d8ae
test eax, eax
jne 0x40b370
mov dword [ebp - 0x38], 0x40e894
push dword [ebp - 0x34]
call fcn.00403bec
mov bl, al
test bl, bl
je 0x40b396
lea eax, [ebp - 0x1044]
push eax
push dword [ebp - 0x34]
call fcn.004072fe
lea eax, [ebp - 0x1044]
mov dword [ebp - 0x34], eax
cmp byte [ebp + 8], 0
je 0x40b3d4
test bl, bl
jne 0x40b3d4
push dword [ebp - 0x34]
lea eax, [ebp - 0x844]
push eax
call fcn.00409a04
push str..exe
lea eax, [ebp - 0x844]
push eax
call fcn.00409a76
lea eax, [ebp - 0x844]
push eax
call fcn.00403bec
test al, al
je 0x40b4c2
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x40b4c2
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
xor bl, bl
mov esi, 0x3e8
cmp byte [0x42ae88], bl
jne 0x40b408
cmp byte [ebp + 8], bl
jne 0x40b408
cmp byte [0x42bfa9], bl
je 0x40b461
mov eax, dword [0x42ae80]
test eax, eax
je 0x40b428
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40b428
push 0
push dword [0x42ae80]
call edi
mov bl, 1
push 0x7d0
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0xc]
call fcn.0040abc6
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x40b461
mov eax, dword [ebp - 8]
add eax, esi
cmp eax, dword [0x42bfac]
jbe 0x40b461
mov dword [0x42bfac], eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
je 0x40b481
push str..exe
push dword [ebp - 4]
call fcn.0040d8ae
test eax, eax
je 0x40b4ae
cmp byte [0x42ae88], 0
je 0x40b497
cmp byte [ebp + 8], 0
jne 0x40b497
push 0x1b58
jmp 0x40b4a8
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]
test bl, bl
je 0x40b4c2
cmp byte [ebp + 8], 0
je 0x40b4c2
push 1
push dword [0x42ae80]
call edi
pop edi
pop esi
pop ebx
leave
ret 4