Function at 0x4082d0
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ecx
mov eax, dword [0x468d80]
dec eax
push ebx
push esi
mov esi, dword [esp + 0x14]
push edi
je 0x408347
dec eax
jne 0x40848d
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call edi
push 1
mov ebx, eax
call edi
mov ecx, dword [esp + 0x14]
push 0
push ecx
push 0
push 0
push eax
push ebx
push 0
push 0
push 0x80080000
push 0
push 0x468cb0
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
test eax, eax
mov dword [0x468d84], eax
jne 0x40832a
pop edi
pop esi
pop ebx
pop ecx
ret
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [esp + 0x1c]
mov eax, dword [0x468d84]
push edx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40848d
cmp dword [0x468c44], 0xa
push 0
jne 0x40837c
mov ecx, dword [esp + 0x1c]
push 0x466294
push 0x466108
push 0
push ecx
call fcn.004400d3
add esp, 0x14
mov ecx, eax
call fcn.0040b360
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
call edi
push 1
mov ebx, eax
call edi
cmp dword [0x468c44], 0xb
jne 0x408428
mov eax, dword [0x468c40]
test eax, eax
jne 0x4083ab
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [0x468c40], eax
lea edi, [esi + 0x1fc]
push edi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 0x200]
mov ecx, dword [esi + 0x208]
mov eax, dword [esi + 0x204]
mov ebx, dword [edi]
push 0
sub ecx, edx
mov edx, dword [esp + 0x18]
push edx
mov edx, dword [0x468c40]
push 0
push edx
push ecx
sub eax, ebx
push eax
push 0
push 0
push 0x50000000
push str.SaverPreview
push 0x468c48
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x468d84], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0xc0], 0
mov ecx, dword [0x468d84]
push eax
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x468d84]
push edx
jmp 0x408487
mov ecx, dword [esp + 0x14]
push 0
push ecx
push 0
push 0
push eax
push ebx
push 0
push 0
push SysReAllocStringLen
push 0
push 0x468c48
push 8
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x468d84], eax
lea edx, [esi + 0x1fc]
mov dword [esi + 0xcc], 1
mov eax, dword [0x468d84]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x1c]
mov edx, dword [0x468d84]
push ecx
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x468d84]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [0x468d84]
mov edx, dword [esi]
mov dword [esi + 0x2c], ecx
mov ecx, esi
call dword [edx + 4]
cmp dword [0x468d80], 0xa
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esp + 0xc], 0
je 0x4084ef
mov eax, dword [esi + 0x214]
test eax, eax
je 0x4084d6
call fcn.004073f0
test eax, eax
je 0x4084d6
lea eax, [esp + 0xc]
push eax
push 0
push esi
push 0x4077b0
jmp 0x4084e3
lea ecx, [esp + 0xc]
push ecx
push 0
push esi
push 0x407f10
push 0
push 0
call edi
mov dword [esi + 0xbc], eax
mov eax, dword [esi + 0xc8]
test eax, eax
je 0x408545
mov eax, dword [esi + 0xcc]
test eax, eax
je 0x408545
mov eax, dword [esi + 0xd0]
test eax, eax
jne 0x408545
mov eax, dword [esi + 0xdc]
cmp eax, 4
jne 0x408527
lea edx, [esp + 0xc]
push edx
push 0
push esi
push 0x407480
jmp 0x408539
cmp eax, 5
jne 0x408545
lea eax, [esp + 0xc]
push eax
push 0
push esi
push 0x407590
push 0
push 0
call edi
mov dword [esi + 0xb8], eax
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret