Function at 0x45ad10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cdb46
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x640844]
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 [ebp - 0x88], ebx
cmp dword [ebp + 8], 0
mov dword [ebp - 4], 0
je 0x45afc7
cmp dword [ebx + 0x854], 0
je 0x45afc7
push 0x3026
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov esi, eax
test esi, esi
je 0x45ad8e
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x45ad8e
push 0
push esi
call edi
push 0x3023
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call edi
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebx + 0x854]
mov esi, eax
push esi
mov dword [ebp - 0x9c], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, eax
mov dword [ebp - 0xa0], edi
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 2
push eax
push dword [ebx + 4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push 0xcc0020
push dword [ebx + 0x860]
push dword [ebx + 0x85c]
push 0
push 0
push esi
push ecx
push eax
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_StretchBlt]
cmp byte [ebx + 0xc38], 0
je 0x45ae2c
push dword [ebx + 0xc34]
call dword [sym.imp.USER32.dll_SetCursor]
mov byte [ebx + 0xc38], 0
mov eax, dword [ebx + 0xa8]
sub eax, 2
cmp eax, 9
ja 0x45afa7
lea ecx, [ebp - 0x84]
call fcn.00441c50
push 0x88
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 3
call fcn.0041aa70
push 1
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetBkMode]
push str.InitText
lea ecx, [ebx + 0x7a4]
call fcn.0041a370
push eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebx + 0x7a4]
lea ecx, [ebx + 0x7a4]
push str.InitText
call dword [eax + 8]
push eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax - 0xc]
cmp ecx, 0xffffffff
jne 0x45aebd
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, eax
mov eax, dword [ebp - 0x84]
mov ebx, dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
lea edx, [ebp - 0x98]
push edx
push ecx
push eax
push dword [ebp + 8]
call ebx
lea eax, [ebp - 0xa8]
push eax
push 3
push 0x5e0288
push dword [ebp + 8]
call ebx
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x98]
cdq
sub eax, edx
sar ecx, 1
mov edx, dword [ebp - 0x94]
push dword [ebp - 0x84]
sar eax, 1
sub ecx, eax
movd xmm0, edx
cvtdq2pd xmm0, xmm0
mov dword [ebp - 0x90], ecx
mov ecx, dword [ebp - 0x14]
mulsd xmm0, qword [0x5e11d8]
cvttsd2si eax, xmm0
sub ecx, eax
sub ecx, dword [ebp - 0x1c]
lea eax, [edx + ecx]
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x8c], eax
call fcn.00489430
mov eax, dword [ebp - 0x88]
lea ecx, [ebp - 0x80]
add eax, 0x7bc
mov byte [ebp - 4], 4
push eax
call fcn.00489ba0
lea ecx, [ebp - 0x80]
call fcn.00489750
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push ebx
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_TextOutW]
lea ecx, [ebp - 0x80]
call fcn.00419a70
mov edx, dword [ebp - 0x84]
or eax, 0xffffffff
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45afa7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push edi
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SelectObject]
test edi, edi
je 0x45afbc
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
test esi, esi
je 0x45afc7
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
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.004ed0cc
mov esp, ebp
pop ebp
ret 4