Function at 0x408e80
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 0x4cc1e4
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
mov eax, dword [0x4f6440]
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 [0x4f9a64]
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], 0x408dd0
mov dword [ebp - 0x58], str.ProgressWindowClass
mov dword [ebp - 0x60], 1
call dword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
jne 0x408f7a
push str.Failed_to_register_window_class.
lea ecx, [ebp - 0x40]
call fcn.004175c0
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 0x408f25
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.0049f18e
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 [0x4f9a64]
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 pe_nt_image_headers32
sub eax, edx
sar esi, 1
sar eax, 1
push eax
push esi
push 0xca0000
push 0x4eaa48
push str.ProgressWindowClass
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
jne 0x409074
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 0x408ff0
cmp eax, 0x21
jae 0x409023
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 0x409010
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 0x409030
cmp eax, 0x21
jae 0x40905b
nop word [eax + eax]
xor byte [ebp + eax - 0x40], 0x5a
inc eax
cmp eax, 0x21
jb 0x409050
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x6f727245
push 0x10
push eax
mov byte [ebp - 0x18], 0x72
lea eax, [ebp - 0x40]
jmp 0x408f51
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x34
call fcn.0049f1cd
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.00419c60
push dword [ebp - 0x48]
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], ecx
call fcn.00419c60
mov dword [esi + 0x30], 0x408b50
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 2
push eax
push 0
push esi
push 0x427d80
push 0
push 0
call fcn.004b0abd
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x54], ecx
test ecx, ecx
je 0x409106
cmp dword [0x4f9a6c], 0
jne 0x409114
mov eax, dword [ebp - 0x50]
mov dword [0x4f9a6c], eax
mov al, 1
mov dword [0x4f9a68], ecx
jmp 0x408f5c
push 6
mov dword [ebp - 0x50], 0
call fcn.0048acb6
call fcn.004a449e
int3