Function at 0x47fe70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x64c050
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push esi
mov esi, ecx
cmp dword [esi + 0x9c], 0
je 0x47feaa
xor eax, eax
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
cmp ebx, dword [esi + 0xe8]
jne 0x47fec6
cmp edi, dword [esi + 0xec]
je 0x48018d
lea eax, [ebp - 0x38]
push eax
push edi
push ebx
call fcn.0047b9f0
test eax, eax
jne 0x47ff2d
or eax, 0xffffffff
mov dword [esi + 0xe8], eax
mov dword [esi + 0xec], eax
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi + 0x214]
jne 0x47fef8
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esi + 0x214]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47ff18
mov edx, dword [esi + 0x214]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop ebx
xor eax, eax
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
push edi
mov ecx, esi
call fcn.00479f40
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x40], edx
mov edx, dword [ebp + 0x14]
neg edx
sbb edx, edx
mov edi, eax
mov eax, dword [ebp - 0x38]
add edx, 4
push 0
mov dword [ebp - 0x48], eax
add edx, eax
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x2c]
push 0xfffffffffffffffc
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x48], edx
call dword [sym.imp.USER32.dll_InflateRect]
cmp dword [esi + 0x1bc], 0
je 0x47ffa5
push edi
push ebx
mov ecx, esi
call fcn.0047ea00
cmp eax, 0xffffffff
je 0x47ffa5
mov eax, dword [esi + 0x1bc]
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x30]
push edx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetIconSize]
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x30]
lea eax, [edx + ecx + 4]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edx
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x48018d
mov edx, dword [0x700724]
mov eax, dword [edx + 0xc]
mov ecx, 0x700724
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
push edi
push ebx
mov ecx, esi
call fcn.0047e740
add eax, 0xfffffffe
cmp eax, 5
ja case.0x47fff1.3
jmp dword [eax*4 + 0x4801d8]
lea ecx, [ebp - 0x58]
push ecx
push edi
push ebx
mov ecx, esi
call fcn.0047f820
test eax, eax
je case.0x47fff1.4
push edi
push ebx
mov ecx, esi
call fcn.0047e640
test eax, 0x400
je 0x480045
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp + 0x10]
push eax
mov ecx, esi
call fcn.00478eb0
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x10]
call fcn.004078d0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
jmp 0x48011c
test eax, 0x800
je 0x480074
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x14]
push edx
mov ecx, esi
call fcn.00478f40
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x10]
call fcn.004078d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
jmp 0x48011c
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
push ecx
mov ecx, esi
call fcn.00478f40
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 4
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.00478eb0
mov byte [ebp - 4], 5
push 0x672aa0
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.00428bb0
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x18]
push edx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00428b00
add esp, 0x18
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x10]
call fcn.004078d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c]
call fcn.004014a0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.004014a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.004014a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
jmp 0x48011c
push edi
push ebx
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call fcn.0047f4f0
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x10]
call fcn.004078d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.004014a0
mov edx, dword [ebp - 0x10]
cmp dword [edx - 0xc], 0
je 0x480175
lea eax, [ebp - 0x48]
push eax
lea ecx, [esi + 4]
call fcn.004779b0
push edi
push ebx
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call fcn.0047e160
mov byte [ebp - 4], 9
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
push eax
push edx
lea eax, [ebp - 0x48]
lea ecx, [esi + 0x210]
push eax
call fcn.004796d0
test eax, eax
sete byte [ebp + 0x13]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.004014a0
cmp byte [ebp + 0x13], 0
je 0x4801a2
push 1
mov ecx, esi
call fcn.0046dc60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004014a0
pop edi
pop ebx
xor eax, eax
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp + 0x14]
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xec], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004014a0
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov eax, 1
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10