Function at 0x43f040
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x489a3b
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4b1784]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x4b1784]
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 0x43f0f6
mov ecx, dword [edi + 0x10]
cmp dword [ecx - 0xc], ebx
je 0x43f229
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 0x43f18c
mov eax, dword [edi + 8]
cmp eax, 3
ja case.0x43f124.0
jmp dword [eax*4 + 0x43f4bc]
mov eax, dword [edi + 0x30]
jmp 0x43f13d
mov eax, dword [edi + 0x34]
jmp 0x43f13d
mov eax, dword [edi + 0x38]
jmp 0x43f13d
mov eax, dword [edi + 0x2c]
test eax, eax
mov dword [edi + 0xc], eax
je 0x43f185
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 0x43f20d
push 1
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
xor ebx, ebx
cmp dword [edi + 0x4c], ebx
je 0x43f1b7
mov eax, dword [edi + 8]
cmp eax, 2
je 0x43f1b2
cmp eax, 1
jne 0x43f1b7
mov eax, dword [edi + 0x1c]
jmp 0x43f1ba
mov eax, dword [edi + 0x18]
test eax, eax
je 0x43f1c8
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, eax
mov eax, dword [edi + 0x24]
test eax, eax
je 0x43f1d3
sub dword [esp + 0x28], eax
mov eax, dword [edi + 0x28]
test eax, eax
je 0x43f1de
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 0x43f20d
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 0x43f22d
mov esi, dword [esp + 0x14]
mov ecx, dword [edi + 0x48]
cmp dword [ecx - 0xc], ebx
je 0x43f495
cmp dword [0x4bcb00], ebx
jne 0x43f278
push 0x24
call fcn.0046aefd
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov dword [esp + 0x90], ebx
je 0x43f266
mov edx, dword [edi + 0x44]
push edx
push eax
call fcn.004411a0
jmp 0x43f268
xor eax, eax
mov dword [esp + 0x90], 0xffffffff
mov dword [0x4bcb00], 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 0x43f2f7
mov eax, dword [edi + 4]
cmp dword [0x4bcb04], eax
jne 0x43f2f7
cmp dword [edi + 0x54], ebx
je 0x43f2f7
mov edi, dword [sym.imp.USER32.dll_KillTimer]
push 0x2710
push eax
call edi
mov esi, dword [0x4bcb00]
mov eax, dword [esi + 8]
mov ebx, esi
add esi, 8
test eax, eax
je 0x43f495
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43f495
mov edx, dword [esi]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
push 0x3e9
push eax
jmp 0x43f48c
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 0x43f43d
cmp dword [0x4bcb00], ebx
je 0x43f495
mov esi, 2
cmp dword [edi + 8], esi
je 0x43f418
call fcn.00441ac0
test eax, eax
je 0x43f346
mov ecx, dword [0x4bcb04]
cmp ecx, dword [edi + 4]
je 0x43f413
mov edx, dword [edi + 4]
push 0x2710
push edx
call dword [sym.imp.USER32.dll_KillTimer]
call fcn.00441ac0
test eax, eax
je 0x43f36a
mov esi, dword [0x4bcb00]
push ebx
call fcn.004413a0
mov ecx, dword [edi + 4]
mov eax, dword [esp + 0x28]
add eax, 0xa
mov dword [0x4bcb04], ecx
mov ecx, dword [edi + 0x48]
mov dword [esp + 0x30], eax
call fcn.004418a0
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.00441a50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
lea edx, [eax + ecx]
cmp edx, esi
jle 0x43f3c8
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 0x43f3e4
mov eax, dword [esp + 0x20]
sub eax, edx
sub eax, 2
mov dword [esp + 0x30], eax
push eax
push ecx
call fcn.004419e0
mov esi, dword [0x4bcb00]
push 1
call fcn.004413a0
mov eax, dword [edi + 4]
push 0
push 0x1f4
push 0x2710
push eax
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x43f495
cmp dword [edi + 8], esi
jne 0x43f495
mov edi, dword [edi + 4]
cmp dword [0x4bcb04], edi
jne 0x43f495
push 0x2710
push edi
call dword [sym.imp.USER32.dll_KillTimer]
mov esi, dword [0x4bcb00]
push ebx
call fcn.004413a0
jmp 0x43f495
mov edi, dword [edi + 4]
cmp dword [0x4bcb04], edi
jne 0x43f495
push 0x2710
push edi
mov edi, dword [sym.imp.USER32.dll_KillTimer]
call edi
mov esi, dword [0x4bcb00]
mov eax, dword [esi + 8]
mov dword [0x4bcb04], ebx
mov ebx, esi
add esi, 8
test eax, eax
je 0x43f495
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43f495
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.00469efd
mov esp, ebp
pop ebp
ret 0x10