Function at 0x4582a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x539b21
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x583384]
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 - 0x54], ebx
mov dword [ebx + 0xb8], 0xffffffff
mov dword [ebx + 0xbc], 0xffffffff
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [ebx + 0x1e8]
jne 0x4582f8
call dword [sym.imp.USER32.dll_ReleaseCapture]
push dword [ebx + 0x1e8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x458316
push 0
push dword [ebx + 0x1e8]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x40]
xorps xmm0, xmm0
push eax
push dword [ebx + 0xd0]
mov ecx, ebx
movups xmmword [ebp - 0x40], xmm0
call fcn.00431550
test eax, eax
je 0x4586c3
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x40]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x3c]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], 0
call fcn.00406110
mov ecx, eax
test ecx, ecx
jne 0x45836b
push 0x80004005
call fcn.004063a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 0
push eax
push dword [ebx + 0xd0]
mov ecx, ebx
call fcn.004c2a90
test eax, eax
je 0x45868f
mov eax, dword [ebx + 0xd0]
mov dword [ebx + 0xcc], eax
mov eax, dword [ebx + 4]
push eax
mov dword [ebp - 0x60], eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push edi
mov dword [ebp - 0x58], edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
push esi
mov dword [ebp - 0x44], esi
call dword [sym.imp.GDI32.dll_SaveDC]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x20]
push edx
push ecx
push edi
mov dword [ebp - 0x5c], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebx + 0x28], 0
je 0x458426
mov eax, dword [ebx + 0x184]
test eax, eax
je 0x458426
push 0
lea ecx, [ebp - 0x20]
push ecx
push 3
push 1
push esi
push eax
call dword [sym.imp.UxTheme.dll_DrawThemeBackground]
jmp 0x45847a
push dword [ebx + 0x124]
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0
push 0
push 0x54727d
lea eax, [ebp - 0x20]
push eax
push 2
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push esi
call dword [sym.imp.GDI32.dll_ExtTextOutA]
push dword [ebx + 0x12c]
mov eax, dword [ebp - 0x14]
push dword [ebx + 0x128]
mov edx, dword [ebp - 0x1c]
sub eax, edx
mov ecx, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x18]
sub eax, ecx
push eax
push edx
push ecx
lea ecx, [ebp - 0x44]
call fcn.00416bd0
mov esi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0xd0]
neg eax
push 1
sbb eax, eax
add eax, 4
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push 0
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
add dword [ebp - 0x30], 4
sub dword [ebp - 0x28], 5
cmp dword [ebp - 0x74], 0xffffffff
je 0x458592
lea eax, [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x48], 0
push eax
push dword [ebx + 0x19c]
call dword [sym.imp.COMCTL32.dll_ImageList_GetIconSize]
mov eax, dword [ebp - 0x88]
cmp dword [eax - 0xc], 0
jne 0x458520
cmp dword [ebx + 0x28], 0
je 0x458503
cmp dword [ebx + 0x184], 0
je 0x458503
mov edi, 1
jmp 0x458505
xor edi, edi
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x30]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x4c]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub ecx, eax
sub ecx, edi
jmp 0x458523
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x14]
add eax, ecx
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
push 1
cmovl ecx, eax
mov eax, dword [ebp - 0x1c]
add eax, ebx
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x48]
cdq
sub eax, edx
mov edi, eax
mov eax, ecx
cdq
sub eax, edx
sar edi, 1
sar eax, 1
sub edi, eax
push 0xff000000
push 0xff000000
lea eax, [edi + ecx]
mov ecx, dword [ebp - 0x44]
cmp eax, ebx
cmovl ebx, eax
mov eax, dword [ebp - 0x50]
sub ebx, edi
sub eax, ecx
push ebx
mov ebx, dword [ebp - 0x54]
push eax
push edi
push ecx
push esi
push dword [ebp - 0x74]
push dword [ebx + 0x19c]
call dword [sym.imp.COMCTL32.dll_ImageList_DrawEx]
mov eax, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x58]
add eax, 4
add dword [ebp - 0x30], eax
push dword [ebx + 0x194]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0x130]
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 1
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ecx, dword [ebp - 0x78]
mov eax, 0x8824
test cl, 4
je 0x4585c9
mov eax, 0x8825
jmp 0x4585d4
test cl, 2
mov ecx, 0x8826
cmovne eax, ecx
mov ecx, dword [ebp - 0x88]
mov edx, dword [ecx - 0xc]
test edx, edx
je 0x4585ef
push eax
lea eax, [ebp - 0x30]
push eax
push edx
push ecx
push esi
call dword [sym.imp.USER32.dll_DrawTextA]
push dword [ebp - 0x5c]
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
push dword [ebx + 0x1b0]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x458617
push 0
push dword [ebx + 0x1b0]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebx + 0x34], 0
je 0x458656
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x84], 0
mov dword [ebx + 0x88], 0
cmp dword [ebx + 0xd0], 0xffffffff
je 0x458670
mov ecx, ebx
mov dword [ebx + 0xd0], 0xffffffff
call fcn.004d8580
mov dword [ebx + 0xcc], 0xffffffff
test esi, esi
je 0x458685
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
push edi
push dword [ebp - 0x60]
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], 1
call fcn.0041ee70
mov edx, dword [ebp - 0x88]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4586c3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.00513512
mov esp, ebp
pop ebp
ret