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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2048
call fcn.0041a920
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp word [esi], bx
je 0x40e59c
push esi
call fcn.0041a5e3
pop ecx
cmp eax, 0x7f6
jae 0x40e59c
push edi
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.0041a650
movzx ecx, word [esi]
add esp, 0xc
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], 0x1c0
cmp cx, 0x22
jne 0x40e397
lea eax, [esi + 2]
mov dword [ebp - 0x38], eax
jmp 0x40e39a
mov dword [ebp - 0x38], esi
xor eax, eax
cmp cx, bx
je 0x40e3f0
mov ecx, esi
cmp word [ecx], 0x22
jne 0x40e3c2
jmp 0x40e3b2
cmp word [esi + eax*2], 0x22
je 0x40e3bb
inc eax
cmp word [esi + eax*2], bx
jne 0x40e3ab
jmp 0x40e3c2
push 0x20
pop ecx
mov word [esi + eax*2], cx
cmp word [esi + eax*2], 0x20
je 0x40e3dc
cmp word [esi + eax*2 + 2], 0x2f
je 0x40e3dc
inc eax
lea ecx, [esi + eax*2]
cmp word [ecx], bx
jne 0x40e3a3
jmp 0x40e3f0
lea eax, [esi + eax*2]
cmp word [eax], 0x20
jne 0x40e3ea
xor ecx, ecx
mov word [eax], cx
add eax, 2
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], ebx
jne 0x40e40a
cmp byte [ebp + 0xc], bl
jne 0x40e40a
cmp word [0x441d5a], bx
je 0x40e40a
mov dword [ebp - 0x34], 0x441d5a
push dword [ebp - 0x38]
mov dword [ebp - 0x2c], 1
call fcn.0040a4ab
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x40e436
push str..inf
push eax
call fcn.00411af1
test eax, eax
jne 0x40e436
mov dword [ebp - 0x3c], 0x42a8b8
push dword [ebp - 0x38]
call fcn.004092ad
mov bl, al
test bl, bl
je 0x40e461
push 0x800
lea eax, [ebp - 0x2048]
push eax
push dword [ebp - 0x38]
call fcn.0040a97d
lea eax, [ebp - 0x2048]
mov dword [ebp - 0x38], eax
cmp byte [ebp + 0xc], 0
mov edi, 0x42a8ac
je 0x40e4a3
test bl, bl
jne 0x40e4a3
push dword [ebp - 0x38]
lea eax, [ebp - 0x1048]
push eax
call fcn.0041a62b
lea eax, [ebp - 0x1048]
push edi
push eax
call fcn.0041a5fd
add esp, 0x10
lea eax, [ebp - 0x1048]
push eax
call fcn.004092ad
test al, al
je 0x40e59b
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x40e59b
cmp byte [0x440d50], 0
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
mov byte [ebp - 1], 0
mov ebx, 0x3e8
jne 0x40e4dc
cmp byte [ebp + 0xc], 0
jne 0x40e4dc
cmp byte [0x440d39], 0
je 0x40e53c
cmp dword [ebp + 8], 0
je 0x40e4fa
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40e4fa
push 0
push dword [ebp + 8]
call esi
mov byte [ebp - 1], 1
push 0x7d0
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x10]
call fcn.0040d72e
cmp byte [0x440d39], 0
je 0x40e53c
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x40e53c
mov eax, dword [ebp - 0xc]
add eax, ebx
cmp eax, dword [0x440d3c]
jbe 0x40e53c
mov dword [0x440d3c], eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], 0
je 0x40e558
push edi
push dword [ebp - 8]
call fcn.00411af1
test eax, eax
je 0x40e588
cmp byte [0x440d50], 0
je 0x40e573
cmp byte [ebp + 0xc], 0
jne 0x40e573
mov dword [0x440d40], 0x1b58
jmp 0x40e588
xor eax, eax
cmp byte [ebp + 0xc], al
sete al
dec eax
and eax, 0xfffffce0
add eax, ebx
mov dword [0x440d40], eax
cmp byte [ebp - 1], 0
je 0x40e59b
cmp byte [ebp + 0xc], 0
je 0x40e59b
push 1
push dword [ebp + 8]
call esi
pop edi
pop esi
pop ebx
leave
ret 8