Function at 0x401efb
Capabilities:
Create process on windows
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
push 0
call dword [sym.imp.USER32.dll_GetDC]
push dword [0x406148]
mov ebx, dword [sym.imp.msvcrt.dll_malloc]
mov edi, eax
call ebx
push dword [0x406148]
mov dword [ebp - 0x10], eax
call ebx
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
and dword [ebp - 0xc], 0
pop ecx
pop ecx
mov dword [ebp - 4], eax
xor eax, eax
inc eax
push 8
push edi
mov dword [0x406144], eax
mov dword [0x40613c], eax
mov dword [0x40611c], 0xc8
call esi
push 0xa
push edi
mov dword [0x406104], eax
mov dword [0x406074], eax
call esi
push edi
push 0
mov dword [0x40606c], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [0x40606c]
sub eax, dword [0x40611c]
push dword [ebp + 8]
sub eax, 0x44
mov dword [0x40610c], eax
call fcn.00401895
pop ecx
mov ecx, dword [0x406068]
mov esi, eax
mov al, byte [esi]
inc esi
mov byte [ecx], al
inc ecx
test al, al
jne 0x401f93
mov esi, dword [0x406068]
push 8
mov edi, str.blocked
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x401fb9
push 0x63
pop eax
jmp 0x402194
push 0x44
lea eax, [ebp - 0x54]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x10
call ebx
add esp, 0x10
cmp dword [0x406038], 0
push 3
mov dword [ebp - 8], eax
pop eax
mov dword [ebp - 0x28], 1
mov word [ebp - 0x24], ax
jne 0x402000
push dword [0x406148]
call ebx
mov dword [ebp - 0x4c], eax
mov esi, str.WndSt1Default
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop ecx
movsb byte es:[edi], byte [esi]
mov ebx, dword [ebp - 0x10]
mov ecx, dword [0x406068]
mov dword [ebp - 0x54], 0x44
mov edx, ebx
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x402012
mov edi, ebx
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40201f
mov esi, 0x405288
movsw word es:[edi], word [esi]
mov eax, dword [0x406060]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402035
mov edi, ebx
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x402041
mov ecx, eax
shr ecx, 2
mov esi, edx
mov edx, dword [ebp - 4]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x402060
push dword [ebp - 8]
xor esi, esi
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push 0x80
push esi
push esi
push esi
push dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40214f
push dword [0x406034]
mov edi, dword [ebp - 8]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
push 0x401c79
mov dword [0x406130], edi
mov dword [0x40603c], esi
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [0x40603c]
cmp eax, esi
jne 0x4020d1
push 8
push 0x3c
call fcn.00401a0e
pop ecx
pop ecx
mov dword [0x40603c], eax
push dword [0x40610c]
mov dword [0x406030], eax
call fcn.00401072
add eax, dword [0x40611c]
pop ecx
push eax
push dword [0x406074]
push 1
call fcn.0040103d
pop ecx
pop ecx
push eax
push dword [0x40603c]
call fcn.00401a28
add esp, 0xc
mov dword [0x406050], eax
cmp eax, esi
jne 0x402156
mov eax, 0x176
push eax
push eax
push dword [0x40603c]
call fcn.00401a28
add esp, 0xc
mov dword [0x406050], eax
cmp eax, esi
jne 0x402156
push dword [0x40604c]
push dword [0x406048]
push dword [0x40603c]
call fcn.00401a28
add esp, 0xc
mov dword [0x406050], eax
jmp 0x402156
mov dword [ebp - 0xc], 6
push dword [0x4060e0]
fld qword [0x405280]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [0x405278]
fstp qword [esp]
call fcn.00401000
add esp, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 4]
mov esi, dword [sym.imp.msvcrt.dll_free]
call esi
push ebx
call esi
mov eax, dword [ebp - 0xc]
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret