Function at 0x47b866
Capabilities:
Hide graphical window

Disassembly:
push 0x44
mov eax, 0x53efb6
call fcn.00506b2d
mov edi, ecx
mov dword [ebp - 0x18], edi
call dword [sym.imp.USER32.dll_ReleaseCapture]
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov esi, dword [sym.imp.USER32.dll_GetWindow]
push 4
push dword [edi + 4]
mov dword [ebp - 4], ecx
call esi
mov ebx, eax
xor eax, eax
inc eax
mov dword [ebp - 0x28], ebx
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [ebp - 0x50], 0
lea edi, [ebp - 0x4c]
push 6
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
test ebx, ebx
je 0x47b8e2
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x34]
call fcn.004c0307
push 4
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x47b8c8
xor eax, eax
xor esi, esi
inc eax
mov dword [ebp - 0x10], esi
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x50]
mov edi, esi
push eax
mov ebx, esi
mov dword [ebp - 0x24], edi
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x47bb63
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x50]
cmp eax, dword [esi + 4]
je 0x47b944
jmp 0x47b919
cmp eax, dword [esi + 4]
je 0x47b93e
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x47b914
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
sub esi, eax
sar esi, 2
test esi, esi
je 0x47bafb
mov edi, eax
mov eax, dword [ebp - 0x50]
jmp 0x47b96f
mov eax, dword [ebp - 0x50]
cmp eax, dword [esi + 4]
mov eax, dword [ebp - 0x4c]
jne 0x47bb14
cmp eax, 0x10
jne 0x47bb14
xor eax, eax
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x14], eax
jmp 0x47bb4d
cmp eax, dword [edi]
je 0x47baee
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x47b967
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x50]
cmp eax, dword [edi]
push 1
pop edx
cmove ebx, edx
add edi, 4
sub esi, edx
jne 0x47b96f
test ecx, ecx
jne 0x47b99b
test ebx, ebx
je 0x47bafb
mov eax, dword [ebp - 0x4c]
cmp eax, 0x201
je 0x47b9f3
cmp eax, 0x204
je 0x47b9f3
cmp eax, 0xa1
je 0x47b9f3
cmp eax, 0xa4
je 0x47b9f3
cmp eax, 0x207
je 0x47b9f3
cmp eax, 0xa7
je 0x47b9f3
cmp eax, 0x10
je 0x47b9f3
cmp eax, 0x112
jne 0x47b9fe
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf060
je 0x47b9f3
cmp ecx, 0xf020
je 0x47b9f3
cmp ecx, 0xf120
jne 0x47bad7
mov ecx, dword [ebp - 0x18]
call fcn.0047bbd8
mov eax, dword [ebp - 0x4c]
cmp eax, 0x2a1
je 0x47bae7
cmp eax, 0x2a3
je 0x47bae7
cmp eax, 0x200
je 0x47bae7
cmp eax, 0x20a
je 0x47bae7
cmp eax, 0x207
je 0x47bae7
cmp eax, 0x100
je 0x47bae7
cmp eax, 0x101
je 0x47bae7
cmp eax, 0x201
je 0x47bae7
cmp eax, 0x203
je 0x47bae7
cmp eax, 0x202
je 0x47bae7
cmp eax, 0x204
je 0x47bae7
cmp eax, 0x20
je 0x47bae7
cmp eax, 0xa0
je 0x47bae7
cmp eax, 0xa1
je 0x47bae7
cmp eax, 0xa2
je 0x47bae7
cmp eax, 0xa3
je 0x47bae7
cmp eax, 0xa4
je 0x47bae7
cmp eax, 0xa5
je 0x47bae7
cmp eax, 0xa6
je 0x47bae7
cmp eax, 0xa7
je 0x47bae7
cmp eax, 0xa8
je 0x47bae7
cmp eax, 0xa9
je 0x47bae7
cmp eax, 0x2a2
je 0x47bae7
cmp eax, 0x2a0
je 0x47bae7
cmp eax, 0x10
je 0x47bae7
cmp eax, 0x112
jne 0x47bb39
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf060
je 0x47bae7
cmp ecx, 0xf020
jne 0x47bb4d
xor ecx, ecx
inc ecx
mov edi, ecx
jmp 0x47bb3f
xor eax, eax
lea ecx, [eax + 1]
mov dword [ebp - 0x10], ecx
jmp 0x47b97d
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x47b8e2
cmp eax, 0x112
jne 0x47bb3c
cmp dword [ebp - 0x48], 0xf060
jne 0x47bb4d
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, esi
call fcn.0047bbd8
mov eax, dword [ebp - 0x4c]
jmp 0x47bb3c
mov edi, dword [ebp - 0x24]
xor ecx, ecx
inc ecx
cmp eax, 0x12
jne 0x47bb49
mov dword [ebp - 0x20], ecx
mov edi, ecx
test edi, edi
jne 0x47bb79
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x47bb73
push 0x4ff
push 0xa
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp dword [ebp - 0x1c], 0
jne 0x47bb87
cmp dword [ebp - 0x20], 0
je 0x47b8e2
or dword [ebp - 0x14], 0xffffffff
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_SetFocus]
lea ecx, [ebp - 0x34]
call fcn.004c029d
mov eax, dword [ebp - 0x14]
call fcn.00506af6
ret