Function at 0x487cd0
Capabilities:
Create thread
Hide graphical window
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dfd98
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x50f52c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebx + 0x54], 0
mov eax, dword [0x510abc]
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
mov eax, 0x8a42f871
imul ecx
add edx, ecx
sar edx, 9
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
xor edx, edx
mov eax, 0x64
div ecx
mov edx, dword [ebx + 4]
push 0
push 0x3e8
push 1
push edx
mov dword [ebx + 0x58], eax
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebx + 0x5c], eax
mov ecx, dword [0x510abc]
push 0
call fcn.00463630
sub esp, 0x1c
mov esi, eax
mov edi, esp
lea eax, [ebp - 0x3c]
push 0x42d
add esi, 0x1b8
mov ecx, 7
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.004285a0
add esp, 0x24
xor edi, edi
mov dword [ebp - 4], edi
mov ecx, dword [eax]
xor edx, edx
mov eax, ecx
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], edi
mov word [ebp - 0x28], dx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x487d92
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00401860
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.0041c0e0
cmp dword [ebp - 0x14], 8
mov edi, dword [ebp - 0x28]
jae 0x487dc3
lea edi, [ebp - 0x28]
mov eax, dword [ebx + 4]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3fb
push eax
call esi
push edi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push ecx
call edi
push eax
lea ecx, [ebx + 0x54]
call fcn.00489280
lea edx, [ebp - 0x30]
push 0x6c
push edx
call fcn.004285a0
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebx + 4]
mov eax, dword [eax]
push ecx
mov dword [ebp - 0x38], eax
call edi
mov edx, dword [ebp - 0x38]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.0041c0e0
mov eax, dword [ebx + 4]
push eax
call edi
push 0xfffffffffffffff0
push eax
mov dword [ebp - 0x30], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0xfff7ffff
cmp eax, ecx
je 0x487e50
push ecx
mov ecx, dword [ebp - 0x30]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [ebx + 4]
push edx
call edi
push 2
push eax
call esi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx + 4]
push eax
call edi
push 0x3023
push eax
call esi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebx + 4]
push ecx
call edi
push 0x3024
push eax
call esi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebx + 4]
push 0x459
push edx
call esi
push 1
push 0x4ecbf0
mov dword [ebp - 0x30], eax
push str.IDB_PNG_BANNER
lea eax, [ebp - 0x30]
push eax
call fcn.00424e90
mov ecx, dword [ebx + 4]
push 0x453
push ecx
call esi
push 1
push 0x4ecbf0
push 0x4ecb54
lea edx, [ebp - 0x30]
push edx
mov dword [ebp - 0x30], eax
call fcn.00424e90
mov esi, dword [0x510abc]
sub esp, 0x1c
mov edi, esp
lea eax, [ebp - 0x38]
push 0x405
add esi, 0x84
mov ecx, 7
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.004285a0
mov byte [ebp - 4], 4
mov edx, dword [eax]
add esp, 8
mov ecx, esp
xor eax, eax
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], 0
mov word [ecx + 4], ax
mov eax, edx
mov dword [ebp - 0x30], esp
lea esi, [eax + 2]
mov di, word [eax]
add eax, 2
test di, di
jne 0x487f25
sub eax, esi
sar eax, 1
push eax
push edx
call fcn.00401860
mov byte [ebp - 4], 5
mov ecx, dword [ebx + 4]
push ecx
mov byte [ebp - 4], 4
call fcn.00454fa0
cmp eax, 7
sete byte [ebp - 0x31]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.0041c0e0
cmp byte [ebp - 0x31], 0
je 0x487f90
mov ecx, dword [0x510abc]
push 0xff
call fcn.0041ebe0
mov edx, dword [ebx + 4]
push 5
push 0x64
push 0x9018
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebx + 4]
lea eax, [ebx + 0x60]
push eax
push 0
push ecx
push 0x485790
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 8
jb 0x487fc2
mov edx, dword [ebp - 0x28]
push edx
call fcn.004b29fa
add esp, 4
xor eax, eax
mov word [ebp - 0x28], ax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b3057
mov esp, ebp
pop ebp
ret