Function at 0x4a964c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x38]
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, edx
lea edi, [ebp - 0x28]
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 ebx, eax
mov edi, dword [ebp + 8]
cmp dword [ebx + 0xc], 0
jne 0x4a98c4
push 0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x47a230]
call fcn.0045e074
mov esi, eax
mov dword [ebx + 0xc], esi
mov eax, dword [0x4a98d0]
not eax
and eax, dword [esi + 0x50]
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x38]
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x3c]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 0xc]
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x38], 0x4a962c
push edi
lea esi, [ebp - 0x38]
lea edi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
lea eax, [ebp - 0x28]
mov dl, 1
call fcn.00511908
mov esi, dword [ebx + 8]
mov edx, esi
shl esi, 4
add esi, edx
mov edx, dword [ebx + 0x20]
mov edx, dword [edx + 0x78b8]
movsx edx, word [edx + esi*4 + 0x2c]
add eax, edx
mov edx, dword [ebx + 0x20]
mov edx, dword [edx + 0x78b8]
movsx edx, word [edx + esi*4 + 0x30]
add eax, edx
mov edx, dword [ebx + 4]
add edx, edx
sub eax, edx
mov dword [ebp - 8], eax
lea eax, [ebp - 0x28]
mov dl, 1
call fcn.0051191c
mov esi, dword [ebx + 8]
mov edx, esi
shl esi, 4
add esi, edx
mov edx, dword [ebx + 0x20]
mov edx, dword [edx + 0x78b8]
movsx edx, word [edx + esi*4 + 0x2e]
add eax, edx
mov edx, dword [ebx + 0x20]
mov edx, dword [edx + 0x78b8]
movsx edx, word [edx + esi*4 + 0x32]
add eax, edx
mov edx, dword [ebx + 4]
add edx, edx
sub eax, edx
mov dword [ebp - 4], eax
mov byte [0x529dde], 0xff
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004a9510
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0xc]
call fcn.00444fe0
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00445004
push 0xffffffffffffffec
push edi
call sub.user32.dll_GetWindowLongA
test al, 8
jne 0x4a9778
mov eax, dword [ebx + 0x24]
cmp dword [eax + 0x5c], 0
jne 0x4a977d
or esi, 0xffffffff
jmp 0x4a9787
push 3
push edi
call sub.user32.dll_GetWindow
mov esi, eax
push 0
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebx + 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [ebx + 0x20]
mov edx, dword [edx + 0x78b8]
movsx eax, word [edx + eax*4 + 0x2e]
mov edx, dword [ebp - 0x24]
sub edx, eax
add edx, dword [ebx + 4]
mov eax, dword [ebx + 8]
mov ecx, eax
shl eax, 4
add eax, ecx
mov ecx, dword [ebx + 0x20]
mov ecx, dword [ecx + 0x78b8]
movsx eax, word [ecx + eax*4 + 0x2c]
push eax
mov eax, dword [ebp - 0x28]
pop ecx
sub eax, ecx
add eax, dword [ebx + 4]
xor ecx, ecx
call fcn.004065a8
test esi, esi
jne 0x4a97dc
mov esi, edi
mov eax, dword [ebx + 0xc]
call fcn.0044c038
mov eax, dword [ebx + 0xc]
call fcn.0044c360
test al, al
je 0x4a98c4
mov dword [ebp - 0x18], 0x80020
mov dword [ebp - 0x14], 0
push 0xffffffffffffffec
mov eax, dword [ebx + 0xc]
call fcn.0044c05c
push eax
call sub.user32.dll_GetWindowLongA
or eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0xc]
call fcn.0044c05c
push eax
call sub.user32.dll_SetWindowLongA
push 0x611
push 0
push 0
mov eax, dword [ebp - 0x44]
push eax
mov edi, dword [ebp - 0x48]
push edi
push esi
mov eax, dword [ebx + 0xc]
call fcn.0044c05c
push eax
call sub.user32.dll_SetWindowPos
mov edx, edi
mov eax, dword [ebx + 0xc]
call fcn.00444f94
mov edx, dword [ebp - 0x44]
mov eax, dword [ebx + 0xc]
call fcn.00444fb8
lea ecx, [ebp - 0x10]
xor edx, edx
xor eax, eax
call fcn.005118a4
push 0
call sub.user32.dll_GetDC
mov esi, eax
mov al, byte [ebp + 0xc]
mov byte [0x529dde], al
push 2
push 0x529ddc
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx + 0x10]
call fcn.00427250
call fcn.00422dc0
push eax
lea eax, [ebp - 8]
push eax
push 0
push esi
mov eax, dword [ebx + 0xc]
call fcn.0044c05c
push eax
mov eax, dword [0x528284]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebx + 0xc]
call fcn.0044c05c
push eax
call sub.user32.dll_ShowWindow
push esi
push 0
call sub.user32.dll_ReleaseDC
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8