Function at 0x408c50
Capabilities:
Create thread
Encode data using xor
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9c44
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
mov eax, dword [0x4f2480]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x48], ecx
mov eax, dword [0x4f5a84]
xorps xmm0, xmm0
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x7c], 0
movlpd qword [ebp - 0x74], xmm0
movlpd qword [ebp - 0x68], xmm0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x78], 0x408ba0
mov dword [ebp - 0x58], str.ProgressWindowClass
mov dword [ebp - 0x60], 1
call dword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
jne 0x408d4a
push str.Failed_to_register_window_class.
lea ecx, [ebp - 0x40]
call fcn.00416080
movaps xmm2, xmmword [str.ZZZZZZZZZZZZZZZZ]
xor eax, eax
mov byte [ebp - 0x17], 0
movups xmm0, xmmword [ebp + eax - 0x40]
movaps xmm1, xmm2
xorps xmm1, xmm0
movups xmmword [ebp + eax - 0x40], xmm1
add eax, 0x10
cmp eax, 0x20
jb 0x408cf5
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x6f727245
push 0x10
push eax
mov byte [ebp - 0x18], 0x72
lea eax, [ebp - 0x40]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049d991
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
push 1
mov edi, eax
call esi
push 0
push dword [0x4f5a84]
mov ecx, eax
lea eax, [edi - 0x118]
cdq
push 0
sub eax, edx
mov esi, eax
lea eax, [ecx - 0x50]
push 0
push 0x50
cdq
push 0x118
sub eax, edx
sar esi, 1
sar eax, 1
push eax
push esi
push 0xca0000
push 0x4e7aac
push str.ProgressWindowClass
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
jne 0x408e44
movaps xmm1, xmmword [str.ZZZZZZZZZZZZZZZZ]
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x20], ax
movups xmmword [ebp - 0x30], xmm0
nop dword [eax]
movups xmm0, xmmword [eax + str.Failed_to_create_progress_window.]
xorps xmm0, xmm1
movups xmmword [ebp + eax - 0x40], xmm0
add eax, 0x10
cmp eax, 0x20
jb 0x408dc0
cmp eax, 0x21
jae 0x408df3
nop dword [eax]
mov cl, byte [eax + str.Failed_to_create_progress_window.]
xor cl, 0x5a
mov byte [ebp + eax - 0x40], cl
inc eax
cmp eax, 0x21
jb 0x408de0
mov byte [ebp - 0x1f], 0
xor eax, eax
mov byte [ebp - 0x17], 0
nop dword [eax]
movups xmm0, xmmword [ebp + eax - 0x40]
xorps xmm0, xmm1
movups xmmword [ebp + eax - 0x40], xmm0
add eax, 0x10
cmp eax, 0x20
jb 0x408e00
cmp eax, 0x21
jae 0x408e2b
nop word [eax + eax]
xor byte [ebp + eax - 0x40], 0x5a
inc eax
cmp eax, 0x21
jb 0x408e20
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x6f727245
push 0x10
push eax
mov byte [ebp - 0x18], 0x72
lea eax, [ebp - 0x40]
jmp 0x408d21
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x34
call fcn.0049d9d0
mov esi, eax
add esp, 4
mov dword [ebp - 0x4c], esi
push dword [ebp - 0x44]
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00418450
push dword [ebp - 0x48]
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], ecx
call fcn.00418450
mov dword [esi + 0x30], 0x408920
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 2
push eax
push 0
push esi
push 0x4264a0
push 0
push 0
call fcn.004ae7d9
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x54], ecx
test ecx, ecx
je 0x408ed6
cmp dword [0x4f5a8c], 0
jne 0x408ee4
mov eax, dword [ebp - 0x50]
mov dword [0x4f5a8c], eax
mov al, 1
mov dword [0x4f5a88], ecx
jmp 0x408d2c
push 6
mov dword [ebp - 0x50], 0
call fcn.0048943c
call fcn.004a2c1e
int3