Function at 0x4dd450
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53aa36
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x583384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
test byte [ebp + 8], 1
mov ebx, dword [sym.imp.USER32.dll_ReleaseCapture]
jne 0x4dd495
cmp dword [edi + 0x34], 0
je 0x4dd48e
call ebx
mov dword [edi + 0x34], 0
cmp dword [edi + 0x38], 0
jne 0x4dd4c0
mov eax, dword [edi + 4]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [edi + 0x38], 1
mov dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x28], 2
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
cmp dword [edi + 0x34], 0
je 0x4dd5f9
cmp dword [edi + 0x3c], 0
je 0x4dd4ed
push 0
mov ecx, edi
call fcn.004e3bd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ebx, dword [edi + 0x64]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
test ebx, ebx
je 0x4dd543
cmp dword [edi + 0xd0], 0xffffffff
je 0x4dd543
mov esi, dword [edi + 0x7c]
lea eax, [esi - 4]
cmp edx, eax
jl 0x4dd528
lea eax, [esi + 4]
cmp edx, eax
jg 0x4dd528
mov esi, dword [edi + 0x80]
lea eax, [esi - 4]
cmp ecx, eax
jl 0x4dd528
lea eax, [esi + 4]
cmp ecx, eax
jle 0x4dd543
mov ecx, edi
call fcn.004582a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [edi + 0x7c]
lea eax, [esi - 3]
cmp edx, eax
jl 0x4dd568
lea eax, [esi + 3]
cmp edx, eax
jg 0x4dd568
mov esi, dword [edi + 0x80]
lea eax, [esi - 3]
cmp ecx, eax
jl 0x4dd568
lea eax, [esi + 3]
cmp ecx, eax
jle 0x4dd5d2
cmp dword [edi + 0x40], 0
jne 0x4dd5ba
test ebx, ebx
je 0x4dd5ba
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0xffffffff
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 0xffffffff
push eax
push ecx
push edx
mov ecx, edi
call fcn.004d7aa0
test eax, eax
je 0x4dd5b2
mov esi, dword [ebp - 0x14]
mov ecx, edi
push esi
call fcn.0050f820
test eax, eax
jne 0x4dd5b2
push dword [ebp + 8]
mov ecx, edi
push dword [ebp - 0x18]
push esi
call fcn.004e3db0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
jmp 0x4dd5d2
cmp dword [edi + 0x44], 0
jne 0x4dd5cd
cmp dword [edi + 0x6c], 0
jne 0x4dd5cd
mov eax, 1
jmp 0x4dd5cf
xor eax, eax
mov dword [edi + 0x4c], eax
cmp dword [edi + 0x4c], 0
je 0x4dda11
push ecx
push edx
mov ecx, edi
call fcn.004d7920
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebp - 0x18]
mov dword [ebp + 8], 0xffffffff
push eax
lea eax, [ebp + 8]
mov dword [ebp - 0x18], 0
push eax
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp + 0xc]
call fcn.00494df0
cmp dword [edi + 0x28], 0
mov esi, dword [ebp + 8]
mov dword [ebp - 0x14], eax
je 0x4dd64d
cmp dword [edi + 0x184], 0
je 0x4dd64d
test eax, eax
je 0x4dd6ac
cmp dword [edi + 0xd4], esi
je 0x4dd651
mov ecx, edi
mov dword [edi + 0xd4], esi
call fcn.004d8580
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4dd6c6
mov dword [edi + 0xb8], 0xffffffff
mov dword [edi + 0xbc], 0xffffffff
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [edi + 0x1e8]
jne 0x4dd675
call ebx
push dword [edi + 0x1e8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4dd693
push 0
push dword [edi + 0x1e8]
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00406110
mov ecx, eax
test ecx, ecx
jne 0x4dd7dd
push 0x80004005
call fcn.004063a0
cmp dword [edi + 0xd4], 0xffffffff
je 0x4dd6c6
mov ecx, edi
mov dword [edi + 0xd4], 0xffffffff
call fcn.004d8580
lea eax, [ebp + 8]
mov dword [ebp - 0x18], 0xffffffff
push eax
lea eax, [ebp - 0x18]
mov dword [ebp + 8], 0xffffffff
push eax
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp + 0xc]
call fcn.004d7aa0
test eax, eax
jne 0x4dd843
cmp dword [edi + 0xb0], 0xffffffff
je 0x4dd747
mov eax, dword [edi + 0xb4]
cmp eax, 0xffffffff
je 0x4dd747
push eax
mov ecx, edi
call fcn.004aa470
mov esi, eax
mov ecx, edi
push esi
push dword [edi + 0xb0]
call fcn.0045f4d0
cmp eax, 6
jne 0x4dd747
push esi
push dword [edi + 0xb0]
mov ecx, edi
call fcn.004c3870
test al, 8
jne 0x4dd747
push dword [edi + 0xb4]
mov ecx, edi
push dword [edi + 0xb0]
call fcn.004d8600
push 0
push 0
push 0x401
push dword [edi + 0x1a8]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x3e8
push dword [edi + 4]
lea ecx, [edi + 0x1a8]
call fcn.00416560
mov dword [edi + 0xb0], 0xffffffff
mov dword [edi + 0xb4], 0xffffffff
mov dword [edi + 0xb8], 0xffffffff
mov dword [edi + 0xbc], 0xffffffff
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [edi + 0x1e8]
jne 0x4dd7a7
call ebx
push dword [edi + 0x1e8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4dda11
push 0
push dword [edi + 0x1e8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 0
push eax
push esi
mov ecx, edi
call fcn.004c2a90
test eax, eax
je 0x4dd82c
cmp dword [ebp - 0x4c], 0
jne 0x4dd82c
test byte [ebp - 0x18], 1
je 0x4dd82c
push dword [edi + 0x18c]
call dword [sym.imp.USER32.dll_SetCursor]
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 1
call fcn.0041ee70
mov edx, dword [ebp - 0x54]
jmp 0x4dd9f6
mov ebx, dword [ebp - 0x18]
cmp ebx, dword [edi + 0xb0]
jne 0x4dd859
mov eax, dword [ebp + 8]
cmp eax, dword [edi + 0xb4]
je 0x4dd8bb
push dword [edi + 0xb4]
mov ecx, edi
call fcn.004aa470
mov esi, eax
test esi, esi
js 0x4dd8ac
cmp esi, dword [edi + 0x35c]
jge 0x4dd8ac
push esi
mov ecx, edi
call fcn.0050f3a0
cmp eax, 6
jne 0x4dd8ac
cmp esi, dword [edi + 0x35c]
jge 0x4dd893
push esi
mov ecx, edi
call fcn.0047d520
jmp 0x4dd895
xor eax, eax
test al, 8
jne 0x4dd8ac
push dword [edi + 0xb4]
mov ecx, edi
push dword [edi + 0xb0]
call fcn.004d8600
mov eax, dword [ebp + 8]
mov dword [edi + 0xb0], ebx
mov dword [edi + 0xb4], eax
push dword [edi + 0xb4]
mov ecx, edi
call fcn.004aa470
mov esi, eax
test esi, esi
js 0x4dd8e2
cmp esi, dword [edi + 0x35c]
jge 0x4dd8e2
push esi
mov ecx, edi
call fcn.0050f3a0
mov ebx, eax
jmp 0x4dd8e4
xor ebx, ebx
test esi, esi
js 0x4dd8fa
cmp esi, dword [edi + 0x35c]
jge 0x4dd8fa
push esi
mov ecx, edi
call fcn.0047d520
jmp 0x4dd8fc
xor eax, eax
cmp ebx, 6
jne 0x4dd924
test al, 8
jne 0x4dd924
push dword [edi + 0xb4]
mov ecx, edi
push dword [edi + 0xb0]
call fcn.004d8600
push dword [edi + 0x190]
call dword [sym.imp.USER32.dll_SetCursor]
push esi
push dword [edi + 0xb0]
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.00494dc0
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
mov dword [ebp - 4], 2
movups xmmword [ebp - 0x2c], xmm0
cmp dword [eax - 0xc], 0
je 0x4dd9b2
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
push 0xffffffffffffffff
push dword [edi + 0xb0]
call fcn.004d7470
test eax, eax
je 0x4dd9b2
push 0
push 1
push 0x401
push dword [edi + 0x1a8]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x7fff
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00419860
push 0x3e8
mov edx, dword [eax]
lea eax, [ebp - 0x2c]
push eax
push ecx
mov eax, esp
lea ecx, [edi + 0x1a8]
mov dword [eax], edx
push dword [edi + 4]
call fcn.00414d00
lea ecx, [ebp - 0x1c]
call fcn.00406240
jmp 0x4dd9da
push 0
push 0
push 0x401
push dword [edi + 0x1a8]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x3e8
push dword [edi + 4]
lea ecx, [edi + 0x1a8]
call fcn.00416560
push dword [edi + 0xb4]
mov ecx, edi
push dword [edi + 0xb0]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004e4cf0
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
add edx, 0xfffffff0
mov dword [ebp - 4], eax
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4dda11
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc