Function at 0x47f230
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5fd3eb
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x6687b8]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
xor ecx, ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x1c]
push ecx
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
lea edx, [esp + 0x34]
sub esi, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
push edx
push eax
sub ebx, ecx
mov dword [esp + 0x40], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
add ebx, ecx
add esi, eax
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x28], ebx
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], esi
jne 0x47f2e6
mov ecx, dword [edi + 0x10]
cmp dword [ecx - 0xc], ebx
je 0x47f419
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x3c]
push edx
push esi
call dword [sym.imp.USER32.dll_BeginPaint]
push esi
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
test ebx, ebx
je 0x47f37c
mov eax, dword [edi + 8]
cmp eax, 3
ja case.0x47f314.0
jmp dword [eax*4 + 0x47f6ac]
mov eax, dword [edi + 0x30]
jmp 0x47f32d
mov eax, dword [edi + 0x34]
jmp 0x47f32d
mov eax, dword [edi + 0x38]
jmp 0x47f32d
mov eax, dword [edi + 0x2c]
test eax, eax
mov dword [edi + 0xc], eax
je 0x47f375
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push 0xcc0020
push 0
push 0
push ebx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x30]
sub edx, ecx
push edx
push eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x18]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [edi + 0x10]
cmp dword [ecx - 0xc], 0
je 0x47f3fd
push 1
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
xor ebx, ebx
cmp dword [edi + 0x4c], ebx
je 0x47f3a7
mov eax, dword [edi + 8]
cmp eax, 2
je 0x47f3a2
cmp eax, 1
jne 0x47f3a7
mov eax, dword [edi + 0x1c]
jmp 0x47f3aa
mov eax, dword [edi + 0x18]
test eax, eax
je 0x47f3b8
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, eax
mov eax, dword [edi + 0x24]
test eax, eax
je 0x47f3c3
sub dword [esp + 0x28], eax
mov eax, dword [edi + 0x28]
test eax, eax
je 0x47f3ce
add dword [esp + 0x1c], eax
mov edx, dword [edi + 0x14]
push edx
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [edi + 0x20]
mov eax, dword [edi + 0x10]
mov ecx, dword [eax - 0xc]
push edx
lea edx, [esp + 0x20]
push edx
push ecx
push eax
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
test ebx, ebx
je 0x47f3fd
push ebx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
lea eax, [esp + 0x3c]
push eax
push esi
call dword [sym.imp.USER32.dll_EndPaint]
xor ebx, ebx
jmp 0x47f41d
mov esi, dword [esp + 0x14]
mov ecx, dword [edi + 0x48]
cmp dword [ecx - 0xc], ebx
je 0x47f685
cmp dword [0x678fd8], ebx
jne 0x47f468
push 0x24
call fcn.005d2776
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov dword [esp + 0x90], ebx
je 0x47f456
mov edx, dword [edi + 0x44]
push edx
push eax
call fcn.0048ff30
jmp 0x47f458
xor eax, eax
mov dword [esp + 0x90], 0xffffffff
mov dword [0x678fd8], eax
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call dword [sym.imp.USER32.dll_GetCursorPos]
cmp dword [edi + 0x50], ebx
je 0x47f4e7
mov eax, dword [edi + 4]
cmp dword [0x678fdc], eax
jne 0x47f4e7
cmp dword [edi + 0x54], ebx
je 0x47f4e7
mov edi, dword [sym.imp.USER32.dll_KillTimer]
push 0x2710
push eax
call edi
mov esi, dword [0x678fd8]
mov eax, dword [esi + 8]
mov ebx, esi
add esi, 8
test eax, eax
je 0x47f685
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47f685
mov edx, dword [esi]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
push 0x3e9
push eax
jmp 0x47f67c
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push ecx
push edx
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x47f62d
cmp dword [0x678fd8], ebx
je 0x47f685
mov esi, 2
cmp dword [edi + 8], esi
je 0x47f608
call fcn.00490870
test eax, eax
je 0x47f536
mov ecx, dword [0x678fdc]
cmp ecx, dword [edi + 4]
je 0x47f603
mov edx, dword [edi + 4]
push 0x2710
push edx
call dword [sym.imp.USER32.dll_KillTimer]
call fcn.00490870
test eax, eax
je 0x47f55a
mov esi, dword [0x678fd8]
push ebx
call fcn.00490100
mov ecx, dword [edi + 4]
mov eax, dword [esp + 0x28]
add eax, 0xa
mov dword [0x678fdc], ecx
mov ecx, dword [edi + 0x48]
mov dword [esp + 0x30], eax
call fcn.00490650
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x4e
call ebx
push 0x4f
mov esi, eax
call ebx
mov ebx, eax
xor eax, eax
lea edx, [esp + 0x18]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00490800
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
lea edx, [eax + ecx]
cmp edx, esi
jle 0x47f5b8
sub esi, eax
mov ecx, esi
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
lea esi, [edx + eax]
cmp esi, ebx
jle 0x47f5d4
mov eax, dword [esp + 0x20]
sub eax, edx
sub eax, 2
mov dword [esp + 0x30], eax
push eax
push ecx
call fcn.00490790
mov esi, dword [0x678fd8]
push 1
call fcn.00490100
mov eax, dword [edi + 4]
push 0
push 0x1f4
push 0x2710
push eax
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x47f685
cmp dword [edi + 8], esi
jne 0x47f685
mov edi, dword [edi + 4]
cmp dword [0x678fdc], edi
jne 0x47f685
push 0x2710
push edi
call dword [sym.imp.USER32.dll_KillTimer]
mov esi, dword [0x678fd8]
push ebx
call fcn.00490100
jmp 0x47f685
mov edi, dword [edi + 4]
cmp dword [0x678fdc], edi
jne 0x47f685
push 0x2710
push edi
mov edi, dword [sym.imp.USER32.dll_KillTimer]
call edi
mov esi, dword [0x678fd8]
mov eax, dword [esi + 8]
mov dword [0x678fdc], ebx
mov ebx, esi
add esi, 8
test eax, eax
je 0x47f685
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47f685
mov ecx, dword [esi]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi]
push 0x3e9
push edx
call edi
mov dword [ebx + 0x20], 0
xor eax, eax
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.005d28b3
mov esp, ebp
pop ebp
ret 0x10