Function at 0x40dad0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x5fb128
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
cmp dword [0x678ed4], 0
fld dword [0x678ed8]
fstp dword [esp + 0x14]
je 0x40dd51
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push 0x566
push esi
call ebx
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call edi
push 1
push 0x565
push esi
call ebx
push eax
call edi
lea eax, [esp + 0x34]
push eax
push 0x566
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x1c]
push eax
push esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [esp + 0x3c]
sub edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ebp
fmul dword [esp + 0x14]
fiadd dword [esp + 0x1c]
call fcn.005f4400
mov edi, dword [esp + 0x40]
sub edi, dword [esp + 0x38]
mov dword [esp + 0x2c], eax
add edi, ebp
cmp dword [0x679e64], 0
jne 0x40dbbd
mov eax, dword [0x677594]
push 0xf2
push eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov dword [0x679e64], eax
mov ecx, dword [esp + 0x84]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [0x679e64]
mov ebp, eax
push edx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
sub edi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
push 0xcc0020
push 0
push 0
push ebp
push edi
push eax
push 0
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xa0]
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push 0
push edi
push ecx
push edx
push eax
push 0x565
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [0x677600]
mov eax, dword [edx + 0xc]
mov ecx, 0x677600
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
fld dword [esp + 0x14]
mov dword [esp + 0x7c], 0
fsubr qword [0x639690]
fmul qword [0x6407f8]
fld qword [0x640900]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x40dc73
fstp st(0)
jmp 0x40dc75
fstp st(1)
sub esp, 8
fstp qword [esp]
push 0x625c04
lea edi, [esp + 0x24]
call fcn.0040ac80
xor eax, eax
add esp, 0xc
push 0x565
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
push esi
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x4c], 0x2c
mov dword [esp + 0x50], 0x11
mov dword [esp + 0x54], esi
call ebx
mov edx, dword [0x679e68]
mov edi, dword [esp + 0x18]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x44]
push ecx
push 0
push 0x436
push edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x78], edi
call ebp
push 0x566
push esi
call ebx
mov ecx, dword [0x679e6c]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x44]
push eax
push 0
push 0x436
push ecx
call ebp
lea eax, [edi - 0x10]
mov dword [esp + 0x7c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40dd77
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x70
ret
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x566
push esi
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
push 0
push 0x565
push esi
call edi
push eax
call ebx
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x70
ret