Function at 0x4ddd50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ecca0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x6670f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
call fcn.004b4040
mov ecx, eax
test ecx, ecx
je 0x4ddf7d
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
test esi, esi
je 0x4dddd2
test esi, 0xffff0000
jne 0x4dddbc
movzx eax, si
lea ecx, [ebp - 0x24]
push eax
call fcn.004bd6a0
jmp 0x4dddde
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4dddc1
sub ecx, edx
sar ecx, 1
jmp 0x4dddd4
xor ecx, ecx
push ecx
push esi
lea ecx, [ebp - 0x24]
call fcn.004c0470
mov edx, dword [ebp - 0x24]
lea ecx, [edi + 0x18]
mov eax, dword [ecx]
add edx, 0xfffffff0
sub eax, 0x10
mov dword [ebp - 4], 1
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x34], eax
cmp edx, eax
je 0x4ddea4
cmp dword [eax + 0xc], 0
lea esi, [eax + 0xc]
mov dword [ebp - 0x30], esi
mov esi, dword [ebp - 0x24]
jl 0x4dde98
mov edx, dword [edx]
cmp edx, dword [eax]
jne 0x4dde98
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0x10]
call eax
cmp dword [esi - 4], 0
mov edx, eax
lea eax, [esi - 4]
jl 0x4dde3b
cmp edx, dword [esi - 0x10]
jne 0x4dde3b
add esi, 0xfffffff0
lock inc dword [eax]
jmp 0x4dde71
mov eax, dword [edx]
mov ecx, edx
push 2
push dword [esi - 0xc]
mov eax, dword [eax]
call eax
mov ecx, eax
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x4ddf87
mov eax, dword [esi - 0xc]
mov dword [ecx + 4], eax
mov eax, dword [esi - 0xc]
inc eax
push eax
push esi
push eax
lea eax, [ecx + 0x10]
push eax
call fcn.004b35d0
mov esi, dword [ebp - 0x2c]
add esp, 0x10
mov ecx, dword [ebp - 0x30]
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4dde8b
mov edx, dword [ebp - 0x34]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x28]
lea eax, [esi + 0x10]
lea esi, [edi + 0x18]
mov dword [esi], eax
jmp 0x4ddea7
push dword [esi - 0xc]
push esi
call fcn.004c0470
mov edx, dword [ebp - 0x28]
lea esi, [edi + 0x18]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4ddec3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x4ddf06
mov eax, dword [edi + 8]
test eax, eax
je 0x4ddf60
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4ddf60
push 0
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push 2
push dword [edi + 8]
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [edi + 0x20], 0
jmp 0x4ddf60
cmp dword [edi + 0x10], 0
je 0x4ddf60
cmp dword [edi + 0x14], 0
je 0x4ddf60
mov ecx, edi
call fcn.004dca20
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x4ddf60
cmp dword [eax + 8], 0
je 0x4ddf60
cmp dword [eax + 0x3c], 0
jle 0x4ddf60
cmp dword [eax + 0x40], 0
jle 0x4ddf60
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [edi + 8]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [edi + 0x1c]
push 1
push dword [eax + 0x18]
push dword [eax + 0x14]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [edi + 8]
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050ed5c
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.004b3510
call fcn.004b5400
int3