Function at 0x498420
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x6e606c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x70], ecx
mov eax, dword [ebp - 0x70]
mov byte [eax + 0x774], 0
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x768], edx
mov eax, dword [ebp - 0x70]
mov dword [eax + 0x76c], 0
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx + 0x768]
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 0x768]
add ecx, 0x6b0
mov edx, dword [edx + 0x6b0]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0x70]
mov dword [ecx + 0x770], eax
lea edx, [ebp - 0x88]
push edx
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 0x768]
call fcn.00497940
lea ecx, [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x70]
mov ecx, dword [edx + 0x768]
call fcn.00497900
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x58]
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 - 0x84]
mov dword [ebp - 8], edx
cmp dword [ebp - 0x88], 0
jle 0x49850f
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x88]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x14]
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 0x94], edx
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], 0
jmp 0x49853f
mov ecx, dword [ebp - 0x78]
add ecx, 1
mov dword [ebp - 0x78], ecx
mov ecx, dword [ebp + 8]
add ecx, 0x568
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x568]
mov edx, dword [eax + 0xc]
call edx
cmp dword [ebp - 0x78], eax
jge 0x4985c7
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x568
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x568]
mov edx, dword [eax]
call edx
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x7c]
mov eax, dword [edx + 0x108]
call eax
movzx ecx, al
test ecx, ecx
jne 0x498591
jmp 0x498536
mov edx, dword [ebp - 0x94]
push edx
mov eax, dword [ebp - 0x98]
push eax
lea ecx, [ebp - 0xa0]
push ecx
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x7c]
mov edx, dword [eax + 0x158]
call edx
mov eax, dword [ebp - 0x74]
add eax, dword [ebp - 0x9c]
mov dword [ebp - 0x74], eax
jmp 0x498536
mov ecx, dword [ebp - 0x74]
add ecx, 4
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x74]
cmp edx, dword [ebp - 0x84]
jge 0x4985e6
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x8c], eax
jmp 0x4985f2
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x8c]
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 + 0x1c]
call eax
mov ecx, eax
call fcn.0042c9f0
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 - 0x70]
call fcn.004019f0
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 - 0x6c]
call fcn.0043f040
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x60]
jle 0x4986f0
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x88], 0
jle 0x498699
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x88]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x74]
cmp edx, dword [ebp - 0x84]
jge 0x4986af
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x90], eax
jmp 0x4986bb
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x90]
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 + 0x1c]
call edx
mov ecx, eax
call fcn.0042c9f0
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 + 0x1c]
call eax
mov ecx, eax
call fcn.0042c9f0
push eax
mov ecx, dword [ebp - 0x70]
call fcn.00435f20
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x49875d
mov ecx, dword [ebp - 0x80]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x80], eax
jmp 0x498740
push 5
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
mov ecx, dword [ebp - 0x80]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004278da
mov esp, ebp
pop ebp
ret 4