Function at 0x4015c0
Capabilities:
Hide graphical window
Terminate thread

Disassembly:
push ebp
xor edx, edx
push edi
xor eax, eax
push esi
push ebx
sub esp, 0x9c
mov dword [esp + eax + 0x68], edx
mov dword [esp + eax + 0x6c], edx
add eax, 8
cmp eax, 0x28
jb 0x4015ce
mov eax, dword [esp + 0xb0]
mov ecx, 1
mov edx, 0x401b90
mov dword [esp + 4], ecx
mov ebx, 5
mov esi, str.Woram32MainClass
mov dword [esp + 0x6c], edx
mov dword [esp], eax
call dword [sym.imp.USER32.dll_LoadIconA]
sub esp, 8
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 0x84], ebx
mov dword [esp + 0x8c], esi
call dword [sym.imp.USER32.dll_RegisterClassA]
sub esp, 4
test ax, ax
je 0x401803
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
xor edi, edi
mov ebp, 0x20
mov dword [esp], 1
call esi
sub esp, 4
mov ebx, eax
mov dword [esp], 0
call esi
xor edx, edx
xor ecx, ecx
xor esi, esi
sub esp, 4
mov dword [esp + 0x2c], edx
mov edx, 0xd0
mov dword [esp + 0x28], ecx
lea ecx, [ebx - 0x20]
mov ebx, str.iexplore
mov dword [esp + 0x18], edx
mov edx, ecx
mov dword [esp + 0x24], esi
shr edx, 0x1f
mov esi, str.Woram32MainClass
mov dword [esp + 0x20], edi
add edx, ecx
mov ecx, 0x90000000
mov dword [esp + 0xc], ecx
sar edx, 1
mov edi, 0xffffffec
mov dword [esp + 0x14], edx
lea edx, [eax + 0xb0]
mov dword [esp + 0x1c], ebp
mov eax, edx
mov ebp, 0xffffffec
mov dword [esp + 8], ebx
shr eax, 0x1f
mov dword [esp + 4], esi
add eax, edx
mov dword [esp], 0
sar eax, 1
mov dword [esp + 0x10], eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
sub esp, 0x30
mov ebx, eax
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov esi, dword [sym.imp.USER32.dll_SetWindowLongA]
sub esp, 8
or eax, 0x80000
mov dword [esp], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ebp
call esi
mov eax, 2
sub esp, 0xc
mov dword [esp + 0xc], eax
mov eax, 0x20
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
sub esp, 0x10
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [esp], ebx
mov dword [esp + 8], eax
mov eax, 0xfffffff8
mov dword [esp + 4], eax
call esi
xor eax, eax
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
sub esp, 0xc
mov dword [esp], ebx
mov dword [esp + 4], eax
call esi
mov eax, 5
sub esp, 8
mov dword [esp], ebx
mov dword [esp + 4], eax
call esi
sub esp, 8
xor edx, edx
lea ebx, [esp + 0x4c]
xor eax, eax
mov dword [esp + eax + 0x4c], edx
mov dword [esp + eax + 0x50], edx
add eax, 8
cmp eax, 0x18
jb 0x401773
mov dword [ebx + eax], 0
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x4017b0
mov dword [esp], ebx
call ebp
sub esp, 4
mov dword [esp], ebx
call edi
sub esp, 4
mov dword [esp], ebx
xor eax, eax
xor ecx, ecx
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 0xc], ecx
mov dword [esp + 4], eax
call esi
sub esp, 0x10
test eax, eax
jne 0x4017a0
mov dword [esp + 0x3c], eax
xor eax, eax
xor edx, edx
mov byte [0x404008], al
mov eax, dword [0x407040]
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
sub esp, 8
mov edx, dword [esp + 0x3c]
add esp, 0x9c
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov edx, 0xffffffff
jmp 0x4017f4