Function at 0x501aa0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x67e4d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x2f8], ecx
mov edx, dword [ebp - 0x60]
mov dword [edx + 0x2fc], 0
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x2f8]
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x2f8]
add eax, 0x590
mov edx, dword [ecx + 0x590]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x60]
mov dword [ecx + 0x300], eax
lea edx, [ebp - 0x78]
push edx
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x2f8]
call fcn.00500f80
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x34]
call eax
mov ecx, dword [eax]
mov dword [ebp - 0x24], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x20], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x1c], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x74]
mov dword [ebp - 8], edx
cmp dword [ebp - 0x78], 0
jle 0x501b68
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x78]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x14]
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x68], 0
jmp 0x501b99
mov eax, dword [ebp - 0x68]
add eax, 1
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp + 8]
add ecx, 0x558
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x558]
mov edx, dword [eax + 0xc]
call edx
cmp dword [ebp - 0x68], eax
jge 0x501c21
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x558
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x558]
mov edx, dword [eax]
call edx
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x110]
call eax
movzx ecx, al
test ecx, ecx
jne 0x501beb
jmp 0x501b90
mov edx, dword [ebp - 0x84]
push edx
mov eax, dword [ebp - 0x88]
push eax
lea ecx, [ebp - 0x90]
push ecx
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x6c]
mov edx, dword [eax + 0x164]
call edx
mov eax, dword [ebp - 0x64]
add eax, dword [ebp - 0x8c]
mov dword [ebp - 0x64], eax
jmp 0x501b90
mov ecx, dword [ebp - 0x64]
add ecx, 4
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
cmp edx, dword [ebp - 0x74]
jge 0x501c3a
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x7c], eax
jmp 0x501c40
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x7c]
mov dword [ebp - 8], edx
push 2
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
call eax
mov ecx, eax
call fcn.0045ca60
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
xor ecx, ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x4c], 0x28
lea edx, [ebp - 0x4c]
push edx
push 1
mov ecx, dword [ebp - 0x60]
call fcn.00465b70
push eax
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00467040
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x50]
jle 0x501d26
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x78], 0
jle 0x501cde
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x78]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x64]
cmp edx, dword [ebp - 0x74]
jge 0x501cee
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x80], eax
jmp 0x501cf4
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x80]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
push 2
lea ecx, [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x20]
call edx
mov ecx, eax
call fcn.0045ca60
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 0
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0xc]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 8]
mov dword [eax + 0xc], edx
push 0x80
push SysReAllocString
push 0
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
call eax
mov ecx, eax
call fcn.0045ca60
push eax
mov ecx, dword [ebp - 0x60]
call fcn.00465ef0
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x501d93
mov ecx, dword [ebp - 0x70]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x70], eax
jmp 0x501d76
push 5
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
mov ecx, dword [ebp - 0x70]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00536569
mov esp, ebp
pop ebp
ret 4