Function at 0x41cdd0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4571e0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x47106c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x96], 0
je 0x41d018
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [edi + 0x24]
test eax, eax
je 0x41ce60
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [edi + 0x24]
push 0xffffffffffffffe6
push esi
call dword [sym.imp.USER32.dll_GetClassLongW]
and eax, 0xfffdffff
push eax
push 0xffffffffffffffe6
push esi
call dword [sym.imp.USER32.dll_SetClassLongW]
push dword [edi + 4]
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_SetParent]
mov eax, dword [edi + 0x24]
test eax, eax
je 0x41ce60
push 0
push 0
push 0x188
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x41ce62
xor eax, eax
push eax
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.0041d250
mov dword [ebp - 4], 0
lea ecx, [edi + 0x9c]
mov edx, dword [eax]
or ebx, 0xffffffff
mov esi, dword [ecx]
sub esi, 0x10
lea eax, [edx - 0x10]
mov dword [ebp - 0x24], eax
cmp eax, esi
je 0x41ced6
cmp dword [esi + 0xc], 0
jl 0x41cecd
mov eax, dword [edx - 0x10]
cmp eax, dword [esi]
jne 0x41cecd
mov ecx, dword [ebp - 0x24]
call fcn.00404860
mov dword [ebp - 0x24], eax
lea edx, [esi + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41cec0
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x24]
add eax, 0x10
lea esi, [edi + 0x9c]
mov dword [esi], eax
jmp 0x41cedc
push dword [edx - 0xc]
push edx
call fcn.00401e30
lea esi, [edi + 0x9c]
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41cefd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp dword [edi + 0x4c], 0
je 0x41d08f
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
lea ebx, [eax - 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [ebx + 0xc], 0
mov ecx, eax
lea eax, [ebx + 0xc]
jl 0x41cf38
cmp ecx, dword [ebx]
jne 0x41cf38
lock inc dword [eax]
jmp 0x41cf64
mov eax, dword [ecx]
lea esi, [ebx + 4]
push 2
push dword [esi]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x41d0af
mov eax, dword [esi]
lea ecx, [ebx + 0x10]
mov dword [ebx + 4], eax
mov edx, dword [esi]
inc edx
push edx
push dword [ebp - 0x2c]
call fcn.00402670
add esp, 8
mov al, byte [edi + 0xa0]
add ebx, 0x10
mov esi, dword [edi + 0x4c]
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x25], al
mov dword [ebp - 4], 1
call fcn.004013c0
mov eax, dword [esi + 0x6e0]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2e0]
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x41cff3
cmp byte [ebp - 0x25], 0
je 0x41cfd0
push dword [ebx - 0xc]
push ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov esi, eax
test esi, esi
je 0x41d0b4
mov eax, dword [ebp - 0x24]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x41cfea
mov esi, dword [esi]
push ebx
call fcn.0043e6cd
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push dword [ebp - 0x24]
call dword [esi + 0x3c]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
add ebx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x41d08f
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x41d08f
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x20]
push eax
push dword [edi + 0x24]
movzx ebx, si
shr esi, 0x10
call dword [sym.imp.USER32.dll_GetWindowRect]
test bx, bx
js 0x41d052
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x20]
movsx eax, bx
cmp eax, ecx
jg 0x41d052
test si, si
js 0x41d052
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x1c]
movsx eax, si
cmp eax, ecx
jle 0x41d08f
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [edi + 0x24]
test eax, eax
je 0x41d08f
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [edi + 0x24]
push 0xffffffffffffffe6
push esi
call dword [sym.imp.USER32.dll_GetClassLongW]
and eax, 0xfffdffff
push eax
push 0xffffffffffffffe6
push esi
call dword [sym.imp.USER32.dll_SetClassLongW]
push dword [edi + 4]
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_SetParent]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004360ea
mov esp, ebp
pop ebp
ret 0x10
call fcn.00402790
call fcn.00402790
int3