Function at 0x4af6b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push esi
mov esi, ecx
xor eax, eax
cmp dword [esi + 0x78], eax
je 0x4af6c7
pop esi
mov esp, ebp
pop ebp
ret 0x10
push ebx
mov ebx, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
cmp edi, dword [esi + 0xc4]
jne 0x4af6e3
cmp ebx, dword [esi + 0xc8]
je 0x4af95d
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x28]
push eax
push ebx
push edi
call fcn.004aa230
test eax, eax
jne 0x4af74c
or eax, 0xffffffff
mov dword [esi + 0xc4], eax
mov dword [esi + 0xc8], eax
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi + 0x1ec]
jne 0x4af721
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esi + 0x1ec]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4af741
mov edx, dword [esi + 0x1ec]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
push ebx
mov ecx, esi
call fcn.004a52f0
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x30], edx
mov edx, dword [ebp + 0x14]
neg edx
sbb edx, edx
mov ebx, eax
mov eax, dword [ebp - 0x28]
add edx, 4
push 0
mov dword [ebp - 0x38], eax
add edx, eax
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x1c]
push 0xfffffffffffffffc
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x38], edx
call dword [sym.imp.USER32.dll_InflateRect]
cmp dword [esi + 0x194], 0
je 0x4af7cc
push ebx
push edi
mov ecx, esi
call fcn.004acd40
cmp eax, 0xffffffff
je 0x4af7cc
xor eax, eax
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x194]
push edx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetIconSize]
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x20]
lea eax, [edx + ecx + 4]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edx
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4af95d
mov edx, dword [0x5427f0]
mov eax, dword [edx + 0xc]
mov ecx, 0x5427f0
call eax
push ebx
add eax, 0x10
push edi
mov ecx, esi
mov dword [ebp + 0x10], eax
call fcn.004acba0
add eax, 0xfffffffe
cmp eax, 5
ja case.0x4af811.3
jmp dword [eax*4 + 0x4af990]
lea ecx, [ebp - 0x48]
push ecx
push ebx
push edi
mov ecx, esi
call fcn.004ad530
test eax, eax
je case.0x4af811.4
push ebx
push edi
mov ecx, esi
call fcn.004acc70
test eax, 0x400
je 0x4af85d
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 4]
push eax
mov ecx, esi
call fcn.004a8f30
push eax
lea ecx, [ebp + 0x10]
call fcn.0046d500
lea ecx, [ebp - 4]
jmp 0x4af8fe
test eax, 0x800
je 0x4af881
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 8]
push edx
mov ecx, esi
call fcn.004a8fa0
push eax
lea ecx, [ebp + 0x10]
call fcn.0046d500
lea ecx, [ebp - 8]
jmp 0x4af8fe
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov ecx, esi
call fcn.004a8fa0
push eax
push 0x5133c0
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.004a8f30
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.0046d520
add esp, 0xc
push eax
lea edx, [ebp - 0xc]
push edx
call fcn.004a1530
add esp, 0xc
push eax
lea ecx, [ebp + 0x10]
call fcn.0046d500
lea ecx, [ebp - 0xc]
call fcn.00492ef0
lea ecx, [ebp - 0x10]
call fcn.00492ef0
lea ecx, [ebp - 0x14]
call fcn.00492ef0
lea ecx, [ebp - 0x18]
jmp 0x4af8fe
push ebx
push edi
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.004ad140
push eax
lea ecx, [ebp + 0x10]
call fcn.004684f0
lea ecx, [ebp - 0x1c]
call fcn.00492ef0
mov ecx, dword [ebp + 0x10]
cmp dword [ecx - 0xc], 0
je 0x4af94c
lea edx, [ebp - 0x38]
push edx
lea ecx, [esi + 4]
call fcn.00468c60
push ebx
push edi
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.004ac7b0
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
push eax
push ecx
lea edx, [ebp - 0x38]
push edx
lea ecx, [esi + 0x1e8]
call fcn.004a8480
test eax, eax
lea ecx, [ebp - 0x1c]
sete bl
call fcn.00492ef0
test bl, bl
je 0x4af968
push 1
mov ecx, esi
call fcn.004a71d0
lea ecx, [ebp + 0x10]
call fcn.00492ef0
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0x14]
lea ecx, [ebp + 0x10]
mov dword [esi + 0xc4], edi
mov dword [esi + 0xc8], eax
call fcn.00492ef0
pop edi
pop ebx
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0x10