Function at 0x409a85
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43dbce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
push ebx
push esi
push str.http:__www.gamenet.ru_games_phantomers_rules_
lea ecx, [edi + 0x29]
call fcn.0040852a
push str.https:__gamenet.ru_aboutapp_
lea ecx, [edi + 0x45]
call fcn.0040852a
mov eax, dword [edi + 1]
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 0x442eb8
push 0x65
push eax
mov dword [esp + 0x18], eax
call esi
xor ebx, ebx
cmp eax, ebx
je 0x409aee
push eax
push dword [esp + 0x10]
lea ebx, [edi + 0x71]
call fcn.0040c688
xor ebx, ebx
mov eax, dword [edi + 0x71]
cmp eax, ebx
je 0x409d49
mov ecx, dword [eax + 8]
mov dword [eax + 8], ebx
cmp ecx, ebx
jne 0x409d49
mov eax, dword [edi + 1]
push 0x442eb8
push 0x6b
push eax
mov dword [esp + 0x18], eax
call esi
cmp eax, ebx
je 0x409b2b
push eax
push dword [esp + 0x10]
lea ebx, [edi + 0x79]
call fcn.0040c688
xor ebx, ebx
mov eax, dword [edi + 0x79]
cmp eax, ebx
je 0x409d49
mov ecx, dword [eax + 8]
mov dword [eax + 8], ebx
cmp ecx, ebx
jne 0x409d49
push edi
call fcn.00409d77
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebx
mov dword [edi + 9], 0x280
mov dword [edi + 0xd], 0xee
call esi
push 1
mov dword [esp + 0x14], eax
call esi
mov dword [esp + 0xc], eax
mov eax, dword [edi + 9]
fild dword [esp + 0xc]
cdq
sub eax, edx
fmul qword [0x442f58]
mov ecx, eax
mov eax, dword [esp + 0x10]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub eax, ecx
mov dword [esp + 0x10], eax
call fcn.0043bfa0
mov ecx, eax
mov eax, dword [edi + 0xd]
cdq
sub eax, edx
sar eax, 1
mov esi, eax
mov eax, dword [esp + 0xc]
cdq
neg esi
sub eax, edx
sub esi, ecx
push 0x1c
sar eax, 1
push 0x442858
lea ecx, [esp + 0x38]
add esi, eax
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
call fcn.00401f77
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x15c], ebx
call fcn.0040a138
push ebx
push 1
lea ecx, [esp + 0x38]
mov byte [esp + 0x15c], 2
call fcn.00401bdc
push 0xa
push 0x442878
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.00401f77
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x6c]
push eax
mov byte [esp + 0x15c], 3
call fcn.0040a138
push ebx
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x15c], 5
call fcn.00401bdc
push 1
push 3
lea ecx, [esp + 0xa8]
call fcn.0040b525
mov byte [esp + 0x154], 6
cmp dword [esp + 0x7c], 8
mov ecx, dword [esp + 0x68]
jae 0x409c6c
lea ecx, [esp + 0x68]
cmp dword [esp + 0x60], 8
mov eax, dword [esp + 0x4c]
jae 0x409c7b
lea eax, [esp + 0x4c]
push ecx
push ecx
push eax
lea eax, [esp + 0xbc]
push eax
call fcn.0040c1bf
add esp, 0xc
push eax
call fcn.0040c1bf
pop ecx
pop ecx
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0xa4]
call fcn.0040b5d7
cmp dword [eax + 0x14], 8
jb 0x409cb2
mov eax, dword [eax]
push ebx
push dword [edi + 1]
push ebx
push ebx
push dword [edi + 0xd]
push dword [edi + 9]
push esi
push dword [esp + 0x2c]
push SysReAllocString
push eax
push str.Thistle
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
push ebx
push 1
lea ecx, [esp + 0x8c]
mov dword [edi + 5], eax
call fcn.00401cc1
push dword [edi + 0xd]
mov ebx, dword [edi + 5]
push dword [edi + 9]
lea esi, [edi + 0x11]
call fcn.00408bc8
push edi
call fcn.00409fa9
xor al, al
mov esi, edi
call fcn.0040a1d7
push 5
push dword [edi + 5]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 5]
call dword [sym.imp.USER32.dll_UpdateWindow]
lea ecx, [esp + 0xa0]
mov byte [esp + 0x154], 5
call fcn.00409d5d
push 0
push 1
lea ecx, [esp + 0x70]
call fcn.00401cc1
push 0
push 1
lea ecx, [esp + 0x54]
call fcn.00401cc1
mov ecx, dword [esp + 0x14c]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret