Function at 0x515ddf
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
and dword [esi + 0x258], 0
lea ecx, [ebx + 0x4d0]
mov dword [esi + 0x254], ebx
mov eax, dword [ecx]
push edi
mov dword [ebp - 4], esi
call dword [eax + 4]
mov ecx, dword [esi + 0x254]
mov dword [esi + 0x25c], eax
lea eax, [ebp - 0x10]
push eax
call fcn.0051543e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
mov esi, eax
lea edi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x34]
lea esi, [ebp - 0x40]
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x30]
add eax, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x24], eax
test ecx, ecx
jle 0x515e56
add ecx, esi
mov dword [ebp - 0x28], ecx
jmp 0x515e59
mov ecx, dword [ebp - 0x28]
sub ecx, esi
sub eax, edx
lea edi, [ebx + 0x4a0]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
mov eax, dword [edi]
xor esi, esi
and dword [ebp + 8], esi
mov ecx, edi
call dword [eax + 0xc]
test eax, eax
jle 0x515eba
push dword [ebp + 8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov edx, dword [eax]
mov ecx, eax
mov dword [ebp - 8], eax
call dword [edx + 0xc8]
test al, al
je 0x515eab
push dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
push dword [ebp - 0x18]
mov eax, dword [ecx]
lea edx, [ebp - 0x20]
push edx
call dword [eax + 0x114]
add esi, dword [ebp - 0x1c]
mov eax, dword [edi]
inc dword [ebp + 8]
mov ecx, edi
call dword [eax + 0xc]
cmp dword [ebp + 8], eax
jl 0x515e79
add esi, 4
cmp esi, dword [ebp - 0xc]
mov dword [ebp + 8], esi
jl 0x515ec8
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x2c]
add esi, eax
push 2
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebx]
push 0
mov ecx, ebx
mov dword [ebp - 0x24], esi
call dword [eax + 0x1c]
mov ecx, eax
call fcn.004f8b0a
mov esi, dword [sym.imp.USER32.dll_MapWindowPoints]
push eax
call esi
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0x78]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x78]
push eax
push 1
mov dword [ebp - 0x78], 0x28
call fcn.004f6d14
push eax
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x50]
call fcn.004f888f
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x44]
jle 0x515f79
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x30], eax
test ecx, ecx
jle 0x515f48
add eax, ecx
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebp - 0xc]
jl 0x515f53
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x3c]
mov edx, eax
mov dword [ebp - 0x24], eax
push 2
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebx]
sub edx, ecx
push 0
mov ecx, ebx
mov dword [ebp - 0x2c], edx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.004f8b0a
push eax
call esi
mov eax, dword [ebx]
push 0
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x80
movsd dword es:[edi], dword [esi]
push SysReAllocString
push 0
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.004f8b0a
mov edi, dword [ebp - 4]
push eax
mov ecx, edi
call fcn.004f72d7
mov ebx, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_GetParent]
jmp 0x515fbc
push ebx
call esi
mov ebx, eax
push ebx
call esi
test eax, eax
jne 0x515fb7
push 5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
leave
ret 4